Skip to content
longevity.how
SupplementsModerate evidence

Magnesium for Sleep: What the Trials Actually Show

Founder, lead editorPublished: Last updated: 6 min read

Magnesium is the most recommended sleep supplement on the internet and one of the least trialled. That combination deserves an explanation, because the gap between the marketing and the evidence base here is wider than for glycine, which sells a fraction as much.

−17 minfaster sleep onset (pooled)
3 RCTsn=151, low quality
200–400 mgtrial dose
2 weeksthen judge your log

What do the trials actually show?

Mah and Pitre went looking for every randomised placebo-controlled trial of oral magnesium for insomnia in older adults. They found three, with 151 participants between them. Pooled, magnesium shortened sleep onset latency by 17.4 minutes versus placebo. Total sleep time went up by 16 minutes but did not reach statistical significance. Every trial carried moderate-to-high risk of bias, and the authors graded the overall evidence low to very low quality.

Seventeen minutes is not nothing; it is roughly double what melatonin manages in its own meta-analysis. But three small biased trials is a foundation I would not build a nightly habit on without the price being what it is. The reviewers’ own conclusion was that the literature is substandard for firm recommendations, and then, in the same breath, that magnesium is so cheap and safe that trying it is defensible anyway. I think that is exactly the right amount of enthusiasm.

The largest of the three, Abbasi’s 2012 trial, gave 500 mg daily for 8 weeks to elderly insomniacs and found improved insomnia scores, faster sleep onset and higher sleep efficiency, alongside shifts in melatonin and cortisol. It is also the trial most responsible for the internet’s certainty, and it was done in a population very likely to be deficient, which brings us to the actual mechanism question.

Who plausibly benefits, and who is buying placebo

Magnesium participates in NMDA and GABA signalling, which is the mechanistic story behind the sleep claims. But the boring reading of the trial data is simpler: correcting a deficiency helps, topping up a replete system does little. All three trials ran in older adults, the group most likely to run low.

You are more likely to be in the low-intake group if several of these apply: a diet light on legumes, nuts, whole grains and leafy greens; regular heavy sweating from training or sauna; daily proton-pump inhibitors; diuretics; high alcohol intake; type 2 diabetes. Standard blood tests barely help here, since serum magnesium is held stable at the expense of tissue stores, so a normal result excludes little.

My honest read: if you train hard, sauna often and eat like a busy person, a magnesium trial is reasonable. If your diet is genuinely good, the 17 minutes probably belong to someone else.

Which form should you buy?

This is where most of the money is wasted. Forms differ mainly in elemental magnesium content, absorption and gut tolerance:

Form Absorption Gut tolerance Notes
Glycinate (bisglycinate) good best glycine ballast is itself a sleep supplement; default choice
Citrate good moderate cheapest of the well-absorbed forms; mildly laxative at higher doses
Malate, taurate good good fine; no sleep-specific advantage proven
Oxide poor (a few %) worst high elemental content on the label, most of it stays in the gut; sold because it is cheap
Threonate good good marketed for the brain off rodent data; several times the price, no human sleep superiority shown

Two practical notes. Check elemental magnesium on the label, not compound weight; 2,000 mg of magnesium glycinate is roughly 200 mg of magnesium. And the fact that oxide gives you loose stools is not evidence it is working on your sleep; it is evidence it never left your intestine.

Dose, timing and how to run the trial

The trial doses were around 320 to 500 mg of elemental magnesium daily. A sensible protocol: 200 to 400 mg of glycinate or citrate, taken with the evening meal or an hour before bed, for two weeks, with the same two numbers logged every morning that this site always asks for: minutes to fall asleep, number of awakenings.

Start at 200 mg. Above roughly 350 mg of supplemental magnesium, diarrhoea becomes the common exit, and it arrives faster with citrate than glycinate. If two weeks at 300 to 400 mg move nothing in your log, stop; the deficiency story was not yours, and the money is better spent on a room thermometer.

Interactions worth knowing

Magnesium, glycine or melatonin first?

If your basics are not in place, none of them; the order of operations is the sleep protocol, then supplements. If the basics are in place:

Situation First pick
Diet plausibly low in magnesium, heavy training magnesium
Basics fine, want the best-described mechanism at the lowest cost glycine
The problem is the clock: jet lag, shifted rhythm, falling asleep too late melatonin

These are not competitors on the same axis. Magnesium is a repletion bet, glycine a thermoregulation nudge, melatonin a clock signal. The common mistake is stacking all three before testing any.

What we do not know

Whether magnesium helps sleep in younger, magnesium-replete adults has never been properly tested; the trials are old, small and elderly-only. Head-to-head form comparisons for sleep outcomes do not exist, so the glycinate recommendation rests on tolerance and the glycine ballast, not on a winning trial. And nobody has run magnesium against the boring interventions, a fixed wake time or a cooler bedroom, that cost nothing and have stronger evidence, covered in sleep and longevity.

Where to start

Fix the basics first. Then, if your diet or training makes low magnesium plausible: 200 mg of glycinate with dinner, two weeks, morning log. Judge it on your numbers, not on how the purchase felt. Total cost of the experiment is a few pounds, which is, honestly, the strongest argument magnesium has.

Frequently asked questions

Which magnesium is best for sleep?

Glycinate or citrate. They absorb well, and glycinate is gentlest on the gut while carrying glycine, itself a studied sleep supplement. Oxide absorbs at a few percent and acts mainly as a laxative. Threonate costs several times more on the strength of rodent data, with no demonstrated sleep advantage in humans.

How much magnesium should I take for sleep?

Trials used roughly 320 to 500 mg of elemental magnesium daily. Start at 200 mg with your evening meal and go no higher than 400 mg; above about 350 mg supplemental, diarrhoea becomes common. Check the elemental amount on the label, not the compound weight.

How long does magnesium take to work for sleep?

The positive trials ran up to 8 weeks, but repletion effects, if you get them, usually show inside 1 to 2 weeks. Log minutes-to-sleep daily and decide at the two-week mark. No movement by then most likely means you were not deficient, and continuing is buying placebo.

Can you take magnesium and melatonin together?

There is no known interaction, and the mechanisms differ: one is a mineral repletion, the other a circadian signal. Practically, test them one at a time, two weeks each, or you will not know which one earned its place. Space magnesium 2+ hours from thyroid medication and certain antibiotics.

Sources

  1. Oral magnesium supplementation for insomnia in older adults: a systematic review and meta-analysis (2021) · meta-analysis · PMID 33865376
  2. The effect of magnesium supplementation on primary insomnia in elderly: a double-blind placebo-controlled clinical trial (2012) · RCT · PMID 23853635
  3. Meta-analysis: melatonin for the treatment of primary sleep disorders (2013) · meta-analysis · PMID 23691095

1 protocol, 1 study, 1 test — every week

No spam. One-click unsubscribe.

By subscribing you accept the privacy policy.