Can Magnesium Really Help With Migraines and Headaches? An Evidence-Based Review

healthguiders

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?

FeatureTension headacheMigraine
Pain typeDull, pressingThrobbing, pulsating
LocationBoth sides (band-like)Often one side
Duration30 min – 7 days4 – 72 hours
Associated symptomsNone typicallyNausea, vomiting, light/sound sensitivity, aura (in some)
DisabilityMildModerate 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:

FormStudies supportingAbsorptionGI toleranceBest for migraines?
CitrateMost common in studiesModerate to highModerate (laxative)✅ Good choice
GlycinateFewer direct studies, but logicalHighVery low✅ Excellent choice (gentle)
OxideOne older study (600 mg)Very lowHigh (laxative)❌ Not recommended
ThreonateNo migraine-specific studiesHigh (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

ParameterRecommendation
Starting dose200 mg elemental daily (glycinate)
Target dose300–400 mg elemental daily (citrate or glycinate)
TimingSplit dose (morning + evening) or single evening dose
DurationAt least 12 weeks before judging effect
FormCitrate or glycinate (avoid oxide)
Upper limit400 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 typeWhy magnesium may helpEvidence
Migraine with auraMechanism (cortical spreading depression) is directly blocked by MgStronger evidence than without aura
Menstrual migraineMagnesium drops in luteal phase; supplementation restores levelsModerate
High-frequency migraine (>8 days/month)Prevention is more valuable than acute treatmentModerate
People with low dietary MgCorrecting deficiency often reduces attacksStrong

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?

TreatmentEfficacy (~50% responder rate)Side effectsCostEvidence 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 effectLikelihoodManagement
Loose stools / diarrheaCommon (especially citrate)Switch to glycinate; lower dose; split doses; take with food
NauseaUncommon (empty stomach)Take with a meal
Stomach crampingUncommon (high dose)Lower dose until tolerated
Low blood pressureRare (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

MedicationInteractionAction
Triptans (sumatriptan, rizatriptan, etc.)None knownSafe to use together
NSAIDs (ibuprofen, naproxen)None knownSafe
CGRP antagonists (gepants)None knownSafe
TopiramatePossible increased risk of kidney stones? (both affect electrolytes)Stay hydrated; monitor
PropranololMagnesium may lower BP furtherMonitor BP for dizziness

Always tell your neurologist you’re taking magnesium.


The bottom line (clinical summary)

QuestionAnswer
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.

Follow:
Written by: HealthGuiders Health Research Writer | 5+ years experience Reviewed by Medical Content Team
Leave a Comment

Leave a Reply

Your email address will not be published. Required fields are marked *