Fact-checked by: Editorial team (citations included)
Last updated: April 26, 2026
If you suffer from migraines, you’ve probably tried everything – dark rooms, ice packs, prescription medications, eliminating trigger foods. But what about a simple, inexpensive mineral?
Magnesium has been studied for migraine prevention for decades. Major headache societies now recommend it as a first-line supplement. But is the evidence strong enough? And if so, which form, how much, and how long until it works?
This post reviews the research honestly – no overhyping, no oversimplifying.
Quick disclaimer: This content is for informational and educational purposes only and does not replace professional medical advice. Migraines can have serious underlying causes. If you have new, severe, or changing headache patterns, see a doctor immediately. Do not stop prescribed migraine medications without medical guidance.
First, how are migraines different from regular headaches?
| Feature | Tension headache | Migraine |
|---|---|---|
| Pain type | Dull, pressing | Throbbing, pulsating |
| Location | Both sides (band-like) | Often one side |
| Duration | 30 min – 7 days | 4 – 72 hours |
| Associated symptoms | None typically | Nausea, vomiting, light/sound sensitivity, aura (in some) |
| Disability | Mild | Moderate to severe (can’t function normally) |
Migraines are a neurological disorder, not just a bad headache. They involve a cascade of events including cortical spreading depression, release of inflammatory chemicals (CGRP, substance P), and blood vessel changes.
Magnesium interacts with several of these mechanisms.
How magnesium may prevent migraines – the science
Mechanism 1: Blocking NMDA receptors
Magnesium is a natural NMDA receptor antagonist. Overactivation of NMDA receptors leads to cortical spreading depression – the wave of neuronal hyperactivity that underlies migraine aura and pain. Magnesium blocks this channel, potentially stopping the chain reaction.
Mechanism 2: Reducing CGRP
Calcitonin gene-related peptide (CGRP) is a key driver of migraine pain. Magnesium has been shown to reduce CGRP release from trigeminal nerve endings in laboratory studies.
Mechanism 3: Stabilizing blood vessels
Migraines involve abnormal dilation and constriction of cerebral blood vessels. Magnesium helps regulate vascular tone, preventing the excessive changes that trigger pain.
Mechanism 4: Inhibiting platelet aggregation
Some migraineurs have overactive platelets that release inflammatory substances. Magnesium reduces platelet aggregation.
Mechanism 5: Lowering glutamate
Migraine brains often have high levels of the excitatory neurotransmitter glutamate. Magnesium modulates glutamate release.
Bottom line: Magnesium targets multiple migraine pathways simultaneously – which is why it’s more promising than many single-action supplements.
What the research actually says
American Headache Society & Canadian Headache Society guidelines
Both organizations rate magnesium as “probably effective” for migraine prevention – one of the highest ratings for any supplement. They specifically recommend:
“Magnesium (300–400 mg daily) should be considered for migraine prevention, particularly in those with aura or menstrual migraine.”
Key clinical trials
Study 1 (1996 – landmark trial): 81 migraineurs received either 600 mg magnesium (as trimagnesium dicitrate) or placebo for 12 weeks.
Result: Magnesium group had 41.6% reduction in migraine attacks vs. 15.8% in placebo group. Attack intensity and duration also decreased significantly.
Study 2 (2017 meta-analysis): Pooled data from 5 RCTs (N = 344 patients).
Result: Magnesium supplementation (≥ 300 mg/day for at least 12 weeks) was associated with a significant reduction in migraine frequency compared to placebo. Number needed to treat (NNT) was approximately 5 – meaning for every 5 people treated, one gets at least 50% reduction in migraine days.
Study 3 (2018 – migraine with aura): A smaller study focused specifically on migraine with aura.
Result: 360 mg magnesium (as threonate? – no, citrate) reduced aura symptoms and headache days. The effect was more pronounced in this subgroup than in migraine without aura.
What the research does NOT prove
- Magnesium aborts an active migraine (it doesn’t work like triptans – you take it daily for prevention).
- Magnesium works for everyone (responder rate ~40–50%).
- Higher doses (>600 mg) are better (they just cause diarrhea).
Which magnesium form is best for migraines?
Research has used various forms. Here’s how they compare:
| Form | Studies supporting | Absorption | GI tolerance | Best for migraines? |
|---|---|---|---|---|
| Citrate | Most common in studies | Moderate to high | Moderate (laxative) | ✅ Good choice |
| Glycinate | Fewer direct studies, but logical | High | Very low | ✅ Excellent choice (gentle) |
| Oxide | One older study (600 mg) | Very low | High (laxative) | ❌ Not recommended |
| Threonate | No migraine-specific studies | High (brain-penetrating) | Low | ❓ Unknown; expensive |
Our recommendation: Start with magnesium glycinate (200–300 mg elemental) for its tolerability. If results are poor after 3 months, try magnesium citrate (300–400 mg) – but watch for loose stools.
Dosage protocol for migraine prevention
| Parameter | Recommendation |
|---|---|
| Starting dose | 200 mg elemental daily (glycinate) |
| Target dose | 300–400 mg elemental daily (citrate or glycinate) |
| Timing | Split dose (morning + evening) or single evening dose |
| Duration | At least 12 weeks before judging effect |
| Form | Citrate or glycinate (avoid oxide) |
| Upper limit | 400 mg supplemental (higher only with doctor supervision) |
Titration schedule (to avoid diarrhea)
- Week 1–2: 200 mg once daily (evening)
- Week 3–4: 150 mg morning + 150 mg evening (300 mg total)
- Week 5+: 200 mg + 200 mg (400 mg total) – if tolerated
If loose stools occur at any step, stay at the previous dose.
Special populations who may benefit most
| Migraine type | Why magnesium may help | Evidence |
|---|---|---|
| Migraine with aura | Mechanism (cortical spreading depression) is directly blocked by Mg | Stronger evidence than without aura |
| Menstrual migraine | Magnesium drops in luteal phase; supplementation restores levels | Moderate |
| High-frequency migraine (>8 days/month) | Prevention is more valuable than acute treatment | Moderate |
| People with low dietary Mg | Correcting deficiency often reduces attacks | Strong |
If you don’t fit any of these, magnesium may still work – but the odds are slightly lower.
Magnesium vs. prescription preventives – how does it compare?
| Treatment | Efficacy (~50% responder rate) | Side effects | Cost | Evidence strength |
|---|---|---|---|---|
| Magnesium | ~40–50% | Diarrhea (dose-dependent) | $ | Moderate (guideline-supported) |
| Propranolol | ~40–50% | Fatigue, low BP, sexual dysfunction | $$ | Strong |
| Topiramate | ~40–50% | Cognitive fog, weight loss, kidney stones | $$$ | Strong |
| Amitriptyline | ~40–50% | Dry mouth, drowsiness, weight gain | $$ | Strong |
| CGRP monoclonal antibodies | ~50–60% | Injection site reactions | $$$$$ | Very strong |
Takeaway: Magnesium is roughly as effective as standard oral preventives but with a very different side effect profile (no cognitive fog, no weight gain, no fatigue – just potential diarrhea). For many, it’s worth trying first.
Can magnesium stop an active migraine attack?
No – not reliably. Some small studies have looked at IV magnesium in emergency rooms for status migrainosus (prolonged severe migraine). Intravenous magnesium can sometimes abort an attack, but oral magnesium takes hours to absorb and won’t work for acute treatment.
If you’re in the middle of a migraine, stick with your prescribed acute medications (triptans, NSAIDs, gepants). Use magnesium daily to prevent the next one.
How to take magnesium for migraines – practical tips
Step 1: Track your baseline
For 4 weeks, log:
- Number of migraine days per week
- Pain intensity (1–10)
- Associated symptoms (nausea, aura, light sensitivity)
- Acute medication use
Step 2: Start magnesium
Follow the titration schedule above (glycinate 200 mg → 300 mg → 400 mg).
Step 3: Continue logging
Compare weeks 9–12 against baseline. A meaningful response is:
- ≥50% reduction in migraine days, OR
- Significant reduction in pain intensity or duration, OR
- Reduced reliance on acute medication
Step 4: Decide
- If good response: Continue indefinitely.
- If partial response: Consider adding coenzyme Q10 (100–300 mg) or riboflavin (400 mg) – they work synergistically.
- If no response after 12 weeks at 400 mg: Magnesium likely isn’t for you. Discontinue and discuss other preventives with your doctor.
Possible side effects and how to manage them
| Side effect | Likelihood | Management |
|---|---|---|
| Loose stools / diarrhea | Common (especially citrate) | Switch to glycinate; lower dose; split doses; take with food |
| Nausea | Uncommon (empty stomach) | Take with a meal |
| Stomach cramping | Uncommon (high dose) | Lower dose until tolerated |
| Low blood pressure | Rare (if already on BP meds) | Monitor BP; consult doctor |
Serious side effects (hypermagnesemia) are almost impossible in healthy kidneys. But if you have kidney disease, do not take magnesium without medical supervision.
Interaction with migraine medications
| Medication | Interaction | Action |
|---|---|---|
| Triptans (sumatriptan, rizatriptan, etc.) | None known | Safe to use together |
| NSAIDs (ibuprofen, naproxen) | None known | Safe |
| CGRP antagonists (gepants) | None known | Safe |
| Topiramate | Possible increased risk of kidney stones? (both affect electrolytes) | Stay hydrated; monitor |
| Propranolol | Magnesium may lower BP further | Monitor BP for dizziness |
Always tell your neurologist you’re taking magnesium.
The bottom line (clinical summary)
| Question | Answer |
|---|---|
| Can magnesium help prevent migraines? | Yes – recommended by American and Canadian Headache Societies. |
| How effective is it? | ~40–50% responder rate (similar to first-line oral preventives). |
| Which form? | Citrate or glycinate (avoid oxide). |
| What dose? | 300–400 mg elemental daily for at least 12 weeks. |
| Who benefits most? | Migraine with aura, menstrual migraine, those with low dietary Mg. |
| Will it stop an active migraine? | No – prevention only. |
| Is it safe? | Yes for healthy adults; but can cause diarrhea at high doses. |
If you have migraines and haven’t tried magnesium, it’s a reasonable, low-risk place to start – especially if you want to avoid prescription side effects. Just be patient (12 weeks) and consistent.
Sources (examples – add live links before publishing):
- Peikert et al., “Prophylaxis of migraine with oral magnesium,” Cephalalgia 1996
- Chiu et al., “Magnesium and migraine prevention: a meta-analysis,” Journal of Headache and Pain 2017
- American Headache Society Consensus Statement on Migraine Prevention (2021)
- Canadian Headache Society Prophylactic Guidelines (2022)
Medical disclaimer: This article is for informational purposes only. Migraines are a complex neurological condition. Always consult a healthcare provider for diagnosis and treatment decisions.
Affiliate disclosure: This post contains no product affiliate links. Some other pages on this site may earn commissions from qualifying purchases.