Evidence-first health & aging science Newsletter
Live Well News Live Well News
Back to Supplements

Explainer · Supplements

Does magnesium help you sleep? What the trials show

Magnesium is one of the most popular supplements for sleep. The trials behind it are small and short, and the benefits they found are modest: minutes, not hours, and small shifts on sleep questionnaires.

A hand dropping a white tablet into a glass of water against a lavender background.
Summary
  • A 2021 review found only three small trials, with 151 older adults in total, testing magnesium for insomnia.
  • People fell asleep about 17 minutes faster on magnesium; total sleep time did not clearly change.
  • A 2025 trial of 155 adults found a small improvement in insomnia scores after four weeks.
  • All the trials were short, and the review rated the quality of evidence low to very low.
  • MedlinePlus says true magnesium deficiency is rare, and supplements are not currently advised for disease prevention.

Magnesium has become one of the most talked-about sleep supplements, recommended online as a gentle, natural alternative to sleeping pills. It is cheap, widely available and plausible: the mineral is involved in how nerves and muscles work.

The trial evidence is thin. The best summary so far found just three small trials in older adults, and the benefits they showed were measured in minutes. Newer trials in younger adults point in the same direction, with small effects over a few weeks.

What magnesium does in the body

MedlinePlus notes that magnesium is needed for more than 300 biochemical reactions in the body. It helps to maintain normal nerve and muscle function, supports the immune system, keeps the heartbeat steady and helps keep bones strong.

Most people get it from food. Dark green leafy vegetables, nuts, beans, seeds and whole grains are good sources. According to MedlinePlus, although people may not get enough magnesium from their diet, it is rare to be truly lacking in magnesium. That matters for sleep claims, because a supplement is most likely to help people who are short of a nutrient.

What a review of magnesium and insomnia found

The clearest summary is a 2021 systematic review in BMC Complementary Medicine and Therapies, focused on older adults with insomnia. Its authors searched for trials comparing magnesium with placebo or no treatment and found three randomized control trials were identified comparing oral magnesium to placebo in 151 older adults, across three countries.

Pooled, people taking magnesium took about 17 minutes less to fall asleep than those on placebo. Total sleep time rose by about 16 minutes, but that difference was not clear enough to rule out chance. All trials were at moderate-to-high risk of bias and outcomes were supported by low to very low quality of evidence, and the authors concluded that the research was not good enough for doctors to make well-informed recommendations.

What newer magnesium trials show

Two newer trials tested specific forms of magnesium in younger adults. In the larger, published in Nature and Science of Sleep in 2025, 155 adults aged 18 to 65 with self-reported poor sleep took magnesium bisglycinate, 250 mg of elemental magnesium, or a placebo daily. After four weeks, insomnia scores had fallen more in the magnesium group, and the authors describe the effect size was small (Cohen’s d = 0.2), indicating a modest benefit. Other psychological outcomes did not differ.

A smaller 2024 trial in Sleep Medicine X gave 80 adults aged 35 to 55 either 1 gram a day of magnesium L-threonate or placebo for 21 days. Its authors report that the magnesium group maintained good sleep quality and daytime functioning, while placebo declined. The magnesium group also scored better on sleep questionnaires and on some measures from a sleep-tracking ring, including deep and REM sleep scores. That trial was short and small, and ring-based sleep stages are estimates rather than clinical measurements.

How much of the magnesium effect is placebo?

Sleep trials show large placebo effects, which is why comparing against a placebo group matters. In the 2025 trial, insomnia scores fell by 3.9 points on magnesium, but they also fell by 2.3 points on placebo capsules. Most of the improvement people noticed would have happened without the magnesium.

The difference between the groups, about 1.6 points on a 28-point insomnia scale, is what the supplement added. That is real but small, and it is why the authors call the benefit modest.

Why the magnesium evidence is weak

Every trial so far is small and short, from three weeks to a few months. Most measured sleep with questionnaires, which are sensitive to people’s expectations when they know a product is meant to help sleep, although placebo groups partly account for that.

The trials used different forms and doses of magnesium and different kinds of participants, so it is hard to combine them. The 2025 trial found hints that people eating less magnesium improved more, but that was an exploratory finding that needs testing in its own right.

Safety and regulation of magnesium supplements

Magnesium from food is not a concern for healthy people. MedlinePlus notes that magnesium excess most often occurs when a person is taking in too much of the mineral in supplement form or using magnesium-containing laxatives. People with kidney problems clear magnesium less well, which is one reason supplement use is a question for a doctor in that group.

On disease prevention more broadly, MedlinePlus states that taking magnesium supplements is not currently advised. As with other supplements in the US, supplement firms are responsible for evaluating the safety and labeling of their products before marketing; the Food and Drug Administration does not approve them before sale.

What the magnesium and sleep evidence adds up to

Magnesium may help some people fall asleep a little faster, and it may slightly improve how people rate their sleep over a few weeks. The size of those effects is small, the trials are few and short, and the quality of evidence is low.

That is a much weaker picture than the supplement’s reputation. Treatments for insomnia with stronger evidence, including cognitive behavioral therapy for insomnia, are covered by sleep specialists, and persistent poor sleep can have causes that a supplement would not address.

People also ask

Does magnesium help people fall asleep?

In a 2021 meta-analysis of three trials in older adults, people taking magnesium fell asleep 17.36 minutes faster than those on placebo (95% CI 7.44 to 27.27 minutes). Total sleep time rose by about 16 minutes, but that difference could have been chance. The evidence was rated low to very low quality.

What did newer trials find?

A 2025 trial of magnesium bisglycinate in 155 adults with poor sleep found a greater drop in insomnia scores over four weeks than placebo, with a small effect size. A 2024 trial of magnesium L-threonate in 80 adults found better scores on sleep questionnaires and a wearable ring over 21 days.

Are some forms of magnesium better for sleep?

The trials tested different forms, including magnesium oxide, bisglycinate and L-threonate, but none compared forms directly, so there is no good evidence that one works better than another.

Who might be most likely to benefit?

In the 2025 trial, exploratory analyses suggested larger improvements in people with lower magnesium intake from food, which would need to be confirmed. True magnesium deficiency is rare.

Can magnesium supplements cause problems?

MedlinePlus notes that magnesium excess most often occurs from taking too much in supplement form or using laxatives that contain magnesium. Supplements are not approved by the FDA before sale.

What foods contain magnesium?

MedlinePlus lists dark green leafy vegetables, nuts such as almonds and cashews, beans, seeds, soy products and whole grains. This is general information rather than medical advice.

References

  1. Mah, J., Pitre, T. Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis. BMC Complementary Medicine and Therapies, 2021.
  2. Schuster, J., Cycelskij, I., Lopresti, A., Hahn, A. Magnesium Bisglycinate Supplementation in Healthy Adults Reporting Poor Sleep: A Randomized, Placebo-Controlled Trial. Nature and Science of Sleep, 2025.
  3. Hausenblas, H. A., Lynch, T., Hooper, S., et al. Magnesium-L-threonate improves sleep quality and daytime functioning in adults with self-reported sleep problems: A randomized controlled trial. Sleep Medicine X, 2024.
  4. MedlinePlus Medical Encyclopedia. Magnesium in diet. US National Library of Medicine.
  5. US Food and Drug Administration. Dietary Supplements.
Search