Best Magnesium for Migraines: What Doctors Recommend

Why Magnesium Is One of the Most Evidence-Based Migraine Supplements
Magnesium deficiency is not just associated with migraines—it is a recognized contributing factor in migraine pathophysiology. The American Headache Society and the American Academy of Neurology have both acknowledged magnesium supplementation as a “probably effective” preventive therapy for migraines, placing it alongside prescription medications in their clinical guidelines.
This is unusual for a supplement. Most natural remedies for headaches have weak or inconclusive evidence. Magnesium is different: its role in migraine is supported by clear biochemical mechanisms, measurable deficiency in migraine patients, and positive results in randomized controlled trials.
But not all magnesium forms are appropriate for migraine prevention. The form you choose affects absorption, tolerability, and whether you’ll stick with it long enough for prevention to work. This guide covers the evidence, the recommended forms, dosing protocols, and what to realistically expect.
For the complete overview of magnesium glycinate benefits beyond migraines: Magnesium Glycinate Benefits: The Complete Science-Backed Guide.
How Magnesium Prevents Migraines: The Neuroscience

Magnesium influences migraine through at least four distinct pathways, which explains why deficiency can trigger attacks and supplementation can prevent them:
Cortical Spreading Depression (CSD)
CSD is the slow wave of neuronal depolarization that underlies migraine aura and is believed to trigger the headache phase in many migraines (including those without visible aura). Magnesium stabilizes neuronal membranes by blocking NMDA receptors and regulating calcium influx. When magnesium is depleted, neurons become hyperexcitable and the threshold for CSD drops—meaning less provocation is needed to trigger an attack.
Neurotransmitter Regulation
Magnesium modulates the release and activity of serotonin, substance P (a pain-signaling neuropeptide), and calcitonin gene-related peptide (CGRP)—the molecule that the newest class of prescription migraine drugs (CGRP inhibitors like erenumab and fremanezumab) specifically target. Magnesium’s CGRP-modulating effect works through a completely different mechanism than these drugs, making it a complementary rather than competing approach.
Vascular Tone
Magnesium is a natural smooth muscle relaxant that influences blood vessel diameter. In migraine, abnormal vasoconstriction followed by vasodilation contributes to the throbbing pain phase. Adequate magnesium helps maintain normal vascular tone, reducing the severity of these vascular swings.
Platelet Aggregation
Magnesium inhibits platelet aggregation and the release of thromboxane A2—a vasoconstrictor that amplifies migraine pain. Low magnesium levels allow increased platelet clumping and greater thromboxane release, promoting the vascular dysfunction that contributes to migraine attacks.
Best Magnesium for Migraines: Form-by-Form Ranking

#1 Magnesium Glycinate for Migraines
Magnesium glycinate is increasingly recommended by headache specialists as the preferred form for migraine prevention. The reasons:
• High bioavailability: Chelated absorption delivers more magnesium to tissues where it’s needed for neuronal stabilization.
• Zero GI side effects: This is critical for migraine prevention. Prevention requires daily supplementation for weeks to months. If a magnesium form causes digestive discomfort, patients reduce the dose or stop taking it—and inconsistent dosing eliminates the preventive benefit. Glycinate’s perfect GI tolerance ensures compliance.
• Glycine bonus: Glycine has independent anti-inflammatory and neuroprotective properties. It also promotes better sleep, and sleep disruption is a known migraine trigger.
• Stress reduction: Glycinate’s anxiolytic properties address stress—another major migraine trigger—through GABA potentiation and HPA axis modulation.
#2 Magnesium Citrate for Migraines
Citrate was the most commonly used form in early migraine clinical trials, partly because it was the most accessible well-absorbed option at the time. It has good evidence for migraine prevention and is more affordable than glycinate.
The limitation: citrate’s mild osmotic laxative effect. At the 400–600mg doses used in migraine studies, some patients experience loose stools that lead to dose reduction or discontinuation. For patients who tolerate citrate well, it’s an effective and economical choice.
For the complete citrate vs glycinate comparison: Magnesium Citrate vs Glycinate: How to Choose the Right Form.
#3 Magnesium Oxide for Migraines
Oxide was used in some migraine trials because of its high elemental magnesium percentage (~60%), allowing high doses in few capsules. Some studies showed positive results, but the ~4% absorption rate means most of the magnesium passes through unabsorbed, causing GI distress without proportional systemic benefit.
Modern headache specialists generally recommend glycinate or citrate over oxide. If you’re currently taking oxide for migraines and experiencing GI side effects, switching to glycinate at a lower total dose may actually deliver more usable magnesium with better tolerability.
For the complete comparison of all magnesium forms with absorption data: Types of Magnesium Compared: Glycinate, Citrate, Oxide, and More.
Magnesium Supplement for Headaches: Dosing Protocol
Preventive Dosing (Daily)
Clinical trials for migraine prevention have used 400–600mg of elemental magnesium daily. For practical dosing:
• Magnesium glycinate: 400–800mg of the compound (delivering approximately 56–112mg elemental magnesium per dose). Take in divided doses—morning and evening—for best absorption and steady tissue levels.
• Magnesium citrate: 400–600mg elemental magnesium daily in divided doses. Start at the lower end to assess GI tolerance.
Acute Use (During a Migraine)
Some practitioners recommend a higher acute dose of magnesium at the onset of a migraine. This approach has limited clinical trial support for oral supplementation (IV magnesium during acute migraine is better studied), but anecdotal reports from headache specialists suggest that 400–500mg of a well-absorbed form taken at the first sign of an attack may reduce severity in some patients.
Timeline for Prevention
Migraine prevention with magnesium is not immediate. Expect:
• Week 1–4: Magnesium stores begin to replete. Some patients report reduced headache intensity before frequency changes.
• Month 2–3: Meaningful reduction in migraine frequency becomes apparent. This aligns with the approximately 3-month timeframe for full body magnesium repletion.
• Month 3+: Maximum preventive benefit. Consistent daily supplementation is essential—skipping doses allows magnesium levels to drop and the preventive effect weakens.
A minimum 3-month trial is recommended before concluding whether magnesium is effective for your migraines. Stopping at 4–6 weeks is the most common reason patients report that “magnesium didn’t work.”
Magnesium and Migraine Triggers: The Bigger Picture
Magnesium doesn’t just prevent migraines through direct neurological mechanisms. It also addresses several common migraine triggers:
• Sleep disruption: Poor sleep is one of the most consistent migraine triggers. Magnesium glycinate’s sleep-promoting effects (GABA potentiation + glycine thermoregulation) directly address this trigger. Full research: Magnesium Glycinate for Sleep.
• Stress and anxiety: Stress is the #1 self-reported migraine trigger. Magnesium’s HPA axis modulation and anxiolytic properties reduce the stress burden that precipitates attacks. Full guide: Best Supplements for Anxiety.
• Hormonal fluctuations: Menstrual migraines affect approximately 60% of women with migraine. The estrogen drop before menstruation triggers attacks in susceptible women. Magnesium supports neurotransmitter stability during hormonal shifts, and some studies specifically show reduced menstrual migraine frequency with magnesium supplementation.
• Dehydration and electrolyte imbalance: Magnesium is an essential electrolyte. Dehydration concentrates blood and reduces magnesium levels—both migraine triggers. Note: if your magnesium supplement causes loose stools (oxide, high-dose citrate), it can worsen dehydration. Choose glycinate to avoid this: Magnesium for Constipation and Bloating: Which Form Works.
Who Benefits Most from Magnesium for Migraines
Magnesium supplementation for migraines is most effective for:
• People with confirmed magnesium deficiency: If your RBC magnesium level is below optimal range, supplementation is addressing a root cause, not just a symptom.
• Menstrual migraine sufferers: The hormonal-magnesium connection makes supplementation particularly relevant for women with cycle-linked attacks.
• Migraine with aura: Magnesium’s effect on cortical spreading depression is most relevant for migraines that include aura.
• People who want to reduce medication frequency: Magnesium can be used alongside prescription preventives (triptans, beta-blockers, CGRP inhibitors) and may allow dose reduction over time—under physician guidance.
• People with multiple stress-related symptoms: If your migraines coexist with poor sleep, anxiety, and muscle tension, magnesium glycinate addresses all four simultaneously.
Not sure if you’re magnesium deficient? Standard blood tests miss most cases: Magnesium Blood Test: Why Serum Levels Are Misleading.
FAQ: Magnesium for Migraines and Headaches
What is the best magnesium for migraines?
Magnesium glycinate is the best overall form for migraine prevention: high absorption, zero GI side effects, and additional sleep and stress benefits that address common migraine triggers. Magnesium citrate is a strong second choice and has more clinical trial data specifically for migraines.
How much magnesium should I take for migraines?
Clinical trials used 400–600mg of elemental magnesium daily. For glycinate, this translates to approximately 400–800mg of the compound in divided doses (morning and evening). Start at the lower end and increase over 2 weeks.
How long does magnesium take to work for migraines?
Expect 2–3 months of consistent daily supplementation before seeing meaningful reduction in migraine frequency. Some patients notice reduced headache intensity within 4–6 weeks. A minimum 3-month trial is recommended before evaluating effectiveness.
Can I take magnesium with my migraine medication?
Magnesium is generally safe to combine with triptans, NSAIDs, beta-blockers, and CGRP inhibitors. It works through different mechanisms and can complement prescription prevention. Always inform your neurologist or headache specialist about supplements you’re taking.
Does magnesium help tension headaches too?
Yes. Tension headaches involve sustained muscle contraction in the head, neck, and shoulders. Magnesium’s muscle-relaxing properties (calcium channel blocking) directly address this mechanism. Glycinate’s stress-reducing effects also help, since stress is the primary driver of tension headaches.
Can magnesium help with headaches related to hormonal changes and weight fluctuations?
Hormonal shifts and metabolic stress both deplete magnesium and lower the migraine threshold. Magnesium supplementation supports both hormonal neurotransmitter stability and metabolic function. For the metabolic connection: Magnesium for Weight Loss: What the Science Shows.
The Bottom Line: Magnesium Is a First-Line Migraine Prevention Tool
Magnesium supplementation for migraine prevention is not alternative medicine—it’s evidence-based medicine recognized by major neurological societies. The mechanisms are well-characterized: NMDA receptor stabilization, CGRP modulation, vascular tone regulation, and platelet aggregation inhibition. The clinical evidence is positive. The safety profile is excellent.
Choose magnesium glycinate for the best combination of absorption, tolerability, and complementary benefits (sleep, stress reduction, muscle relaxation)—all of which address common migraine triggers beyond the direct neurological mechanism. Choose citrate if you prefer a more affordable option and tolerate its mild GI effects.
Commit to at least 3 months of consistent daily supplementation. Migraine prevention is a marathon, not a sprint—and magnesium rewards patience with meaningful, sustained reduction in attack frequency and severity.
About This Guide
This article was researched and written by the Glenari editorial team. Every claim is supported by peer-reviewed studies cited in the text and listed in the references below.
References
1. Mauskop A, Varughese J. Why all migraine patients should be treated with magnesium. J Neural Transm. 2012;119(5):575-579.
2. Chiu HY, Yeh TH, Huang YC, Chen PY. Effects of intravenous and oral magnesium on reducing migraine: a meta-analysis of randomized controlled trials. Pain Physician. 2016;19(1):E97-E112.
3. von Luckner A, Riederer F. Magnesium in migraine prophylaxis — is there an evidence-based rationale? A systematic review. Headache. 2018;58(2):199-209.
4. Dolati S, Rikhtegar R, Mehdizadeh A, Yousefi M. The role of magnesium in pathophysiology and migraine treatment. Biol Trace Elem Res. 2020;196(2):375-383.
5. Cepeda V, Ródenas-Munar M, García S, Bouzas C, Tur JA. Unlocking the power of magnesium: a systematic review and meta-analysis regarding its role in oxidative stress and inflammation. Antioxidants. 2025;14(6):740.
6. Schuette SA, Lashner BA, Janghorbani M. Bioavailability of magnesium diglycinate vs magnesium oxide in patients with ileal resection. JPEN J Parenter Enteral Nutr. 1994;18(5):430-435.
7. Lindberg JS, Zobitz MM, Poindexter JR, Pak CYC. Magnesium bioavailability from magnesium citrate and magnesium oxide. J Am Coll Nutr. 1990;9(1):48-55.
8. Boyle NB, Lawton C, Dye L. The effects of magnesium supplementation on subjective anxiety and stress — a systematic review. Nutrients. 2017;9(5):429.
9. Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a systematic review & meta-analysis. BMC Complement Med Ther. 2021;21(1):125.
10. Costello RB, Nielsen FH. Interpreting magnesium status to enhance clinical care. Curr Opin Clin Nutr Metab Care. 2017;20(6):504-511.
For consistent daily magnesium intake without digestive side effects, MagHarmony delivers chelated magnesium glycinate — the form neurologists most commonly recommend for migraine prevention protocols.
Disclaimer: This blog contains promotional content about our products. The information provided is for educational purposes only and is not intended to diagnose, treat, cure, or prevent any disease. These statements have not been evaluated by the Food and Drug Administration. Migraines can be a symptom of serious medical conditions. If you experience sudden severe headaches, headaches with neurological symptoms, or a significant change in headache pattern, seek immediate medical attention. This content is not a substitute for medical advice. Always consult your healthcare provider before making changes to your wellness routine, especially if you are pregnant, nursing, taking medication, or have a medical condition.
