BackgroundPrevious studies have shown that migraines are associated with brain structural changes. However, the causal relationships between these changes and migraine, as well as its subtypes, migraine with aura (MA) and migraine without aura (MO), remain largely unclear.MethodsWe utilized genome-wide association study (GWAS) summary statistics from European cohorts for 2,347 cortical structural magnetic resonance imaging (MRI) phenotypes, derived from both T1-weighted and diffusion tensor imaging scans (n = 36,663), with migraine and its subtypes (n = 147,970–375,752). Cortical phenotypes included both macrostructural (e.g., cortical thickness, surface area) and microstructural (e.g., fractional anisotropy, mean diffusivity) features. Genetic correlations were first assessed to identify significant associations, followed by bidirectional Mendelian randomization (MR) analyses to determine causal relationships between these brain phenotypes and migraine, as well as its subtypes (MA and MO). Sensitivity analyses were applied to ensure the robustness of the results.ResultsGenetic correlation analysis identified 510 significant associations between cortical structural phenotypes and migraine across 401 distinct traits. Forward MR analysis revealed nine significant causal effects of cortical structural changes on migraine risk. Specifically, increased cortical thickness and local gyrification index in specific cortical regions were associated with a decreased risk of overall migraine, MA, and MO, while intracellular volume fraction and orientation diffusion index in specific regions increased the risk of MA and MO. Reverse MR analysis demonstrated that MA causally increased mean diffusivity in the insular and frontal opercular cortex. Sensitivity analyses confirmed the robustness of these findings, with no evidence of horizontal pleiotropy or heterogeneity.ConclusionThis study identifies causal relationships between cortical neuroimaging phenotypes and migraine, highlighting potential biomarkers for migraine diagnosis, treatment, and prevention.