Vitamins and minerals

Magnesium and sleep: does it really help you fall asleep?

Magnesium has become one of the most popular supplements for sleep, recommended everywhere from social media to pharmacy shelves. Magnesium does play a role in the nervous system, but does taking it actually help you sleep? The research gives a more cautious answer than the marketing.

What the research shows

In 2021, a systematic review and meta-analysis in BMC Complementary Medicine and Therapies looked at magnesium supplements for insomnia in older adults [1]. The researchers found only three randomised trials comparing magnesium with placebo, with a total of 151 older adults in three countries [1].

Compared with placebo, magnesium [1]:

  • shortened the time it took to fall asleep by about 17 minutes on average;
  • increased total sleep time by about 16 minutes, but this difference was not statistically significant.

How certain is this?

Not very. All three trials were at moderate to high risk of bias, and the quality of evidence was rated low to very low [1]. The authors concluded that the research is not good enough for doctors to make well-informed recommendations about magnesium for sleep [1]. The trials were also done only in older adults, so the results may not apply to younger people. Larger, better-designed studies are needed.

In short: magnesium might help some people fall asleep slightly faster, but it is not a proven treatment for insomnia.

How much magnesium do you need?

The European Food Safety Authority set an adequate intake of 350 mg a day for men and 300 mg a day for women, with the same value in pregnancy and breastfeeding [2]. Good food sources include nuts, seeds, legumes, whole grains and leafy green vegetables. A varied diet based on these foods covers needs for most people.

Is it safe to take supplements?

Magnesium from food is not a concern, but magnesium from supplements can cause diarrhoea. The upper limit for supplemental magnesium, on top of what you get from food, is 250 mg a day [3]. The German Federal Institute for Risk Assessment also recommends splitting the daily dose into at least two portions [3].

What actually helps sleep

  • A fixed wake-up time, including at weekends.
  • Less caffeine in the afternoon and less alcohol in the evening.
  • A cool, dark, quiet bedroom and fewer screens before bed.
  • Daylight and movement during the day.

If you have kidney disease, take medication (some antibiotics, diuretics or drugs for osteoporosis can interact with magnesium) or have long-lasting insomnia, talk to your doctor before taking magnesium. Chronic insomnia has effective treatments, and it is worth getting proper help.

The personalised meal plan includes magnesium-rich foods in everyday meals, so you rely on food first.

Sources

  1. Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a systematic review and meta-analysis. BMC Complementary Medicine and Therapies. 2021.
  2. EFSA Panel on Dietetic Products, Nutrition and Allergies (NDA). Scientific Opinion on Dietary Reference Values for magnesium. EFSA Journal. 2015;13(7):4186.
  3. German Federal Institute for Risk Assessment (BfR). BfR assesses maximum daily level for magnesium in food supplements.

This article is for educational purposes and does not replace advice from a doctor. If you have a medical condition, take medication, are pregnant or breastfeeding, talk to your doctor before changing your diet or starting supplements.

Robart Petrov

Certified nutritionist and fitness consultant, founder of Property of Health. Certified by Stanford Medicine, NASM and the University of Colorado Boulder.

Want a plan built around you?

A free online consultation, about 15 minutes.

Book a free consultation