Subscribe to the distribution list, to get regular updates on supplement research for health,

 🧠 NeuroBright Our evidence-based brain supplement  formulated from 1.7M research papers

Magnesium And Migraines

Quick Read

Magnesium helps regulate brain cell activity, and low levels may trigger migraines by making the brain more excitable and prone to the electrical disturbances that cause migraine attacks. Research from multiple clinical trials shows that taking magnesium supplements reduced migraine frequency by an average of 2.5 attacks per month, severity by 0.88 points on a pain scale, and monthly migraine days by 1.66 days. This effect was larger than other tested supplements like CoQ10 and vitamin B2.

Magnesium is now clinically recommended for migraine prevention in adults, and has also shown benefits specifically for pregnant women, where medication options are limited. The main side effect from oral magnesium is mild digestive upset, particularly with magnesium oxide. However, standard blood tests often miss functional magnesium deficiency because they only measure the small amount in your bloodstream, not the magnesium stored in cells where it actually matters for brain function.

For best results, most successful trials used 400 to 600 milligrams daily and took three months to show meaningful improvements. Combining magnesium with riboflavin and CoQ10 showed additive benefits in one study, though more research is needed. The evidence is strong enough and the safety profile low enough that anyone with regular migraines and normal kidney function should consider a proper three-month trial.

Verdict: Magnesium supplementation is a reasonable, low-risk, evidence-supported option for migraine prevention that deserves a proper three-month trial before judging its effectiveness.

Magnesium and Migraines: What the Research Actually Says About Nature’s Quiet Painkiller

What if one of the most overlooked triggers for your migraines isn’t stress, or red wine, or bright screens, but a simple mineral deficiency that affects a huge proportion of the population and costs pennies a day to fix? What if the throbbing, nauseating, day-destroying attacks that send you to a dark room with a cold flannel aren’t just “one of those things”, but a signal your brain has been sending you for years, asking for something it’s quietly running short of?

Magnesium isn’t glamorous. It doesn’t have the marketing budget of a prescription drug. It doesn’t generate headlines. But the research that has quietly accumulated around magnesium and migraine prevention is, frankly, more substantial than most people realise, and more actionable, too. VitacuityAI analysed 1.7 million research papers and selected the most relevant ones for this topic. What follows is an honest, complete picture of what the science actually shows.


The Science Behind Magnesium and Migraines

To understand why magnesium matters for migraines, you need to understand a little about how migraines actually work, and it’s not just “a bad headache.”

Migraine is a complex neurological condition, ranking as the second leading cause of disability in adults aged 20–59 worldwide, and the leading cause of disability in children and young people aged 5–19 [1]. That’s not a typo. More disability than almost anything else in that age group. We’re talking about a serious, underappreciated condition.

So what does magnesium have to do with it?

Magnesium is involved in over 300 enzymatic reactions in the body, but its role in the brain is particularly important. It acts as a natural regulator of neuronal excitability, essentially, it helps keep brain cells from firing chaotically [12]. When magnesium levels fall, the brain becomes more excitable, more reactive, more prone to the kind of electrical storm that underlies a migraine.

One of the key mechanisms researchers point to is something called cortical spreading depression (CSD), a wave of electrical activity followed by suppression that sweeps across the brain during a migraine. Magnesium deficiency appears to lower the threshold for this wave, making it easier to trigger [1]. Think of it like a circuit breaker that trips too easily when the wiring is under-resourced.

Beyond that, magnesium deficiency is also linked to vascular changes (affecting blood flow to the brain), oxidative stress, chronic inflammation, abnormal neurotransmitter release, and electrolyte imbalances [1]. In other words, low magnesium doesn’t just poke the brain in one place, it destabilises multiple systems that, together, set the scene for a migraine attack.

There’s also an energy angle. The brain is extraordinarily energy-hungry, and migraine appears to be partly a condition of energy metabolism impairment, the brain struggling to meet its energy demands. Magnesium plays a role in mitochondrial function (the cellular machinery that produces energy), which is why it sits alongside riboflavin and CoQ10 in the conversation about migraine prevention [15].

The deficiency itself is surprisingly common. Magnesium is frequently depleted through inadequate dietary intake, stress, alcohol consumption, certain medications, and loss through the gastrointestinal and renal systems [1]. Many people walking around with regular migraines are also, quietly, running low on magnesium, though you’d never know it from a standard blood test, because serum magnesium levels don’t reliably reflect the total magnesium stored in cells and tissues.


Key Finding #1: Magnesium Supplementation Reduces Migraine Frequency, Severity and Monthly Migraine Days

The most compelling headline finding comes from a 2025 systematic review and dose-response meta-analysis that pooled data from 22 randomised controlled trials on dietary supplements for migraine prevention [3].

Across the trials, magnesium supplementation produced the following mean reductions compared to placebo: – Migraine attack frequency: -2.51 attacks (mean difference) – Severity: -0.88 on a pain scale – Monthly migraine days: -1.66 days

To put that in human terms: if you’re having six migraines a month, magnesium supplementation was associated with dropping that to roughly three to four. That’s not nothing. That’s potentially life-changing for someone whose migraines are affecting work, relationships and daily function.

Among all the supplements analysed in this review, including CoQ10, riboflavin, alpha-lipoic acid, probiotics and vitamin D, magnesium produced the largest effect on attack frequency. Magnesium also outperformed the rest on severity reduction [3].

Evidence grade: Promising to Strong. This is a meta-analysis of RCTs, which is robust methodology. However, the individual trials within it vary in quality, sample size and duration, so we’d describe this as sitting at the stronger end of “promising” rather than fully “established.”


Key Finding #2: Magnesium Is Now Clinically Recommended for Migraine Prevention, Including IV Use Acutely

This is a meaningful distinction: we’re not just talking about researchers tentatively suggesting magnesium might help. Clinicians and reviewers are now actively recommending it.

A 2025 review published in a headache-specialist journal stated plainly: *”Magnesium is recommended for migraine prevention and intravenous acute use”* [4]. That recommendation covers both taking magnesium daily to prevent future attacks and using intravenous magnesium to abort an acute attack in a clinical setting.

The same review noted that adverse events from oral magnesium supplementation are generally mild, primarily gastrointestinal (loose stools, particularly at higher doses), and manageable [4]. This is an important point: the risk profile for magnesium supplementation at typical doses is low, making it a sensible front-line option to consider.

This clinical endorsement is echoed by a 2017 review which summarised the body of evidence from randomised controlled trials supporting magnesium’s role in both migraine prophylaxis and treatment [10], and a 2022 review which confirmed its place alongside riboflavin, CoQ10 and other nutraceuticals as effective options with genuine evidence behind them [9].

Evidence grade: Strong for prevention in adults. The clinical recommendation status reflects consistent findings across multiple trial designs.


Key Finding #3: Magnesium Works in Pregnancy Too, Where Drug Options Are Limited

One of the most practically important findings in this research set concerns pregnant women, who face a particularly difficult situation: migraines are common during pregnancy, but most conventional migraine medications are either contraindicated or restricted.

A 2023 retrospective cohort study of 203 pregnant patients found that magnesium oxide (MgO) alone produced statistically significant reductions in migraine frequency, severity and duration (p < 0.01 for all three) [13]. Of 154 patients reporting migraine-associated symptoms, nausea, photophobia, phonophobia, vomiting, 77% saw improvement [13].

A second group of 86 patients received MgO plus riboflavin, also with significant improvements across all measures [13].

The limitations are real: this was a retrospective cohort study, not a randomised controlled trial, so we can’t fully rule out other factors. But for a population where pharmaceutical options are restricted, the finding that a safe, well-tolerated mineral can meaningfully reduce migraine burden in pregnancy is clinically and practically significant.

Evidence grade: Promising. Retrospective design limits certainty, but the effect sizes were meaningful and the safety profile in pregnancy is well-established.


Key Finding #4: Serum Magnesium Levels Don’t Tell the Whole Story

Here’s where it gets genuinely interesting, and explains why many people are dismissed by doctors who say “your magnesium levels are fine.”

Standard blood tests measure magnesium in the serum, the liquid part of your blood. But only about 1% of the body’s total magnesium is actually in the blood. The rest is stored in bones, muscles and cells. So you can have “normal” serum magnesium and still be functionally depleted at the cellular level [1].

This matters enormously for the migraine story. A 2025 study of 61 paediatric migraine patients found no statistically significant difference in serum magnesium levels between migraine patients and healthy controls [5]. At first glance, this seems to undermine the magnesium-migraine connection, but it actually illustrates the limitation of serum testing, not the absence of a connection.

A 2021 preliminary study used a more sensitive electrophysiological tetany test to probe deeper magnesium status [14]. While that study found no significant difference in latent tetany between migraine and control groups, it also highlighted how difficult it is to accurately measure the functional magnesium status that matters most.

A 2022 prospective observational study, meanwhile, specifically examined magnesium levels during migraine attacks (the “ictal” phase) versus between attacks (the “interictal” phase), finding that neuronal excitability and magnesium’s role as a regulator are most relevant during active attack phases [12].

Evidence grade: Conflicted, but not in the way you might think. The conflict here isn’t about whether magnesium matters; it’s about how we measure deficiency. Serum testing is probably too blunt an instrument. Cellular or ionised magnesium measurements may be more relevant, but these aren’t routine in clinical practice.


Key Finding #5: Multi-Nutrient Approaches Combining Magnesium Show Additive Benefits

Magnesium rarely works in isolation in the real world, and the research reflects this. A 2020 open-label prospective study of 113 Greek patients with episodic migraine used a combination supplement containing magnesium, vitamin B2 (riboflavin), feverfew, andrographis paniculata and CoQ10 over three months [11].

The results were striking: monthly migraine days dropped from 9.4 ± 3.7 at baseline to 6.1 ± 3.5 by month three, a reduction of more than 3 days per month. Quality of life scores, disability assessments (MIDAS), and headache impact tests (HIT-6) all improved significantly [11].

It’s worth noting that this was an open-label study (no placebo control), so we can’t discount a placebo effect. The researchers themselves acknowledged this limitation and called for a randomised, placebo-controlled trial to confirm findings [11].

But the biological rationale for combining these nutrients is sound: riboflavin and CoQ10 both support mitochondrial energy metabolism, which is also implicated in migraine pathophysiology [15]. Magnesium addresses the neuronal excitability and vascular side of the equation. They’re addressing different upstream vulnerabilities through complementary mechanisms.

The 2025 meta-analysis confirmed this picture, finding that CoQ10 (frequency: -1.73, severity: -1.35, duration: -1.72), riboflavin (frequency: -1.34) and vitamin D (frequency: -1.69) all independently reduced migraine burden, suggesting there may be meaningful benefit to targeting multiple pathways at once [3].

Evidence grade: Promising for combination approaches. The open-label nature of the multi-nutrient trial limits certainty, but the mechanistic logic and independent efficacy of component nutrients supports the rationale.


What We Don’t Know Yet

Honesty matters here, so let’s be clear about the gaps.

We don’t yet have a definitive Cochrane Review. A Cochrane Review protocol for magnesium supplementation in migraine prophylaxis was registered in 2025 [2], meaning the gold-standard systematic review is still in progress. This is actually reassuring (it means the evidence base is considered worth rigorously analysing), but it also means the definitive independent appraisal of all available RCTs isn’t yet published.

The optimal dose isn’t fully established. Most trials have used doses in the range of 400–600mg daily of various magnesium salts (oxide, citrate, glycinate), but a direct dose-response comparison across formulations in large, high-quality trials hasn’t been done. The 2025 meta-analysis attempted a dose-response analysis [3], but the variation in trial quality makes firm conclusions difficult.

Which form of magnesium matters. Magnesium oxide is the cheapest and most commonly studied form, but it has lower bioavailability than magnesium citrate, glycinate or malate. Whether the form makes a meaningful clinical difference for migraine specifically hasn’t been definitively tested in head-to-head RCTs.

Serum testing is unreliable but better options aren’t widely available. The gap between serum magnesium and cellular/functional magnesium status means we still don’t have an easy, affordable way to identify who is most likely to benefit [5, 14]. This makes the clinical picture murkier than it needs to be.

Paediatric evidence is thin. Most of the robust trial data is in adults. The paediatric research is largely observational, and the 2025 clinical review notes that evidence for children and adolescents is not well-established [4].

Long-term data is limited. Most trials run for three to six months. We don’t have strong long-term data (12+ months) on sustained efficacy or whether benefits persist after stopping supplementation.


The Final Takeaway

Here’s what a sensible, well-informed person should actually do with this information.

Magnesium is a water-soluble-adjacent mineral, excess is largely excreted through the kidneys, and toxicity at normal supplemental doses is not a meaningful concern for people with healthy kidney function. The risk of deficiency in the modern diet is real, well-documented, and consistently associated with migraine vulnerability. The cost of supplementing is low. The evidence base for prevention is genuinely promising to strong.

So: if you get migraines regularly, supplementing with magnesium is a reasonable, evidence-supported and low-risk thing to start doing. You don’t need to wait for a blood test that, as we’ve seen, probably won’t tell you what you need to know anyway. Serum magnesium levels are not a reliable indicator of functional deficiency.

Practical starting point: Most trials showing benefit have used 400–600mg of elemental magnesium daily. Magnesium oxide is the most studied form, but magnesium citrate or glycinate may be better tolerated if oxide causes loose stools. If you notice digestive upset, switch form rather than stopping.

Give it time. Migraine prevention trials typically run for three months before meaningful effects are seen. Don’t judge it after two weeks. Keep a simple migraine diary, note frequency, severity and duration each month. That’s your data. Trust it.

Consider the broader picture. The research suggests riboflavin (vitamin B2) and CoQ10 work through complementary mechanisms and show independent benefits in their own right [3, 15]. If your migraines are frequent and significantly affecting your life, there’s a reasonable case for combining these alongside magnesium, the safety profile across all three is favourable and the multi-nutrient data, while imperfect, is directionally consistent [11].

If you’re pregnant and suffering with migraines: the evidence for magnesium oxide specifically in pregnancy is genuinely encouraging [13], and the safety profile makes it one of the few evidence-supported options available. Worth discussing with your midwife or doctor, with this research in hand.

If you have kidney disease: don’t supplement magnesium without medical advice. For everyone else with normal kidney function, the risk-benefit calculation here strongly favours giving it a proper trial.

The bottom line? Magnesium isn’t a miracle. It won’t necessarily eliminate your migraines. But the accumulated evidence, from case-control studies, observational research and randomised controlled trials, is consistent enough, and the risk low enough, that not trying it would be leaving a meaningful option on the table [1]. And that’s a conclusion your brilliant, well-read friend would reach too.


References

[1] Magnesium and Migraine (2025). *Nutrients*, DOI: 10.3390/nu17040725. https://pubmed.ncbi.nlm.nih.gov/40005053/ | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11858643/

[2] Magnesium supplementation for migraine prophylaxis, Cochrane Review Protocol (2025). DOI: 10.1002/14651858.CD016307. https://pubmed.ncbi.nlm.nih.gov/41216917/ | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12604082/

[3] Effects of selected dietary supplements on migraine prophylaxis: A systematic review and dose-response meta-analysis of randomized controlled trials (2025). DOI: 10.1007/s10072-024-07794-0. https://pubmed.ncbi.nlm.nih.gov/39404918/

[4] Nutraceuticals and Headache 2024: Riboflavin, Coenzyme Q10, Feverfew, Magnesium, Melatonin, and Butterbur (2025). DOI: 10.1007/s11916-025-01358-3. https://pubmed.ncbi.nlm.nih.gov/39853578/

[5] An Evaluation of Magnesium Levels in Pediatric Migraine Patients (2025). DOI: 10.1055/a-2508-4009. https://pubmed.ncbi.nlm.nih.gov/40953594/

[9] Review on Headache Related to Dietary Supplements (2022). DOI: 10.1007/s11916-022-01019-9. https://pubmed.ncbi.nlm.nih.gov/35254637/

[10] Usefulness of nutraceuticals in migraine prophylaxis (2017). https://pubmed.ncbi.nlm.nih.gov/28527067/

[11] Open Label Prospective Experience of Supplementation with a Fixed Combination of Magnesium, Vitamin B2, Feverfew, Andrographis Paniculata and Coenzyme Q10 for Episodic Migraine Prophylaxis (2020). DOI: 10.3390/jcm10010067. https://pubmed.ncbi.nlm.nih.gov/33375459/ | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7794912/

[12] Serum Magnesium Levels During the Ictal and Interictal Phase in Patients of Migraine: A Prospective Observational Study (2022). https://pubmed.ncbi.nlm.nih.gov/36352578/

[13] Assessing the efficacy of magnesium oxide and riboflavin as preventative treatment of migraines in pregnancy (2023). DOI: 10.1007/s00404-022-06872-y. https://pubmed.ncbi.nlm.nih.gov/36495328/

[14] Migraine and Its Association with Hyperactivity of Cell Membranes in the Course of Latent Magnesium Deficiency, Preliminary Study of the Importance of the Latent Tetany Presence in the Migraine Pathogenesis. DOI: 10.3390/nu13082701. https://pubmed.ncbi.nlm.nih.gov/34444861/ | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8401654/

[15] Energy Metabolism Impairment in Migraine (2019). https://pubmed.ncbi.nlm.nih.gov/29932030/


This article is for informational purposes only and does not constitute medical advice. Food supplements should not be used as a substitute for a varied and balanced diet and healthy lifestyle. If you are pregnant, breastfeeding, taking medication or have a medical condition, consult your doctor before taking any supplement. These statements have not been evaluated by the Food and Drug Administration (FDA) or the Medicines and Healthcare products Regulatory Agency (MHRA). This product is not intended to diagnose, treat, cure, or prevent any disease.

Related Posts

NeuroBright by Vitacuity Ltd
  • Supports Memory and Clear Thinking:
    Zinc supports normal cognitive function, helping you stay focused, think clearly, and feel mentally in control—even on busy days.
  • Enhances Brain Function and Communication:
    DHA Omega-3 and vitamins C & E help maintain brain function and protect cells—supporting memory and long-term resilience.
  • Reduces Mental Fatigue for Sharper Thinking:
    B6, B12, Folate, Niacin, and Vitamin C reduce tiredness, supporting mental clarity, focus, and confident communication.
  • Daily Defence for Brain Cells:
    Vitamins C and E protect brain cells from oxidative stress, supporting memory and mental sharpness.
  • Strengthens Brain Health at Any Age:
    Vitamin D supports immune and nervous system function—key for memory and resilience during stress or ageing.