Some links on this page are affiliate links. If you buy through them we may earn a commission, at no extra cost to you. It never changes our rankings. How we make money
Sleep & stress

Magnesium for sleep: what the evidence shows

Magnesium is the most searched-for sleep supplement. Trials show a small effect, mainly in people low in magnesium, and UK and EU law allow no sleep claim for it. Here is what is actually known.

Compare forms, doses and products: Magnesium →Ashwagandha →Melatonin →Sleep →

This guide contains affiliate links. If you buy through them we may earn a commission at no extra cost to you. Information only — not medical advice.

Bedside table with a lamp, a glass of water and a dish of green crystals under a crescent moon
AI-generated illustration · NutriMetrics

Key takeaways

  • There is no authorised claim linking magnesium to sleep in the UK or the EU. The only authorised sleep claim belongs to melatonin, which in the UK is a prescription-only medicine.
  • A meta-analysis in older adults found people fell asleep about 17 minutes sooner, on low-quality evidence. A 2025 trial of bisglycinate found a small improvement in insomnia scores.
  • Benefits seem larger in people with low dietary magnesium.
  • If you try it: bisglycinate or citrate, up to 250 mg of magnesium from supplements a day (EFSA; the NHS figure is 400 mg), for at least 4 weeks.

The short answer

Magnesium may help a little with sleep, especially if your diet is low in it, but the trials are small and the effects modest. UK and EU law do not allow any brand to claim that magnesium improves sleep. If you want to try it, take bisglycinate or citrate, up to 250 mg of magnesium a day from the supplement, for at least 4 weeks, and judge whether it makes a difference. If you have slept badly for more than three months, see your GP: chronic insomnia has treatments with far stronger evidence.

What the studies show

StudyWho took partResult
Mah & Pitre meta-analysis (2021)3 trials, older adults with insomniaFell asleep about 17 minutes sooner than with placebo; no clear change in total sleep time. Evidence quality: low
Schuster et al. trial (2025)155 adults reporting poor sleep, 4 weeks, 250 mg magnesium as bisglycinateSmall improvement in insomnia severity vs placebo (d = 0.2, p = 0.049). No difference in fatigue, stress or mood
Rawji et al. systematic review (2024)8 sleep studies5 positive, 1 mixed, 2 no effect. Possible help for mild insomnia, mainly with low magnesium

The pattern is consistent: a small effect, measured mostly by questionnaires, in short and small studies. The authors of the 2025 trial call the improvement modest and ask for studies with objective sleep measurements.

What the law allows on the label

In the UK and the EU, magnesium has the same authorised claims: it contributes to the reduction of tiredness and fatigue, normal nervous system and muscle function, and normal psychological function. None mentions sleep.

The only authorised sleep claim belongs to melatonin: it contributes to reducing the time taken to fall asleep, at 1 mg shortly before bedtime. That is why many “sleep” products sold in the EU combine magnesium with melatonin. In the UK those combinations cannot legally be sold as supplements, because melatonin is a prescription-only medicine; in 2025 the MHRA recalled children’s “magnesium” gummies that turned out to contain melatonin. A magnesium-only pack promising “better sleep” is going beyond what the law allows. See our table of approved health claims and our melatonin guide.

How to take it if you want to try

  1. Form: bisglycinate or citrate. Both are absorbed better than oxide and usually well tolerated. More in our guide to magnesium forms.
  2. Dose: 100–250 mg of elemental magnesium a day. EFSA’s upper level for magnesium from supplements is 250 mg; the NHS says 400 mg or less is unlikely to cause harm. Above those amounts, diarrhoea becomes more likely.
  3. Timing: afternoon or evening, as in the studies. Germany’s BfR advises splitting the daily amount into at least two doses.
  4. Duration: at least 4 weeks before deciding whether it works.
  5. Check your diet: nuts, legumes, whole grains, cocoa and leafy greens all supply magnesium. If you already eat plenty, a supplement probably adds little.

Talk to your GP or pharmacist first if you have kidney disease, or take bisphosphonates, tetracycline or quinolone antibiotics, diuretics or proton pump inhibitors long term.

If magnesium is not enough

Supplements do not replace what works best for sleep: regular sleep times, daylight in the morning, less caffeine after midday and fewer screens before bed. For chronic insomnia, cognitive behavioural therapy for insomnia (CBT-I) is the first-line treatment in the 2023 European Insomnia Guideline, and the NHS says a GP may offer CBT, face to face or through an online programme. GPs now rarely prescribe sleeping pills.

Our goal finder compares the evidence for magnesium with other sleep options such as melatonin, L-theanine and ashwagandha.

FAQ

Does magnesium help you sleep?

It may help a little, mainly in people low in magnesium. Trials are small and effects modest. There is no authorised sleep claim for magnesium in the UK or the EU.

What is the best magnesium for sleep?

The most recent trial used bisglycinate. Bisglycinate and citrate are absorbed better than oxide and are usually well tolerated. No trial has compared forms head to head for sleep.

When should I take magnesium for sleep?

Studies usually give it in the evening, but no time has been shown to be best. Germany's BfR advises splitting the daily amount into at least two doses for better tolerance.

Magnesium or melatonin?

They do different things. In the EU, melatonin has the only authorised claim for reducing the time it takes to fall asleep, at 1 mg shortly before bed. In the UK melatonin is prescription-only, so it is not an over-the-counter option. Magnesium has claims for tiredness and muscle function, not for sleep.

Can I take magnesium every night?

Yes, within the upper limits: 250 mg a day from supplements according to EFSA, 400 mg according to the NHS. Talk to your GP if you have kidney disease or take medicines that interact with magnesium.

Sources

  1. NHS — Insomnia
  2. NHS — Others (magnesium)
  3. DHSC — Great Britain nutrition and health claims (NHC) register
  4. Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a systematic review and meta-analysis. BMC Complement Med Ther, 2021
  5. Schuster J et al. Magnesium bisglycinate supplementation in healthy adults reporting poor sleep: a randomized placebo-controlled trial. Nat Sci Sleep, 2025
  6. Rawji A et al. Examining the effects of supplemental magnesium on self-reported anxiety and sleep quality: a systematic review. Cureus, 2024
  7. European Commission — EU Register of nutrition and health claims
  8. EFSA — Dietary reference values and tolerable upper intake levels
  9. BfR — Recommended maximum daily amount of magnesium in food supplements (2017)
  10. Riemann D et al. The European Insomnia Guideline: an update on the diagnosis and treatment of insomnia 2023. J Sleep Res, 2023
  11. NIH Office of Dietary Supplements — Magnesium fact sheet for health professionals
Toon Van Buylaere

Founder of NutriMetrics, with around 20 years in European e-commerce. Not a health professional: the health statements in this guide come from the official sources linked at the end.

In the news

All news →

Keep reading