Research brief · 2026-09-09

Does Magnesium Help You Sleep?

Magnesium is a mineral involved in hundreds of reactions in the body, including the NMDA and GABA signaling systems that regulate sleep. That plausible mechanism, plus low cost, has made it one of the most widely sold sleep supplements. The published trial record is much thinner than the shelf space suggests.

The best pooled evidence is Mah and Pitre's 2021 systematic review in BMC Complementary Medicine and Therapies. Searching for every randomized trial of oral magnesium against placebo for insomnia in older adults, they found three, covering 151 people. Pooled, magnesium reduced sleep onset latency by 17.4 minutes compared with placebo. Total sleep time improved by about 16 minutes, but that did not reach significance. The reviewers rated all three trials at moderate-to-high risk of bias and the evidence as low to very low quality.

The most detailed of those trials, Abbasi's 2012 study in the Journal of Research in Medical Sciences, randomized 46 elderly adults with primary insomnia to magnesium or placebo for eight weeks. The magnesium group improved on insomnia severity, sleep efficiency and sleep onset latency, and blood tests showed lower cortisol and higher melatonin. Total sleep time did not differ. The hormone changes gesture at a mechanism, but a single 46-person trial cannot prove one.

Where sleep was a secondary outcome, magnesium mostly did not deliver. Roguin Maor's 2017 trial in JAMA Internal Medicine tested magnesium oxide in 94 adults with nocturnal leg cramps and found no difference in sleep quality from placebo. Ni's 2023 trial of magnesium-L-threonate in 109 breast cancer surgery patients found no significant improvement in sleep, mood or pain over 12 weeks.

The honest picture is a small, low-certainty signal on time to fall asleep in insomnia-specific trials, and null results elsewhere. No trial screened for baseline deficiency, none compared magnesium forms, and none ran longer than 12 weeks. Persistent sleep problems are worth raising with a physician.

Sources

Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis
BMC Complementary Medicine and Therapies 2021
Abbasi B et al. The effect of magnesium supplementation on primary insomnia in elderly: a double-blind placebo-controlled clinical trial
Journal of Research in Medical Sciences 2012
Roguin Maor N et al. Effect of Magnesium Oxide Supplementation on Nocturnal Leg Cramps: A Randomized Clinical Trial
JAMA Internal Medicine 2017
Ni Y et al. Magnesium-L-Threonate Supplementation for Persistent Pain After Breast Cancer Surgery: A Randomized Placebo-Controlled Trial
Breast Cancer (Dove Medical Press) 2023

Peptide Proof reports what studies found. We do not give medical advice, dosing guidance, or treatment recommendations.