larderlab
Explainer· Supplements

What magnesium is actually good for

Evidence reviewed·05 sources cited·Dr. Soraya Khan, RDN
Vol. 1Issue 042026-07-02larderlab.com
Educational use only. Larderlab content is educational. Pantry, macro, and supplement guidance is not a substitute for medical advice. Consult a registered dietitian or your physician before making material changes to your diet or supplementation.

The strongest evidence is for blood pressure and glucose metabolism, with real but mixed support for cramps, migraine, and sleep. What magnesium helps, and how strong the evidence is for each claim.

  1. 01

    Blood pressure: the strongest evidence

    Lowering blood pressure is magnesium's best-supported benefit. Zhang et al. 2016, a meta-analysis of 34 randomized trials, found supplementation reduced systolic pressure by ~2 mmHg and diastolic by ~1.8 mmHg, with larger effects in people who were magnesium-deficient or hypertensive to begin with. Magnesium relaxes vascular smooth muscle and supports endothelial function. The effect is modest and additive to diet and exercise, not a replacement for first-line therapy, but it is real and consistent across trials.

  2. 02

    Glucose metabolism and type 2 diabetes risk

    Magnesium is a cofactor for the enzymes that handle glucose, and low status tracks with insulin resistance. Larsson & Wolk 2007, a meta-analysis of prospective cohorts, found each 100 mg/day increase in magnesium intake was associated with ~15% lower risk of type 2 diabetes. The association is consistent across populations; the open question is whether supplementing reverses risk in people who are already deficient, versus simply reflecting an overall healthier, whole-food diet.

  3. 03

    Muscle cramps: popular use, mixed evidence

    Magnesium is widely taken for muscle cramps, and the mechanism is sound: it counteracts calcium-driven contraction and enables relaxation, so deficiency tilts muscles toward over-excitability (Workinger et al. 2018). But the trial evidence is mixed. For nocturnal leg cramps in the general (non-pregnant) population, controlled trials mostly fail to show a benefit over placebo. It is more plausibly useful when cramps stem from an actual magnesium shortfall, which is the recurring theme across all its claims.

  4. 04

    Migraine prevention: moderate support

    Magnesium has moderate evidence for preventing migraines, strong enough that some neurology guidance lists it as an option, particularly for people with migraine with aura or low magnesium status. Preventive doses used in studies are higher than the RDA and can approach or exceed the supplemental upper limit, so this use belongs under medical guidance rather than open-ended self-dosing. It is a prophylactic, not an acute treatment for an attack in progress.

  5. 05

    Sleep: plausible mechanism, weak evidence

    Magnesium dampens the excitatory NMDA receptor and supports GABA, the mechanistic basis of the sleep claim. But the clinical evidence is low-quality with small effects, concentrated in older or deficient adults rather than the general population (Mah & Pitre 2021). It is a reasonable, low-risk try if you may be short on magnesium, not a reliable sleep aid. Glycinate is the form used at night. See our magnesium for sleep breakdown for the form, dose, and what the studies actually show.

  6. 06

    The unifying rule: benefit scales with deficit

    Across every claim, the pattern repeats: magnesium helps most when you start from a shortfall, and does little when your status is already adequate. Because ~48% of Americans take in less than the requirement from food (NHANES), a real deficit is common. The reliable move is to cover the RDA from food (pumpkin seeds, spinach, black beans, quinoa, almonds), which carries no upper limit, and supplement only a measured gap with a well-absorbed form. See our guide to what magnesium does for the mechanism and our magnesium forms comparison for the $/100mg ranking.

Questions

What people ask us next.

Q01
What is magnesium good for?
Its best-supported benefits are lowering blood pressure (a modest ~2-4 mmHg systolic drop, larger in deficient or hypertensive people; Zhang 2016) and supporting glucose metabolism (Larsson & Wolk 2007). It has real but weaker support for muscle cramps, migraine prevention, and sleep. The common thread is that the benefit is largest when you start from a magnesium deficit, which ~48% of Americans do (NHANES). It is not a cure-all.
Q02
Does magnesium actually lower blood pressure?
Modestly, yes. A meta-analysis of 34 randomized trials found magnesium supplementation lowered systolic pressure by ~2 mmHg and diastolic by ~1.8 mmHg, with bigger effects in people who were deficient or hypertensive at baseline (Zhang et al. 2016). Magnesium relaxes blood-vessel walls and supports endothelial function. The effect is small and additive to diet and exercise, not a substitute for prescribed blood-pressure treatment.
Q03
Is magnesium good for muscle cramps?
It depends on the cause. Magnesium enables muscle relaxation, so a genuine deficit can drive cramps and correcting it may help. But controlled trials of magnesium for nocturnal leg cramps in the general population mostly fail to beat placebo. It is more plausibly useful when the cramps stem from an actual magnesium shortfall than as a blanket cramp remedy. Cover the RDA from food first.
Q04
Is magnesium good for sleep?
The mechanism is plausible, magnesium dampens the excitatory NMDA receptor and supports GABA, but the clinical evidence is low-quality with small effects, mostly in older or deficient adults (Mah & Pitre 2021). It is a reasonable, low-risk try if you may be running short on magnesium, not a dependable sleep aid. Glycinate is the form used at night; see our magnesium for sleep page for the dose and the evidence.
Q05
Who benefits most from magnesium?
People who start from a deficit. Across blood pressure, glucose, cramps, and sleep, the benefit is consistently largest when magnesium status is low and small or absent when it is already adequate. Risk is higher with high alcohol intake, GI malabsorption, type 2 diabetes, or long-term proton-pump-inhibitor or diuretic use. Since ~48% of Americans fall short from food (NHANES), covering the RDA is the reliable first step.
Q06
Should I get magnesium from food or a supplement?
Food first. Dietary magnesium arrives with fiber, potassium, and protein and carries no upper limit, because the gut self-limits absorption. The densest sources are pumpkin seeds, cooked spinach, black beans, quinoa, and almonds. Supplement only a measured gap, typically 100-200 mg/day, staying under the 350 mg/day supplemental upper limit. If you supplement, glycinate and citrate absorb far better than oxide; see our magnesium forms comparison.
Sources

Every claim, cited.

05 refs
  1. [01]Zhang X, Li Y, Del Gobbo LC, et al. 2016. Effects of Magnesium Supplementation on Blood Pressure: A Meta-Analysis of Randomized Double-Blind Placebo-Controlled Trials. Hypertension 68(2):324-333. ~2 mmHg systolic, ~1.8 mmHg diastolic reduction across 34 RCTs.
  2. [02]Larsson SC, Wolk A. 2007. Magnesium intake and risk of type 2 diabetes: a meta-analysis. J Intern Med 262(2):208-214. ~15% lower risk per 100 mg/day increment.
  3. [03]Mah J, Pitre T. 2021. Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis. BMC Complement Med Ther 21(1):125. Low-quality evidence, small effects, concentrated in older/deficient adults.
  4. [04]Moshfegh A, Goldman J, Cleveland L, et al. 2009. What We Eat in America, NHANES. ~48% of the US population consumes less than the EAR for magnesium from food.
  5. [05]NIH Office of Dietary Supplements. Magnesium Fact Sheet for Health Professionals. RDA 400-420 mg/day (men), 310-320 mg/day (women); supplemental UL 350 mg/day; food magnesium has no UL.
The Larderlab Team · byline

The Larderlab Team builds evidence-led frameworks for eating, lifting, and stocking a kitchen. We cite every claim. We publish the spreadsheet when possible. We buy what we review at retail price. When new data lands, we revise with a dated note.

Related

Next in this hub.

Dispatch · lead magnet~ 1 email / week

Get the Larderlab Macro Planner.

A Google Sheet that calculates your protein target, splits it across 3-5 meals, and ranks 20 protein sources by $/gram. Free. Copy-and-modify your own version.

By subscribing, you agree to our Privacy Policy. Unsubscribe anytime.