Magnesium for Migraines: Does It Help? What the Evidence Shows
SaveMagnesium supplementation has meaningful evidence as a migraine preventive. The American Academy of Neurology rates it as probably effective for reducing episodic migraine frequency. It works best as a consistent daily supplement taken over weeks — not as an acute remedy — and is generally well tolerated.
Last updated: July 2026History
Talk to a clinician
A primary-care clinician
Gale can help you find one in your state and request a visit.
Find care →What does the evidence say about magnesium and migraines?
Magnesium is one of the few nutritional supplements with genuine evidence behind it for migraine prevention. The AAN and American Headache Society evidence-based guideline classifies magnesium as probably effective for reducing the frequency of episodic migraine in adults — the same category as some established prescription preventives 1Ref 1Silberstein SD, Holland S, Freitag F, Dodick DW, Argoff C, Ashman E (2012).Evidence-based guideline update: Pharmacologic treatment for episodic migraine prevention in adults: Report of the Quality Standards Subcommittee of the American Academy of Neurology and the American Headache Society.Magnesium classified as probably effective for episodic migraine prevention; evidence review of preventive treatments.
Multiple randomized controlled trials have shown that daily magnesium supplementation reduces migraine days compared with placebo, though the effect size varies across studies. The benefit is not dramatic for everyone, but it is real and occurs with few serious side effects at standard doses.
Can magnesium deficiency cause migraines?
There is a consistent association between low magnesium levels and migraine. Studies have found that people with migraine — particularly during an attack — often have lower levels of magnesium in the blood and in brain tissue than people without migraine.
Magnesium plays a role in nerve transmission, serotonin signaling, and the regulation of blood vessels — all pathways relevant to migraine. Replenishing magnesium may correct a deficit that lowers the migraine threshold.
Standard blood magnesium tests are not very sensitive — levels in the blood can appear normal even when cellular magnesium is low. This means a normal serum magnesium result does not rule out a meaningful deficiency at the tissue level.
What form and dose of magnesium is used in migraine trials?
Most clinical trials of magnesium for migraine have used doses in the range of 400 to 600 mg of elemental magnesium per day. Forms studied include:
- Magnesium oxide — inexpensive and widely available; the form used in many trials, though it has lower absorption than other forms
- Magnesium citrate and magnesium glycinate — better absorbed and generally cause fewer digestive side effects; often preferred when magnesium oxide causes loose stools
The AAN guideline specifically mentions magnesium in the context of migraine prevention 1Ref 1Silberstein SD, Holland S, Freitag F, Dodick DW, Argoff C, Ashman E (2012).Evidence-based guideline update: Pharmacologic treatment for episodic migraine prevention in adults: Report of the Quality Standards Subcommittee of the American Academy of Neurology and the American Headache Society.Magnesium classified as probably effective for episodic migraine prevention; evidence review of preventive treatments. Talk to a Gale clinician before starting a supplement, particularly if you have kidney disease (impaired kidneys reduce the ability to clear excess magnesium) or take certain medications.
How long does it take for magnesium to work for migraines?
Magnesium is a preventive measure, not an acute remedy. It takes consistent daily use for 4 to 12 weeks before a meaningful reduction in migraine frequency becomes apparent. This is similar to prescription preventives — results are gradual.
If you try magnesium and see no benefit after 3 months of consistent use at an adequate dose, it is worth discussing whether to continue or explore other options with your clinician.
What are the side effects of magnesium supplementation?
At typical preventive doses, magnesium is generally well tolerated. The most common side effect is loose stools or diarrhea, which is more likely with magnesium oxide than with better-absorbed forms. Starting at a lower dose and gradually increasing, or switching to magnesium glycinate or citrate, often resolves this.
High doses can cause nausea and, at very high intake, more serious effects — but this is uncommon at the doses used for migraine prevention in people with normal kidney function.
How does magnesium fit alongside other migraine preventives?
Magnesium is often used as a first-line option for people who prefer to start with a non-prescription approach, or as an add-on alongside prescription preventives. It does not interact with most migraine medications. It is particularly worth considering for people who may be at higher risk of magnesium deficiency — including those with high stress, heavy alcohol use, or diets low in leafy greens, nuts, and whole grains.
For people with frequent or severe migraines, magnesium alone may not be sufficient. A Gale clinician can review your migraine frequency and help determine whether magnesium is a reasonable starting point, or whether a prescription preventive should be considered alongside or instead 2Ref 2Ailani J, Burch RC, Robbins MS; Board of Directors of the American Headache Society (2021).The American Headache Society Consensus Statement: Update on integrating new migraine treatments into clinical practice.Comprehensive framework for integrating preventive treatments including supplements like magnesium3Ref 3Charles AC, Digre KB, Goadsby PJ, Robbins MS, Hershey A; American Headache Society (2024).Calcitonin gene-related peptide-targeting therapies are a first-line option for the prevention of migraine: An American Headache Society position statement update.Context for migraine prevention options and the role of non-prescription adjuncts alongside newer therapies.
Common questions
Related
Brain & nerves
How Do Triptans Work for Migraines? Safety & UseBrain & nerves
Does Dehydration Cause Migraines? Hydration & HeadacheBrain & nerves
Best Migraine Prevention Medication: What to Know
Say it back
How would you explain this to someone you love?
Two or three sentences, just as you’d say it. Gale reflects back what you focused on — a mirror, not a quiz.
Talk to a clinician
A primary-care clinician
Gale can help you find one in your state and request a visit.
Find care →Important cautions for magnesium supplementation
- —Do not take high-dose magnesium supplements if you have significant kidney disease — impaired kidneys cannot clear excess magnesium
- —Persistent diarrhea from magnesium can cause dehydration — reduce the dose or switch forms
- —If you develop muscle weakness, confusion, or irregular heartbeat while taking magnesium, seek care promptly
This article provides general health education. Supplement decisions should be made in conversation with a clinician who knows your full health history and medications.
Did this answer your question?
References
- 1.Silberstein SD, Holland S, Freitag F, Dodick DW, Argoff C, Ashman E (2012). Evidence-based guideline update: Pharmacologic treatment for episodic migraine prevention in adults: Report of the Quality Standards Subcommittee of the American Academy of Neurology and the American Headache Society. Neurology. doi:10.1212/WNL.0b013e3182535d20 ✓Magnesium classified as probably effective for episodic migraine prevention; evidence review of preventive treatments
- 2.Ailani J, Burch RC, Robbins MS; Board of Directors of the American Headache Society (2021). The American Headache Society Consensus Statement: Update on integrating new migraine treatments into clinical practice. Headache. doi:10.1111/head.14153 ✓Comprehensive framework for integrating preventive treatments including supplements like magnesium
- 3.Charles AC, Digre KB, Goadsby PJ, Robbins MS, Hershey A; American Headache Society (2024). Calcitonin gene-related peptide-targeting therapies are a first-line option for the prevention of migraine: An American Headache Society position statement update. Headache. doi:10.1111/head.14692 ✓Context for migraine prevention options and the role of non-prescription adjuncts alongside newer therapies
3 sources, numbered by first appearance. General health information, not medical advice. AI-assisted editorial content — every citation independently verified. Editorial policy