At the gene level, two genome-wide significant genes [MACF1 and THADA (thyroid adenoma associated)] were associated with migraine and T2D. Here, MACF1 is linked to type 2 diabetes mellitus.