Home / Journal / Natural Aids
Magnesium for Sleep: Does It Work, Which Form, and How Much
Magnesium has a good reputation for sleep and a modest record. In the trials, it helps a little: a few minutes off the time it takes to fall asleep, and a slightly lower score on insomnia questionnaires. The people most likely to notice are those who weren't getting enough of it to begin with, which in the studies mostly meant older adults.
In this piece
That's a smaller promise than the internet makes. It's still worth knowing exactly how small, because magnesium is cheap, mostly safe at sensible doses, and easy to stop.
What the trials found
The clearest summary is a 2021 systematic review. It found three randomized trials comparing oral magnesium with placebo, covering 151 older adults in three countries. Pooled together, people on magnesium fell asleep about 17 minutes faster than people on placebo. Total sleep time rose by about 16 minutes, but that result wasn't statistically significant.
The reviewers were blunt about the evidence behind those numbers. All three trials carried a moderate to high risk of bias, and the quality of evidence was low to very low. Their conclusion was that the research isn't good enough for doctors to make confident recommendations about magnesium for insomnia in older adults.
Two newer trials moved the picture a little.
- Magnesium bisglycinate, 2025. A four-week trial in Germany gave 155 adults aged 18 to 65 who reported poor sleep either 250 mg of magnesium a day or a placebo. Insomnia Severity Index scores fell by 3.9 points on magnesium and 2.3 on placebo. The difference was statistically significant, just (p = 0.049). On a 0 to 28 scale, that's a 1.6-point edge, which you'd probably feel as slightly easier nights rather than different ones. The authors called the improvement modest.
- Magnesium L-threonate, 2024. Eighty adults aged 35 to 55 with self-reported sleep problems took 1 g a day of magnesium L-threonate or a placebo for 21 days. On Oura ring measures, the magnesium group scored better on deep and REM sleep. One of the study's investigators works for the company that makes the ingredient, which doesn't make the result wrong but is worth knowing.
Put together: a real but small effect, seen across a handful of modest trials. Magnesium is not a sleeping pill, and the studies don't suggest it behaves like one.
Who it's most likely to help
The idea behind magnesium for sleep rests on a shortfall. The 2021 review notes that older adults are at higher risk of low magnesium, which may change sleep through hormonal and sleep-wake pathways. All three of its trials recruited older adults with insomnia.
If you're younger, eat a varied diet, and sleep badly for other reasons (a racing mind, a late screen, a shifting schedule), there's less reason to expect magnesium to change much. It's still a reasonable experiment. Just set the expectation by the evidence.
Which form to take
Supplements contain magnesium in different forms, and the NIH Office of Dietary Supplements notes that absorption varies between them. For sleep specifically, two forms now have their own trials.
- Glycinate (bisglycinate): the 2025 trial above, at 250 mg of magnesium a day. It isn't among the forms the NIH lists as most often causing diarrhea (carbonate, chloride, gluconate and oxide).
- L-threonate: the 2024 trial above. A gram of magnesium L-threonate holds much less magnesium than a gram of glycinate, so check the magnesium per serving on the label.
Whatever you buy, check the magnesium per serving on the Supplement Facts panel (sometimes called elemental magnesium), not the weight of the whole compound, which some bottles print on the front. That one number decides whether you're near the dose the trials used. Our magnesium glycinate buyer's guide compares six products by magnesium per serving and testing.
How much, and when
- Start at 200 to 250 mg of magnesium a day, going by the magnesium per serving on the label. The 2025 glycinate trial used 250 mg.
- Stay at or under 350 mg a day from supplements unless a clinician says otherwise. That's the NIH's tolerable upper limit for supplemental magnesium in adults. Food doesn't count toward it.
- Take it in the evening. The threonate trial dosed two hours before bed, which is a sensible window for any form.
- Give it four weeks. Both newer trials ran three to four weeks, and the older ones longer. One night tells you nothing.
The older trials used higher doses than the 350 mg limit. That's why we don't copy them without a clinician involved.
If you wake at 3 a.m. rather than lying awake at 11, read where magnesium fits for the 3 a.m. wake-up too. The causes are different, and so is what helps.
Sprays, oils and bath flakes
Magnesium sprays, "magnesium oil" and Epsom salt baths are sold as a better route in, through the skin and past the gut. A 2017 review in Nutrients went through the evidence for that claim and concluded it is scientifically unsupported. Healthy skin is built to keep things out, and the studies that seem to show absorption are small or uncontrolled.
A warm bath before bed is a different matter. It can help you fall asleep, but because of what heat does to your body, not because of the salts. Our page on the warm bath before bed explains the timing.
Who should check first
- Kidney problems: the NIH notes that the risk of magnesium toxicity rises when the kidneys can't clear the excess, so ask your doctor before starting any supplement.
- Certain medicines: magnesium can block the absorption of some osteoporosis drugs (oral bisphosphonates) and some antibiotics (tetracyclines and quinolones). The NIH advises spacing them a few hours apart, and diuretics and long-term acid reflux drugs (PPIs) can change your magnesium levels too. Take your list to a pharmacist. Our page on whether natural sleep aids are safe covers other interactions.
- Diarrhea, nausea or cramps: these are the usual signs of too much from supplements. Lower the dose.
FAQ
Does magnesium help you sleep? A little, in the trials. The best pooled data found people fell asleep about 17 minutes faster than on placebo, from low-quality trials in older adults. A 2025 glycinate trial found a small improvement in insomnia scores in adults with poor sleep.
What is the best magnesium for sleep? Glycinate and L-threonate are the two forms with their own sleep trials. Glycinate is the easier one to dose by magnesium per serving.
How much magnesium should I take for sleep? 200 to 250 mg of magnesium in the evening (the per-serving number on the label) is a sensible start. Stay at or under 350 mg a day from supplements, the NIH upper limit for adults, unless a clinician advises otherwise.
When should I take magnesium for sleep? In the evening, about one to two hours before bed. Give it four weeks before judging it.
Does magnesium spray work for sleep? There's no good evidence that magnesium gets through healthy skin in useful amounts. A warm bath can still help you sleep, through heat rather than the salts.
The bottom line
Magnesium is a cheap, gentle thing to try if you suspect you're low in it, and a small one. Choose a form with the magnesium per serving printed clearly, take 200 to 250 mg in the evening, and give it a month. If your sleep is still poor after that, the answer is probably somewhere other than the supplement shelf. The seven natural sleep aids with real evidence is a good place to look next.
Sources
Retrieved 13 November 2026.
- Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a systematic review and meta-analysis. BMC Complement Med Ther. 2021;21(1):125. PMC8053283
- Schuster J, Cycelskij I, Lopresti A, Hahn A. Magnesium bisglycinate supplementation in healthy adults reporting poor sleep: a randomized, placebo-controlled trial. Nat Sci Sleep. 2025;17:2027-2040. PMC12412596
- Hausenblas HA, Lynch T, Hooper S, Shrestha A, Rosendale D, Gu J. Magnesium-L-threonate improves sleep quality and daytime functioning in adults with self-reported sleep problems: a randomized controlled trial. Sleep Med X. 2024;8:100121. PubMed 39252819 (abstract) and trial registration ISRCTN14728094 (dose timing)
- National Institutes of Health, Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals. ods.od.nih.gov
- Gröber U, Werner T, Vormann J, Kisters K. Myth or reality: transdermal magnesium? Nutrients. 2017;9(8):813. PMC5579607
Educational only. This article is not medical advice, and nothing in it is a substitute for talking to a clinician about your own sleep.




