What magnesium is actually good for
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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
What people ask us next.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Every claim, cited.
- [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.
- [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.
- [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.
- [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.
- [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 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.
Next in this hub.
What Does Magnesium Do? The Functions, by the Evidence
Magnesium is a cofactor in over 300 enzyme reactions: energy production, muscle and nerve signaling, blood pressure, and sleep. What it does, and the dose that does it.
9 min · rev 2026-06-28Magnesium for Sleep: Which Form, What Dose, and the Evidence
Does magnesium help you sleep? The mechanism is real, the trial evidence is modest. Which form (glycinate), what dose (100-350 mg), and who actually benefits.
9 min · rev 2026-06-28Best Magnesium Forms: Glycinate vs Citrate vs Threonate vs Oxide
Which magnesium form for which use case, absorption data, dose ranges, and brand recommendations.
12 min · rev 2026-04-21Get 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.