July 22, 2026

Magnesium and Sleep: What the Evidence Actually Shows

Magnesium has become the internet’s favourite sleep supplement. As a pharmacy we sell it — and precisely because we do, you deserve the honest version of the evidence rather than the influencer version.

The plausible biology

Magnesium participates in hundreds of enzyme reactions, including several relevant to sleep: it modulates NMDA and supports GABA activity (the same calming neurotransmitter system zopiclone acts on, far more gently), and it’s involved in muscle relaxation and melatonin regulation. So the mechanism is real. The question is whether swallowing more of it improves sleep in people who aren’t deficient.

What trials actually show

The honest summary: modest benefits, mostly in people who were low in magnesium to begin with. Small trials — particularly in older adults, where mild deficiency is more common — show improvements in how quickly people fall asleep and self-rated sleep quality. Reviews consistently note the studies are small and short. What the evidence does not support is magnesium as a potent sleep aid for well-nourished people, or as any kind of substitute for treating insomnia’s causes (see why can’t I sleep?).

Who plausibly benefits

  • People with low dietary magnesium — diets light on leafy greens, nuts, seeds, legumes and wholegrains;
  • Older adults, in whom absorption declines and several common medicines (including long-term proton-pump inhibitors like omeprazole, and some diuretics) deplete magnesium;
  • People troubled by night-time leg cramps — evidence here is mixed too, but it’s a common reason people feel benefit.

Forms and doses — the practical bit

  • Glycinate/bisglycinate: well absorbed, gentle on the stomach — the usual pick for sleep purposes;
  • Citrate: well absorbed but has a laxative effect at higher doses — a feature or a bug depending on your bowels;
  • Oxide: cheapest, poorly absorbed — fine as a laxative, a poor choice for supplementation;
  • Keep to the label dose — more isn’t better, and high doses reliably cause diarrhoea. Kidney problems? Check with us or your GP first, as impaired kidneys can’t clear excess magnesium. Magnesium also interferes with absorption of some antibiotics and thyroid medication — separate doses by a few hours; ask us for timings.

Our counter-honest verdict

A reasonable, low-risk experiment — especially if you’re older, your diet is light on magnesium-rich foods, or cramps wake you — with expectations set to “modest improvement,” not transformation. Give it 2–4 weeks alongside the basics in alternatives to zopiclone; if nothing changes, the answer to your insomnia lies elsewhere, and we’re happy to help you look.

Frequently asked questions

Does magnesium really help you sleep?

Modestly, and mainly if your levels were low to begin with — small trials show benefit in older adults and people with poor dietary intake. It’s a reasonable low-risk experiment, not a potent sleep aid.

Which type of magnesium is best for sleep?

Glycinate (bisglycinate) is the usual choice — well absorbed and gentle on the stomach. Citrate is fine but laxative at higher doses; oxide is poorly absorbed and best avoided for this purpose.

When should I take magnesium for sleep?

An hour or so before bed is typical. Keep it a few hours away from thyroid medication and certain antibiotics, which it can stop being absorbed properly — ask a pharmacist to check your timings.

Is magnesium safe for everyone?

At label doses it’s safe for most people, but check first if you have kidney problems — impaired kidneys can’t clear excess magnesium — or take interacting medicines. High doses cause diarrhoea.

Questions about your sleep or your medicines? Speak to one of our pharmacists — advice is free and confidential. If you already have a prescription, you can nominate our pharmacy to dispense and deliver it.


This article is general health information based on NHS and BNF guidance. It is not medical advice, and it is not an advertisement for any medicine. Always follow your prescriber’s instructions and read the patient information leaflet. If you need urgent help call NHS 111; in an emergency call 999. [Clinical review placeholder — reviewed by NAME, Superintendent Pharmacist, GPhC reg. NUMBER, on DATE.]

This article is general health information, not medical advice. Always speak to a pharmacist, GP or NHS 111 about your own circumstances. [Clinical review placeholder — reviewed by NAME, GPhC reg. NUMBER, on DATE.]