Magnesium for sleep
Magnesium may help some people sleep a little better, but the evidence is thin: a 2026 review of 12 trials found the results inconsistent and the certainty low to very low. The trials used several forms, none we could find compared one with another, and glycinate has a single trial behind it. Supplements have an upper limit, and people with kidney disease should not take them without advice.
Does magnesium help you sleep?
Possibly a little, for some people — and the trials are not good enough to say more. A 2021 review found 3 placebo-controlled trials in 151 older adults. Pooled, people taking magnesium fell asleep 17 minutes sooner than on placebo; their total sleep rose by 16 minutes, which was not statistically significant. All 3 trials were at moderate to high risk of bias, the evidence was rated low to very low in quality, and the authors judged it not good enough for doctors to make well-informed recommendations (Mah and Pitre, 2021).
A broader 2026 review of 12 trials in adults reached the same place. Findings were inconsistent across questionnaires, sleep EEG, actigraphy and wearables, the certainty was low to very low, and the evidence “does not support oral magnesium as a routine treatment for insomnia”, though it may give modest benefits on some self-rated measures for some adults (Lopresti and colleagues, 2026).
Sleep supplements: what the evidence shows puts magnesium beside melatonin, valerian and the rest.
What did the magnesium trials actually test?
Four placebo-controlled trials show the range: who took part, what they took, and what changed.
| Trial | Who | What they took | What changed against placebo |
|---|---|---|---|
| Abbasi and colleagues, 2012 (Iran) | 46 adults aged 60 to 75 with insomnia, all getting no more than three-quarters of the recommended magnesium from food | 500 mg of magnesium a day, as magnesium oxide, for 8 weeks | Better insomnia scores, sleep efficiency, time to fall asleep and sleep time on questionnaires and sleep logs — though a separate measure, total sleep time, did not differ significantly |
| Held and colleagues, 2002 (Germany) | 12 adults aged 60 to 80 | Magnesium tablets building to about 730 mg a day, for 20 days | More slow-wave (deep) sleep on EEG: 16.5 minutes against 10.1. Every participant had soft stools, a 2021 review notes |
| Nielsen and colleagues, 2010 (US) | 100 adults aged 51 to 85 with poor sleep quality | 320 mg of magnesium a day, as magnesium citrate, for 7 weeks | Sleep-quality scores improved just as much on placebo; the authors suspect a placebo effect |
| Schuster and colleagues, 2025 (Germany) | 155 adults aged 18 to 65 who said they slept poorly | 250 mg of magnesium a day, as magnesium bisglycinate, for 4 weeks | Insomnia scores fell by 3.9 points, against 2.3 on placebo — a small effect |
Three things stand out. The trials are small. Most were in older adults, and the 2012 trial took only people who were getting too little magnesium from food — so whether it helps someone who already gets enough is a question it does not answer. And most of what was measured is how people rated their own sleep, which is exactly where the 2010 trial found placebo doing as well as magnesium.
Which magnesium is best for sleep?
Nobody knows yet. We could not find a trial that compared one form of magnesium with another for sleep (searched October 2026), and the authors of the first trial of magnesium bisglycinate for sleep list that comparison as research still to be done (Schuster and colleagues, 2025). What is known about the forms:
- Glycinate (bisglycinate) has 1 placebo-controlled trial for sleep, the 2025 study above, with a small effect on insomnia scores. 250 mg of magnesium as bisglycinate carries about 1.5 g of glycine, its authors note — half the 3 g given at bedtime in a 2012 glycine study (Bannai and colleagues, 2012).
- Oxide and citrate are the forms the older sleep trials used (Mah and Pitre, 2021). In small absorption studies, citrate, aspartate, lactate and chloride were absorbed more completely than oxide (NIH Office of Dietary Supplements) — yet the 2012 trial that reported benefits used oxide.
- L-threonate has 2 trials, both funded by companies behind the product. In 80 adults aged 35 to 55, 1 g a day for 21 days improved “deep sleep” and “REM sleep” scores from a consumer sleep ring, and several self-rated daytime measures (Hausenblas and colleagues, 2024). In 100 adults aged 18 to 45, 2 g a day for 6 weeks improved some self-rated sleep measures, but none of the sleep measured by the ring (Lopresti and Smith, 2025).
Two practical points from the NIH Office of Dietary Supplements: the figure on a label is the elemental magnesium, not the weight of the whole compound, and the forms most often reported to cause diarrhoea are carbonate, chloride, gluconate and oxide.
Could you be low in magnesium?
Possibly, but a deficiency you would notice is uncommon in healthy people, because the kidneys hold on to magnesium when intake is low. The people most likely to fall short are those with gut conditions such as Crohn’s disease or coeliac disease, people with type 2 diabetes, people dependent on alcohol, and older adults. Early signs of a real deficiency are vague — loss of appetite, nausea, vomiting, tiredness and weakness — and routine electrolyte tests in hospitals and clinics do not include magnesium (NIH Office of Dietary Supplements).
Food is the usual source: green leafy vegetables, legumes, nuts, seeds and whole grains are all good ones. The adult recommendation in the US is 400 to 420 mg a day for men and 310 to 320 mg for women (NIH Office of Dietary Supplements); the NHS gives 300 mg for men and 270 mg for women (NHS, 2020).
If you think you might be low, that is a question for a doctor, who can look at the conditions above — not a reason to guess with a tub.
How much magnesium is too much?
The limits are for supplements and medicines, not food: magnesium in food is no risk to healthy people, because the kidneys clear the excess (NIH Office of Dietary Supplements). The authorities do not quite agree on the number.
- United States: the upper limit for magnesium from supplements is 350 mg a day for adults (NIH Office of Dietary Supplements).
- European Union: EFSA’s table gives 250 mg a day for adults, including in pregnancy, for magnesium salts and magnesium oxide in supplements, water and fortified foods — not for magnesium that occurs naturally in food (EFSA, 2025, from a 2001 opinion).
- United Kingdom: the NHS says 400 mg a day or less from supplements is unlikely to cause any harm (NHS, 2020).
The first sign of too much is usually diarrhoea, with nausea and cramps; very large doses, mostly from laxatives and antacids, can cause dangerous magnesium toxicity (NIH Office of Dietary Supplements). The 2012 trial’s 500 mg a day was above all three limits, given under a trial’s supervision. Trial doses are not a guide to what to take.
Who should not take magnesium without advice?
- People with kidney disease. The risk of magnesium toxicity rises as kidney function falls, because the body can no longer clear the excess (NIH Office of Dietary Supplements). The 2012 trial excluded anyone with kidney disease.
- People taking certain medicines. Magnesium reduces the absorption of oral bisphosphonates for osteoporosis, such as alendronate, and binds to tetracycline and quinolone antibiotics. The Office of Dietary Supplements advises keeping bisphosphonates and magnesium at least 2 hours apart, and taking those antibiotics 2 hours before or 4 to 6 hours after it. Some diuretics, and long-term use of proton pump inhibitors for reflux, change magnesium levels too.
- Anyone already taking magnesium in a multivitamin, an antacid, a laxative or the sleepy girl mocktail: the limits above are for the total.
What if magnesium isn’t the answer?
For most people it probably is not the whole answer. If trouble sleeping has lasted months and is affecting your days, see a doctor: the recommended first treatment for chronic insomnia is cognitive behavioural therapy for insomnia, CBT-I (Qaseem and colleagues, 2016; Edinger and colleagues, 2021).
For ordinary restless evenings, the habits in a bedtime routine for adults cost nothing to try, and the melatonin page does for melatonin what this page does for magnesium.
Sources
- Mah & Pitre (2021) — Oral magnesium supplementation for insomnia in older adults: a systematic review & meta-analysis. BMC Complementary Medicine and Therapies 21(1), 125
- Lopresti, Smith & Drummond (2026) — Magnesium supplementation for sleep in adults: a systematic review of randomized controlled trials. Journal of Dietary Supplements 23(5), 553–581
- Abbasi et al. (2012) — The effect of magnesium supplementation on primary insomnia in elderly: a double-blind placebo-controlled clinical trial. Journal of Research in Medical Sciences 17(12), 1161–1169
- Held et al. (2002) — Oral Mg2+ supplementation reverses age-related neuroendocrine and sleep EEG changes in humans. Pharmacopsychiatry 35(4), 135–143
- Nielsen, Johnson & Zeng (2010) — Magnesium supplementation improves indicators of low magnesium status and inflammatory stress in adults older than 51 years with poor quality sleep. Magnesium Research 23(4), 158–168
- Schuster, Cycelskij, Lopresti & Hahn (2025) — Magnesium bisglycinate supplementation in healthy adults reporting poor sleep: a randomized, placebo-controlled trial. Nature and Science of Sleep 17, 2027–2040
- Hausenblas et al. (2024) — Magnesium-L-threonate improves sleep quality and daytime functioning in adults with self-reported sleep problems: a randomized controlled trial. Sleep Medicine: X 8, 100121
- Lopresti & Smith (2025) — The effects of magnesium L-threonate on cognitive performance and sleep quality in adults: a randomised, double-blind, placebo-controlled trial. Frontiers in Nutrition 12, 1729164
- Bannai, Kawai, Ono, Nakahara & Murakami (2012) — The effects of glycine on subjective daytime performance in partially sleep-restricted healthy volunteers. Frontiers in Neurology 3, 61
- NIH Office of Dietary Supplements (2026) — Magnesium: fact sheet for health professionals
- European Food Safety Authority (2025) — Overview on tolerable upper intake levels as derived by the Scientific Committee on Food (SCF) and the EFSA Panel on Dietetic Products, Nutrition and Allergies (NDA). Version 11
- NHS (2020) — Vitamins and minerals: others (magnesium)
- Qaseem et al. (2016) — Management of chronic insomnia disorder in adults: a clinical practice guideline from the American College of Physicians. Annals of Internal Medicine
- Edinger et al. (2021) — Behavioral and psychological treatments for chronic insomnia disorder in adults: an American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine 17(2), 255–262