Skip to main content
Supplement ScienceSupplementScience
meta analysis789 participants

Magnesium for Migraine: What the Meta-Analyses Show (Mixed Evidence)

This content is for informational purposes only and does not constitute medical advice. Statements about dietary supplements have not been evaluated by the FDA and are not intended to diagnose, treat, cure, or prevent any disease. Individual results may vary — consult your healthcare provider before starting any supplement. Full disclaimer

The evidence is mixed.

The evidence is mixed. A 2016 meta-analysis (789 participants) found oral magnesium was associated with reduced migraine attack frequency and intensity, and a 2025 dose-response meta-analysis reported fewer attacks — but a 2019 meta-analysis (226 participants) found no statistically significant effect and judged the evidence insufficient. Magnesium is inexpensive and low-risk, which is why some clinicians still consider it for migraine prevention.

Key Findings

  • A 2016 meta-analysis (Chiu et al., 789 participants) found oral magnesium was associated with reduced migraine attack frequency and intensity (odds ratios 0.20 and 0.27).
  • A 2019 meta-analysis (Okoli et al., 226 participants across 3 trials) found NO statistically significant effect of magnesium on migraine outcomes and judged the evidence insufficient.
  • A 2025 dose-response meta-analysis (Talandashti et al.) reported magnesium was associated with fewer migraine attacks (mean difference −2.51).
  • Overall the evidence is mixed and trial quality varies; magnesium's low cost and good safety profile are part of why it is still considered.

Study Details

Vitamins and Minerals for Migraine Prophylaxis: A Systematic Review and Meta-analysis
Okoli GN, Rabbani R, Kashani HH, Wierzbowski AK, Neilson CCanadian Journal of Neurological Sciences (2019)
Across 3 trials (226 participants), magnesium showed no statistically significant reduction in migraine outcomes versus placebo; the authors judged the evidence insufficient to confirm efficacy.
226 participantsModerate

Practical Takeaway

Magnesium has been studied for supporting fewer migraines, and the meta-analytic evidence is genuinely mixed — some analyses found a reduction in attack frequency, while another found no significant effect. Because magnesium is inexpensive and generally well tolerated, some clinicians consider it a reasonable, low-risk option to try for migraine prevention (commonly studied around 400–600 mg/day of elemental magnesium), while recognizing it may not help everyone. Loose stools are the most common side effect, and people with kidney disease should not supplement magnesium without medical guidance. This is supportive information, not a treatment plan — discuss migraine prevention with your clinician.

Summary

Meta-analyses of magnesium for migraine prevention are mixed — some found fewer attacks, another found no significant effect — so magnesium is a low-risk option to weigh individually with a clinician.

Related Supplements

Related Conditions

Product Reviews

Learn More

Frequently Asked Questions

Does magnesium help prevent migraines?

The evidence is mixed. Some meta-analyses found oral magnesium was associated with fewer or less intense migraine attacks, while another found no significant effect and called the evidence insufficient. Magnesium is low-risk, so some clinicians still consider it for prevention — but it may not help everyone.

How much magnesium is studied for migraine?

Trials commonly used around 400–600 mg/day of elemental magnesium for prevention. Because results are mixed and magnesium can cause loose stools, it is worth discussing an appropriate dose and form with your clinician.

Is magnesium safe to take for migraines?

For most people, magnesium is low-risk; loose stools are the most common side effect (more so with citrate or oxide forms). People with kidney disease should not supplement magnesium without medical guidance, since impaired kidneys can let it build up.

Should I see a doctor about my migraines?

Yes — migraine benefits from proper diagnosis and a prevention plan, and magnesium is at most one supportive piece. Seek prompt care for a sudden 'worst-ever' headache or any headache with new neurological symptoms.

Continue Reading

References

  1. Chiu HY, Yeh TH, Huang YC, Chen PY (2016). Effects of Intravenous and Oral Magnesium on Reducing Migraine: A Meta-analysis of Randomized Controlled Trials. Pain Physician. PubMed
  2. Okoli GN, Rabbani R, Kashani HH, Wierzbowski AK, Neilson C (2019). Vitamins and Minerals for Migraine Prophylaxis: A Systematic Review and Meta-analysis. Canadian Journal of Neurological Sciences. DOI PubMed
  3. Talandashti MK, et al. (2025). Effects of selected dietary supplements on migraine prophylaxis: a systematic review and dose-response meta-analysis of randomized controlled trials. Neurological Sciences. DOI PubMed