baseline
Evidence

What the magnesium evidence actually says

21 JUL 20266 min

Three randomised trials, 151 people, and a headline result that does not survive contact with the second outcome. Why magnesium is our worked example — and why that is not an endorsement.

Magnesium is among the most recommended sleep supplements in circulation. It has a plausible mechanism, it is cheap, and it is close to harmless at ordinary doses. None of that is evidence that it will do anything for you. So it is worth looking at what the trial literature actually contains.

The most-cited synthesis is a 2021 systematic review and meta-analysis of oral magnesium for insomnia in older adults [1]. It pools three randomised controlled trials, conducted in Iran, Germany, and the United States, covering 151 people in total.

The number people quote

−17.36 min
Sleep onset latency vs placebo · 95% CI −27.27 to −7.44

Magnesium reduced the time taken to fall asleep by about seventeen minutes relative to placebo. The interval sits well clear of zero. As single findings go, that is a real one, and it is the number that ends up in supplement marketing.

The number people do not quote

+16.06 min
Total sleep time vs placebo · 95% CI −5.99 to +38.12

Total sleep time went up by roughly sixteen minutes, and the interval crosses zero. The data are consistent with magnesium costing you six minutes of sleep and with it gaining you thirty-eight. Those are different enough to warrant different decisions, and this evidence base cannot tell them apart.

Notice that the two outcomes point in directions that are easy to conflate. Falling asleep faster is not the same as sleeping longer, and it is certainly not the same as sleeping better. A supplement can do the first without doing either of the others.

How much weight the evidence carries

All three pooled trials were assessed as moderate-to-high risk of bias, and the outcomes were graded low to very low quality. The review's authors are unusually direct about what follows from that:

This review confirms that the quality of literature is substandard for physicians to make well-informed recommendations on usage of oral magnesium for older adults with insomnia.
Mah & Pitre, 2021

They still note that magnesium's low cost and wide availability mean the trial evidence may support trying it. That is a reasonable position. It is also a different claim from the one on the average supplement label.

Why this is an n-of-1 problem

Suppose the pooled estimate were rock solid. It would still be an average over 151 mostly older adults with diagnosed insomnia. If you are thirty-four and sleep tolerably, that population is not you, and the estimate was never about you. Heterogeneity of treatment effect is not a footnote here — it is the entire question a person is asking when they wonder whether to keep taking something.

This is why magnesium is the worked example on our homepage. It is the archetypal case: widely taken, biologically plausible, thinly evidenced at the population level, and perfectly tractable at the individual level, because it is cheap, reversible, and easy to start and stop on a schedule. That makes it a good candidate for a personal trial. It does not make it a recommendation, and nothing here is medical advice.

Sources

  1. 1.Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis. BMC Complement Med Ther. 2021;21:125. doi:10.1186/s12906-021-03297-z. PMID 33865376. Link ↗
← All notes