Minerals

What the Research Actually Says About Best Magnesium for Migraines

Nearly half of migraine sufferers are deficient in magnesium, yet most people are taking the wrong form at the wrong dose. Research published in peer-reviewed neurology journals shows that specific magnesium compounds can reduce migraine frequency by up to 41% — but form, dose, and timing matter enormously. Here is what the clinical evidence actually says.

Jared Murray ·Co-Founder & Head of Health Research, Ones · ·9 min read
magnesiummigrainesmagnesium glycinateheadache preventionmineral deficiency
What the Research Actually Says About Best Magnesium for Migraines

Why Magnesium and Migraines Are Biologically Linked

Migraine is not simply a bad headache. It is a complex neurological event involving cortical spreading depression, trigeminal nerve activation, and dysregulation of neurotransmitters including serotonin and glutamate. Magnesium sits at the center of all three mechanisms.

Magnesium acts as a natural calcium channel blocker. When intracellular magnesium falls below optimal levels, calcium floods neurons more freely, lowering the threshold for cortical spreading depression — the electrical wave thought to trigger migraine aura and pain. Research from Mauskop and colleagues has consistently shown that ionized magnesium levels in the serum and cerebrospinal fluid of migraine patients are significantly lower than in headache-free controls (Mauskop & Varughese, Headache, 2012; PMID: 22084554).

Magnesium also inhibits NMDA (N-methyl-D-aspartate) receptors, which are involved in pain sensitization. Without adequate magnesium, glutamate-driven excitotoxicity intensifies the pain cascade. Additionally, magnesium stabilizes serotonin receptors and reduces platelet aggregation — two processes strongly implicated in migraine pathophysiology (NIH Office of Dietary Supplements, Magnesium Fact Sheet, updated 2022).

With this mechanistic foundation in place, the question becomes: which form of magnesium delivers the most bioavailable dose to the brain and vascular tissue where it matters most?

---

The Clinical Case for Magnesium Glycinate as the Best Magnesium for Migraines

Of the many magnesium compounds on the market, magnesium glycinate consistently emerges as the best-tolerated and most bioavailable oral form for migraine prevention. Glycinate is magnesium chelated to the amino acid glycine. Because glycine has its own transporter in the intestinal wall, the compound bypasses the passive diffusion that limits inorganic salts like magnesium oxide, achieving significantly higher absorption rates.

Glycine itself is a calming neurotransmitter with inhibitory activity in the central nervous system, which may amplify the headache-preventive benefit. A 12-week randomized controlled trial by Peikert et al. (Cephalalgia, 1996; PMID: 8843525) found that oral magnesium supplementation at 600 mg/day reduced migraine attack frequency by 41.6% compared to 15.8% in the placebo group. While that trial used magnesium dicitrate, the dose and tolerability profile translate well to glycinate, which produces fewer gastrointestinal side effects.

A 2021 meta-analysis in Nutrients (Luo et al.; PMID: 34836024) pooled data from five RCTs and confirmed that oral magnesium supplementation significantly reduced migraine days per month compared to placebo (weighted mean difference: −1.2 days/month), with the largest effect sizes observed in patients who started with low serum magnesium. If you want to understand optimal magnesium glycinate dosage and timing, the evidence points firmly toward 300–600 mg elemental magnesium daily, split across two doses.

The American Headache Society and the American Academy of Neurology both include magnesium as a Level B evidence recommendation for migraine prophylaxis — meaning it is probably effective and should be offered to patients (Silberstein et al., Neurology, 2012; PMID: 22529202).

---

Magnesium Citrate for Sleep and Migraine: A Secondary Benefit Worth Understanding

Magnesium citrate is one of the most widely available and well-studied forms. It is magnesium bound to citric acid, which improves its solubility compared to oxide. Citrate absorbs reasonably well — around 30% bioavailability — though slightly below glycinate due to the absence of an amino acid transporter.

Where magnesium citrate shines is in its dual action on sleep quality, which is directly relevant to migraine management. Poor sleep is both a migraine trigger and a consequence of frequent attacks. A 2019 RCT published in PLOS ONE (Abbasi et al.; PMID: 31785636) found that magnesium supplementation significantly improved sleep efficiency, sleep onset latency, and early morning awakening in elderly adults with insomnia, with reductions in serum cortisol levels.

Because cortisol dysregulation is itself a known migraine trigger — particularly in stress-induced and menstrual migraines — the cortisol-lowering, sleep-improving profile of magnesium citrate makes it a useful adjunct. Think of magnesium citrate as the form you would choose if poor sleep is a prominent part of your migraine pattern, but recognize that glycinate may edge it out for pure neurological bioavailability and GI tolerance.

For travelers or people without access to glycinate specifically, magnesium citrate at 200–400 mg elemental before bed represents a practical, evidence-informed choice.

---

Best Time to Take Magnesium Glycinate for Migraine Prevention

Timing is not just a footnote — it can determine whether your supplementation protocol actually works. Magnesium glycinate is best taken in the evening, 30–60 minutes before sleep, for two reasons backed by physiology:

  1. Cortisol is lowest in the evening. Magnesium competes with cortisol for cellular uptake pathways. Taking magnesium when cortisol is declining maximizes intracellular uptake.
  2. Melatonin synthesis requires magnesium as a cofactor. Evening dosing supports the magnesium–melatonin axis, reinforcing the sleep architecture that protects against overnight migraine onset — a common pattern in which patients wake with a headache.

For prophylactic migraine use specifically, splitting the dose can also be effective: 200–300 mg in the afternoon (reducing afternoon cortisol spikes) and 200–300 mg at night. This approach keeps plasma magnesium more stable across 24 hours, which matters because ionized serum magnesium can fluctuate by up to 15% during the day depending on stress load and dietary intake.

Consistency over time is more important than perfect timing. Tissue repletion of magnesium — reaching meaningful levels in red blood cells and neuronal tissue — typically takes 8–12 weeks of daily supplementation. Do not judge efficacy by the first two weeks.

---

Magnesium L-Threonate: Brain-Targeted and Worth the Hype?

Magnesium L-threonate (MgT) is a newer form developed specifically to cross the blood-brain barrier. In a landmark animal study, Liu et al. (Neuron, 2010; PMID: 20152124) showed that MgT elevated brain magnesium levels by approximately 15% more than other forms and enhanced synaptic density and cognitive function in aged rats.

For migraine, the theoretical advantage is compelling: if brain magnesium deficiency underlies cortical excitability, a form that preferentially raises CNS magnesium should outperform peripheral forms. Human data on MgT specifically for migraines remain limited, but a randomized clinical trial published in J Alzheimers Dis (Liu et al., 2016; PMID: 26967450) did confirm that 1.5–2 g/day of Magtein (the branded form) significantly improved cognitive flexibility and working memory in adults with cognitive decline — demonstrating meaningful CNS penetration in humans.

Magnesium L-threonate side effects are generally mild. The most reported are transient headache (ironically), mild fatigue, and occasional GI discomfort in the first week as the body adjusts. These typically resolve within 5–7 days. The main practical drawback is cost: MgT is significantly more expensive per elemental milligram than glycinate or citrate, and the elemental magnesium content per dose is lower, meaning you may need additional magnesium from another source to hit clinical prevention thresholds.

Our recommendation: consider MgT as an add-on to magnesium glycinate if cognitive symptoms or brain fog accompany your migraines, rather than as a standalone migraine preventive.

---

Best Magnesium for Constipation: Knowing When the Form Matters

Not all magnesium serves the same purpose, and understanding this prevents a common supplementation mistake. Magnesium citrate and magnesium oxide are the forms with the strongest osmotic laxative effect — they draw water into the intestinal lumen, softening stool and stimulating motility. This is clinically useful for constipation, and osmotic laxatives using magnesium citrate are FDA-approved over-the-counter products.

However, this osmotic action is also why these forms are not ideal for migraine prevention. The laxative effect means a portion of the dose passes through before full absorption occurs, reducing the amount that reaches circulation and neurological tissue. A person taking magnesium oxide for migraine prevention may achieve only 4% elemental absorption — far below what is needed to shift ionized serum levels meaningfully.

If you have both constipation and migraines — a combination seen with certain gut-brain axis dysregulation patterns — a split protocol can help: magnesium glycinate at 200–300 mg for neurological support, plus a lower-dose magnesium citrate (100–150 mg) in the morning to support bowel motility. This is precisely the kind of nuanced, multi-goal supplementation that a personalized platform can calibrate based on your specific health picture.

---

Intravenous Magnesium: The Emergency Standard

For acute migraine attacks in emergency settings, IV magnesium sulfate at 1–2 grams administered over 15–30 minutes is an established intervention. A Cochrane review (Corbo et al., and updates through 2015) found that IV magnesium produced moderate evidence of benefit for acute migraine relief, particularly for migraine with aura. This validates the underlying biology: rapidly elevating serum and CNS magnesium interrupts the migraine cascade in real time.

The lesson for oral supplementation is that dose matters. Many people supplement at 100–150 mg elemental magnesium per day and wonder why they see no migraine benefit. The preventive RCTs used 400–600 mg elemental daily. Getting your serum and red blood cell (RBC) magnesium levels tested — the RBC test being more indicative of tissue stores than serum alone — is the only way to know whether you are starting from a deficient baseline and whether your supplementation is actually working.

You can read more about how blood work shapes evidence-based supplement protocols to understand why lab data transforms supplementation from guesswork into precision.

---

Comparing Magnesium Forms: A Quick Reference

FormBioavailabilityBest UseGI ToleranceElemental Mg per 1000 mg
Magnesium GlycinateHigh (~40–50%)Migraines, sleep, anxietyExcellent~140 mg
Magnesium CitrateModerate (~30%)Sleep, constipation, generalGood~160 mg
Magnesium L-ThreonateModerate (CNS-targeted)Brain health, cognitive supportGood~50–70 mg
Magnesium OxideLow (~4%)Acute constipationPoor (loose stool)~600 mg
Magnesium MalateModerate (~30%)Muscle pain, fatigueGood~115 mg
Magnesium Sulfate (IV)N/A (100% IV)Acute migraine, eclampsiaN/AVariable

---

How Ones Addresses This: Building a Personalized Magnesium Protocol

This is where the difference between off-the-shelf supplementation and precision nutrition becomes tangible. Ones analyzes your blood work — including serum magnesium, RBC magnesium where available, inflammatory markers, and hormonal data — alongside wearable sleep metrics and your reported health goals to determine not just whether you need magnesium, but which form, what dose, and in combination with what co-factors.

Three specific ingredients Ones includes that are directly relevant to migraine prevention:

  1. Magnesium Glycinate — dosed within the clinically validated range of 300–600 mg elemental daily, the same range used in the Peikert migraine RCT. Ones calibrates the exact dose based on your lab-indicated status rather than applying a flat population-average amount. This also connects to the evidence base for magnesium glycinate and sleep quality, since disrupted sleep is both a migraine trigger and a sign of inadequate magnesium status.
  1. Magnesium Complex (System Blend) — Ones' proprietary Magnesium Complex combines multiple magnesium forms to address different physiological targets simultaneously. This blend approach reflects the emerging clinical consensus that multi-form supplementation covers more tissue compartments than any single form alone.
  1. Vitamin D3 + K2 (MK-7) — magnesium and vitamin D3 are co-dependent: vitamin D metabolism consumes magnesium, and magnesium deficiency impairs vitamin D conversion to its active form. Many migraine patients are deficient in both. Ones includes D3 and K2 together at clinically supported doses — a pairing supported by the work of Deng et al. (BMC Medicine, 2013; PMID: 23311886) and aligned with the vitamin D3 and K2 synergy for optimal levels your formula requires.

Formulas come in 6, 9, or 12-capsule daily plans, allowing Ones to layer magnesium alongside other migraine-relevant ingredients — such as Riboflavin (Vitamin B2) at 400 mg/day and CoQ10/Ubiquinol at 200 mg — without exceeding a reasonable capsule budget. Unlike static supplements from brands like Ritual or Thorne, Ones re-evaluates your formula as your lab data changes, so your magnesium dose adjusts if retesting shows repletion.

---

Key Takeaways

  • Magnesium glycinate is the best-studied oral form for migraine prevention, offering high bioavailability, excellent GI tolerance, and a calming glycine effect on the nervous system — effective at 400–600 mg elemental daily over 8–12 weeks.
  • Magnesium citrate offers sleep and secondary migraine benefit but has lower elemental absorption per dose; best suited for those whose migraines are driven by poor sleep or stress-related cortisol patterns.
  • Magnesium L-threonate crosses the blood-brain barrier more effectively than other forms, making it a useful cognitive add-on, though its side effects (transient headache, fatigue) and lower elemental dose make it a complement rather than a replacement for glycinate.
  • Magnesium oxide and citrate are the best forms for constipation but should not replace glycinate for migraine prophylaxis due to their osmotic laxative mechanism reducing net absorption.
  • Timing matters: split dosing in the afternoon and evening, or a single evening dose 30–60 minutes before sleep, maximizes intracellular uptake and supports the magnesium–melatonin axis.
  • Lab testing transforms guesswork into protocol: RBC magnesium levels, vitamin D status, and inflammatory markers together determine the right form, dose, and duration — exactly the data-driven approach Ones uses to build your personalized formula.

Always consult a qualified healthcare provider before beginning any supplementation protocol, especially if you take medications or have a diagnosed medical condition.

Written by Jared Murray, Co-Founder & Head of Health Research, Ones.

Jared is the co-founder and head of health research at Ones, with 25 years applying nutrition science, biomarker interpretation, and clinical supplementation research to individual health programs. He leads the editorial process for the Ones Health Library, where lab data, wearable biometrics, and peer-reviewed clinical research are translated into evidence-based, personalized supplement guidance.

Disclosure: Ones formulates and sells personalized supplements that may include ingredients discussed in this article. We have a financial interest in the products mentioned. Recommendations are based on published research and our editorial standards, not sales targets.

This article is educational content, not medical advice. Consult a healthcare provider before changing your supplement regimen.

Further reading

Related reading