Cosy bedroom at night with a lamp, book and herbal tea

Magnesium for Sleep: What the Evidence Says and Which Form to Take

Magnesium is one of the most popular supplements people take in the evening. Search "magnesium for sleep" and you'll find confident promises. The truth is more modest, and more useful: magnesium plays real roles in the nervous system, the evidence on sleep is promising but limited, and it works best as one part of good sleep habits rather than a fix on its own.

Why magnesium comes up in conversations about sleep

Magnesium contributes to the normal functioning of the nervous system, normal psychological function, normal muscle function and the reduction of tiredness and fatigue. Researchers are interested in its link to sleep for a few reasons:

  • It interacts with GABA receptors and NMDA receptors in the brain, two systems involved in calming and excitation.
  • It is involved in muscle relaxation, as it helps regulate how calcium moves into muscle cells.
  • Low magnesium intake is common in diets low in whole grains, nuts, seeds, pulses and greens, and some observational studies have linked lower magnesium status with poorer sleep.

What the studies actually show

The research is smaller than the hype suggests:

  • A 2012 randomised controlled trial in older adults with insomnia found that 500 mg of magnesium a day for eight weeks improved several sleep measures compared with placebo.
  • A 2021 systematic review of randomised trials in older adults concluded that the evidence was of low quality and that more research is needed before firm conclusions can be drawn.
  • Observational studies have found associations between magnesium intake and sleep quality, but they can't show cause and effect.

In other words, magnesium may help some people, particularly those whose intake is low, but it isn't proven to fix insomnia, and it isn't a substitute for treatment if you have a sleep disorder.

Which form to choose

For an evening supplement, most people want a form that is well absorbed and easy on the stomach, so it doesn't send them to the bathroom at night.

  • Magnesium bisglycinate (glycinate) is well absorbed and the gentlest on the stomach, which is why it is the usual evening choice. Glycine, the amino acid it is bound to, has also been studied in relation to sleep in its own right, at doses of about 3 grams, which is far more than a magnesium supplement provides.
  • Magnesium citrate is well absorbed and good value, but can loosen bowels at higher doses.
  • Magnesium oxide is less well absorbed and the most likely to have a laxative effect.

Our guide to magnesium bisglycinate vs citrate vs oxide covers the forms in detail.

How to take it

  • Timing: many people take magnesium with their evening meal or an hour or so before bed. There's no strong evidence that the exact time matters, so choose what you'll do consistently.
  • Dose: check the elemental magnesium on the label. EFSA sets an upper limit of 250 mg a day from supplements for adults. Higher doses mainly increase the chance of loose stools.
  • Give it time: try it consistently for a few weeks before deciding whether it helps you.
  • Medicines: magnesium can reduce absorption of some antibiotics, bisphosphonates and levothyroxine. Leave a few hours between them and ask your pharmacist.
  • Kidney disease: don't take magnesium supplements without medical advice.

The habits that matter more

For most people, these make a bigger difference than any supplement:

  • A regular wake time, even at weekends. It anchors your body clock more reliably than a fixed bedtime.
  • Daylight in the morning, ideally outdoors, and dimmer light in the evening.
  • Caffeine before midday. Caffeine lasts many hours, so an afternoon coffee can still be active at bedtime.
  • Go easy on alcohol. It can make you drowsy but fragments sleep later in the night.
  • A wind-down routine of 30 to 60 minutes without work or bright screens.
  • A cool, dark, quiet bedroom.
  • Get up if you can't sleep. Lying awake for long periods trains the brain to associate bed with wakefulness. Cognitive behavioural therapy for insomnia (CBT-I) uses this principle and is the recommended first treatment for chronic insomnia.

When to see your GP

Speak to your GP if poor sleep lasts more than a few weeks, affects your daytime functioning, or comes with loud snoring, gasping or pauses in breathing at night (possible sleep apnoea), restless or uncomfortable legs in the evening, low mood or anxiety. These have specific, effective treatments.

Key takeaways

  • Magnesium contributes to normal functioning of the nervous system and normal psychological function.
  • Evidence that magnesium supplements improve sleep is promising but limited and of low quality so far.
  • Bisglycinate is the usual evening choice because it is well absorbed and gentle on the stomach.
  • Stay within 250 mg a day from supplements, and check medicine interactions.
  • Sleep habits and, where needed, CBT-I make the biggest difference.

Our NeuroThrive™ Magnesium Bisglycinate uses the chelated bisglycinate form in a vegan capsule.

Food supplements should not be used as a substitute for a varied and balanced diet and a healthy lifestyle. This article is for general information and is not medical advice.

About the author

Written by James O'Neill, founder of NeuroThrive™. James has studied epigenetics and addiction studies, including at Maynooth University, and brings a background in frontline social care to everything he writes. Articles on this blog are for general information and are not a substitute for advice from your GP, pharmacist or another healthcare professional.

Back to blog