Free shipping on orders over £45

Magnesium for Sleep: Does It Work, Which Type & How Much? (UK Guide)

Magnesium can help some people sleep better, especially if they don’t get enough from food. Glycinate (also sold as bisglycinate) is the best-tolerated form for sleep.

Evopure Magnesium Sleep Complex pouch with a berry bedtime drink and a candle

Last updated: September 2026

Magnesium can help some people sleep better, especially if they don’t get enough from food. Glycinate (also sold as bisglycinate) is the best-tolerated form for sleep. Most studies use 200 to 400mg of elemental magnesium, taken 30 to 60 minutes before bed, and the NHS says 400mg or less a day from supplements is unlikely to cause harm.

That is the short answer. Below is the longer, honest one: what the research actually found, which type to buy, how to read the label, when to take it, and who should check with a pharmacist first.

Does magnesium help you sleep?

For some people, yes, but the effect is modest rather than dramatic. Magnesium is not a sedative. It will not knock you out the way a sleeping pill does. What the better studies show is a small improvement in how easily people fall asleep and how they rate their sleep, with the biggest gains in people who were low in magnesium to begin with.

Here is what the three most useful pieces of research found:

  • The 2025 bisglycinate trial. 155 adults aged 18 to 65 who said they slept poorly took either 250mg of elemental magnesium as bisglycinate or a placebo every day. After four weeks the magnesium group’s insomnia scores had improved more than the placebo group’s. The difference was small, and it was largest in people who ate the least magnesium.
  • The 2012 older adults trial. 46 older adults with insomnia took 500mg of magnesium or a placebo daily for eight weeks. The magnesium group fell asleep faster, spent more of their time in bed actually asleep and scored better on an insomnia questionnaire.
  • The 2021 review. Pooling three trials in 151 older adults, researchers found people taking magnesium fell asleep about 17 minutes faster than those on a placebo. They also judged the evidence to be low quality, which is fair: the trials were small.

The full references are listed in the sources at the end of this guide.

Our honest take: magnesium is worth trying if your diet is patchy, you feel tense at night or you have restless, crampy legs. If you have long-term insomnia, the NHS recommends looking at sleep habits first and speaking to your GP, and magnesium works best as part of that routine rather than instead of it.

↑ Back to top

How magnesium works at night

Magnesium is involved in more than 300 processes in the body. Three of them matter for sleep:

  • Your nervous system. Magnesium helps regulate GABA, the brain’s main “slow down” messenger, and it dampens the receptors that keep the brain alert. Magnesium contributes to the normal functioning of the nervous system and to normal psychological function.
  • Your muscles. Muscles need magnesium to relax after they contract. This is why low magnesium is linked with night-time cramps and twitchy legs. Magnesium contributes to normal muscle function.
  • Your stress response. In the 2012 trial, people taking magnesium also had lower cortisol, the stress hormone that should be falling in the evening.

Glycinate has a small bonus. It is magnesium bound to glycine, an amino acid with its own early research into sleep, so you get both in one.

↑ Back to top

Which magnesium is best for sleep?

The type matters more than most labels let on. Magnesium is always bound to another compound, and that partner decides how well it is absorbed and how kind it is to your gut.

Form Absorption Gentle on the gut? Sleep research Best for
Glycinate / bisglycinate Good Yes, very The best studied for sleep Evenings, sensitive stomachs
Citrate Good Can loosen stools at higher doses Limited General top-up, sluggish digestion
L-threonate Good Yes Very little in people Interest in focus and memory
Malate Good Yes Little Daytime routines
Oxide Poor Often causes loose stools Some older trials Cheap tablets; not ideal
Sprays and oils on the skin Unclear Not applicable Very little A massage ritual, not a reliable top-up. See magnesium spray

Our pick for sleep is glycinate (bisglycinate). It is well absorbed, it rarely upsets the stomach even at an evening dose, and it is the form used in the most recent sleep trial. Threonate gets a lot of attention online, but its research is mostly about memory and focus, not sleep. If you are curious, our guide to magnesium L-threonate goes into it properly.

↑ Back to top

How much magnesium should you take for sleep?

What the NHS says

The NHS says adults aged 19 to 64 need 300mg of magnesium a day (men) or 270mg a day (women), and that most people can get this from a varied diet. If you take a supplement, it says 400mg or less a day from supplements is unlikely to cause any harm, and that high doses can cause diarrhoea.

Good food sources include pumpkin seeds, almonds, spinach, wholegrains, beans and dark chocolate.

Read the label for “elemental” magnesium

This is where most people get caught out. A capsule that says “500mg magnesium glycinate” does not contain 500mg of magnesium. Glycinate is only about 14% magnesium by weight, so that capsule gives you roughly 70mg of actual, elemental magnesium. Always look for the elemental figure, which is what the studies and the NHS limits refer to.

A sensible dose

  • Starting out: around 100 to 150mg of elemental magnesium in the evening.
  • Typical sleep dose in studies: 200 to 400mg elemental a day.
  • Upper limit from supplements: 400mg a day, counting every supplement you take (some multivitamins contain magnesium too).

Our Magnesium Glycinate Sleep Complex gives 148mg of elemental magnesium per 5g serving, so it sits comfortably inside the NHS limit alongside a normal diet.

↑ Back to top

When to take magnesium for sleep, and how long it takes

Take it 30 to 60 minutes before bed. That gives it time to absorb and turns it into a cue that the day is over. If you find it makes you feel sluggish in the morning, which is unusual, move it earlier in the evening.

If the clocks have just changed, our 5-day plan for when the clocks go back helps your whole routine catch up.

Some people notice they feel calmer on the first night or two. For sleep itself, give it at least two to four weeks of taking it every night: the trials above measured results after four to eight weeks. There is more detail in how long magnesium takes to work and the best time to take magnesium.

Your body does not store a single dose for long. Most of what you do not use is cleared by your kidneys within a day or two, which is why taking it daily matters more than taking a big dose occasionally. Our guide to how long magnesium stays in your body explains the details.

↑ Back to top

Side effects and who should check first

Magnesium is one of the gentler supplements, and glycinate is the gentlest form. The side effects people do report are:

  • Loose stools or an upset stomach. Most likely with oxide or citrate, or with a big dose in one go. Lower the dose or split it.
  • Feeling groggy. Uncommon. Try taking it earlier in the evening.
  • Headaches or vivid dreams. Occasionally reported online, though not well studied. Lower the dose and see if it settles.

Check with your GP or pharmacist first if you:

  • have kidney disease, because your kidneys are what clear extra magnesium
  • take antibiotics such as tetracyclines or quinolones, or osteoporosis medicines (bisphosphonates), as magnesium can reduce how well they are absorbed and may need to be taken a few hours apart
  • take any regular prescription medicine, or are pregnant or breastfeeding

↑ Back to top

Magnesium vs melatonin and other sleep aids

In the UK, melatonin is a prescription-only medicine, mainly used short term for people over 55 and for some children under specialist care. You cannot buy it over the counter here the way you can in the US. That is a big part of why magnesium has become one of the most popular sleep supplements in the UK.

Magnesium Melatonin CBD oil
UK status Food supplement Prescription only Food supplement
How it works Supports the nervous system and muscles A hormone that signals night-time Works with the body’s endocannabinoid system
Feels like Gentle, builds over weeks Shifts your body clock Varies from person to person
Can be combined? Magnesium is commonly taken alongside CBD. Ask your prescriber before combining anything with melatonin.

For a closer comparison, see CBD oil vs melatonin, or read about reishi mushroom for sleep if you prefer a warm evening drink.

↑ Back to top

Easy ways to take magnesium for sleep

The sleepy girl mocktail

The TikTok favourite is simple: tart cherry juice, a serving of magnesium powder and a splash of sparkling water, sipped about half an hour before bed. A powder works better than a tablet here because it dissolves into the drink. Our UK sleepy girl mocktail recipe has the full method.

A simple evening routine

  1. Caffeine cut-off: nothing caffeinated after early afternoon.
  2. Lights down: dim the lights and put your phone away an hour before bed.
  3. Your magnesium drink: 30 minutes before bed, hot or cold.
  4. Optional extras: some people add a few drops of Sleep CBD Oil or a mug of reishi cacao.
  5. Same time every night: a consistent bedtime and wake time does more than any supplement.

If you get twitchy or crampy legs at night, our guide to magnesium for restless legs is worth a read too.

Prefer food first? See foods high in magnesium.

↑ Back to top

Magnesium for sleep in perimenopause, pregnancy and children

Perimenopause and menopause

Broken sleep is one of the most common complaints in perimenopause, and magnesium is a popular part of many women’s evening routine. Research specifically in menopausal sleep is limited, so treat it as a sensible support rather than a fix, and talk to your GP about options such as HRT if sleep is badly affected. We cover this in more depth in magnesium for menopause.

Pregnancy and breastfeeding

Speak to your midwife or GP before taking any supplement for sleep.

Children

Children need much less magnesium than adults, and adult sleep products are not designed for them. Talk to your GP or pharmacist first, and see are magnesium gummies safe for kids?

↑ Back to top

Common mistakes

  • Buying oxide because it looks strong on the label. The number is high but very little is absorbed.
  • Reading the compound weight, not the elemental weight. 500mg of glycinate is roughly 70mg of magnesium.
  • Taking it now and then. Magnesium works best taken every evening for a few weeks.
  • Doubling up without realising. Add up magnesium from every supplement, including multivitamins, and stay at 400mg or less.
  • Expecting a sleeping pill. It is a gentle support, not a sedative.

Related guides

↑ Back to top

Buying for someone who struggles to sleep? See our sleep gifts guide.

Black Friday, 27 to 30 November: see our Black Friday magnesium and supplement deals.

FAQs

Does magnesium glycinate make you sleepy?

Not in the way a sleeping pill does. Most people describe feeling calmer and more relaxed, which makes it easier to drift off. If you feel groggy the next morning, take it a little earlier in the evening.

Does magnesium glycinate make you poop?

Rarely. Glycinate is the form least likely to loosen your stools. Citrate and oxide are much more likely to, especially at higher doses. If it happens, lower the dose or split it across the evening.

Can magnesium cause insomnia or vivid dreams?

A small number of people report this, although it is not well studied. If it happens to you, try a lower dose or take it earlier in the evening.

How long does magnesium glycinate stay in your system?

Most of a single dose that your body does not use is cleared by the kidneys within about a day or two. That is why taking it every evening matters more than taking a large dose occasionally.

Is magnesium glycinate the same as bisglycinate?

Effectively, yes. Bisglycinate means each magnesium is bound to two glycine molecules, which is how most glycinate supplements are made. The names are used interchangeably.

Can I take magnesium every night, and with CBD?

Yes, most healthy adults can take magnesium every night within the NHS guide of 400mg or less a day from supplements. Magnesium and CBD are often taken together in an evening routine. If you take prescription medicines, check with your pharmacist first.

Does magnesium make you sleepy?

Not in the way a sleeping pill does. Magnesium isn’t a sedative, so most people don’t feel drowsy straight after taking it. Many take it 30 to 60 minutes before bed as part of a wind-down routine. Magnesium contributes to normal psychological function and the normal functioning of the nervous system.

Can magnesium make you tired during the day?

It’s not common at usual doses. If you feel drowsy, try taking it in the evening instead. Magnesium contributes to the reduction of tiredness and fatigue.

↑ Back to top

Sources

This guide is general information, not medical advice. If you have ongoing sleep problems, speak to your GP.

Written by

Martin Travis

Co-founder, Evopure

Martin co-founded Evopure and writes about sleep, stress and recovery. Our articles are general information, not medical advice.

Shop the article

Mentioned in this article

Natural · UK made · Lab tested

Evopure

What would you like help with?

Tell us, and we will point you to the right place and send you 20% off.

20% off your first order

Natural · UK made · Lab tested