Magnesium for Sleep: Does It Really Work?
For the right kind of sleep problem, magnesium at 200 to 400mg of elemental magnesium in the evening can meaningfully improve sleep onset and sleep quality. A 2021 BMC meta-analysis of three randomised trials found supplemental magnesium cut the time it took to fall asleep by roughly 17 minutes versus placebo. The 2012 Abbasi trial in older adults with insomnia added meaningful gains in sleep efficiency and morning cortisol.
Where magnesium tends to help is a specific subset: sleep problems driven by low intake, evening stress, muscle tension or restless legs. It is not a sedative and it will not knock you out. Roughly half of UK adults get less than the reference intake from food alone, so many readers land on this page already primed to respond.
This UK guide covers which magnesium form has the best sleep evidence, how much elemental magnesium to take and when, how long before you should expect anything, who is most likely to benefit, and where magnesium is honestly the wrong tool for the job.
Key Takeaway
Take 200 to 400mg of elemental magnesium in the evening, ideally as magnesium bisglycinate, 30 to 60 minutes before bed and with a small amount of food. Expect roughly 17 minutes off your sleep onset time after two to four weeks of consistent daily use (Mah & Pitre, 2021). Skip magnesium oxide for sleep. Stay below the 350mg supplemental upper limit unless a healthcare professional advises otherwise.
Top pick for sleepMade in the UK · GMP certified
Magnesium Glycinate with Vitamin B6, 60 Vegan Capsules
60 vegan capsules · 30-day supply at 2/day
- 300mg elemental magnesium from bisglycinate per evening serving (80% NRV)
- Chelated to glycine, the amino acid with its own trial-backed sleep effect
- Gentlest form for evening use, no laxative bounce like oxide or citrate
Vegan · 30-day returns · Free UK shipping
In this article
- Does magnesium actually help you sleep?
- How magnesium affects the sleep pathway
- Which form of magnesium is best for sleep?
- Magnesium sleep dosage: how much and when?
- How long until magnesium starts working for sleep?
- Who benefits most from magnesium for sleep?
- Five common mistakes when using magnesium for sleep
- UK foods high in magnesium
- When magnesium is not the answer
- Frequently asked questions
Does magnesium actually help you sleep?
The trial evidence is positive but modest. The largest synthesis to date is Mah and Pitre's 2021 meta-analysis in BMC Complementary Medicine and Therapies, pooling three randomised trials in 151 older adults with insomnia. Supplemental magnesium reduced sleep onset time by an average of 17.4 minutes and improved total sleep time versus placebo, though the evidence was rated low certainty because the individual trials were small.
The pattern across single trials is consistent. Abbasi 2012 gave 46 elderly Iranian adults with insomnia 500mg of magnesium oxide (about 300mg elemental) for eight weeks and saw significant gains in insomnia severity score, sleep time, sleep efficiency and morning cortisol versus placebo. Rondanelli 2011 pooled magnesium with melatonin and zinc in 43 nursing-home residents and reported the same direction of effect.
What the Research Says
Mah J and Pitre T, 2021, BMC Complementary Medicine and Therapies (DOI: 10.1186/s12906-021-03297-z). Meta-analysis of three randomised trials in 151 older adults with insomnia. Oral magnesium (mostly oxide, 320-500mg elemental) reduced sleep onset time by 17.4 minutes versus placebo (95% CI: -27.7 to -7.2) and improved total sleep time by 16 minutes. Evidence graded low certainty due to small trial size and heterogeneity.
The reality is that magnesium is not a sedative and will not knock you out. It supports the biology that lets a rested body wind down naturally, which means the people most likely to see a benefit are those whose baseline sleep problem sits close to magnesium's mechanism: low dietary intake, elevated evening stress, muscle-tension wakings or restless legs.
How magnesium affects the sleep pathway
Five biological levers explain why magnesium keeps showing up in sleep trials at all. None is powerful on its own, but together they nudge the body from wired-and-alert toward the parasympathetic state that sleep needs.
1. NMDA-receptor braking in the brain
Magnesium sits inside the NMDA-receptor channel and acts as a natural gatekeeper on excitatory glutamate signalling. When magnesium is low, NMDA activity runs hot, keeping the brain in alertness longer than it should. Topping magnesium up dampens the excitatory tone that keeps you staring at the ceiling.
2. GABA support
Magnesium is a positive allosteric modulator of the GABA-A receptor, which is the same pathway that benzodiazepines and Z-drugs act on. Its effect is far gentler than either, but it moves the brain in the same "slow down" direction that prescription sleep aids do, without the tolerance or dependence.
3. Cortisol and the stress axis
Chronic evening stress keeps cortisol elevated past its natural night-time dip, and Abbasi 2012 showed magnesium supplementation lowered serum cortisol in older adults with insomnia at eight weeks. For readers whose sleep problem is really a stress problem, that mechanism matters more than the raw sleep-onset numbers.
4. Melatonin timing
Magnesium is a cofactor in the enzyme chain that converts serotonin to melatonin. Rondanelli 2011 explicitly linked magnesium supplementation to healthier melatonin patterns in older adults, and Held 2002 showed magnesium increased slow-wave sleep in a small crossover trial in older men with insomnia.
5. Muscle relaxation and restless legs
Calcium drives muscle contraction; magnesium drives relaxation. Low magnesium is one of the reversible drivers of leg cramps, restless-legs sensations and jaw tension at night. If your sleep is broken by physical tension rather than a racing mind, that is where magnesium meets one of its strongest use-cases.
Which form of magnesium is best for sleep?
Form matters more for sleep than it does for general daily topping-up. The evening use-case rewards chelated forms bound to calming amino acids, and it punishes cheap oxide-based tablets that can cause a laxative rush at the exact moment you were trying to fall asleep.
Magnesium bisglycinate (best for sleep)
Bisglycinate is magnesium chelated to two molecules of glycine. Glycine is itself an inhibitory neurotransmitter with independent sleep trial data: Yamadera 2007 showed 3g of glycine at bedtime improved subjective sleep quality and reduced daytime fatigue in Japanese adults with mild insomnia. So bisglycinate delivers two calming effects in one capsule: the magnesium and the glycine carrier.
Bisglycinate is also the gentlest form on the stomach, which matters when you take it in the evening after your last meal. This is the form to reach for if you have found citrate too aggressive for a nightly routine.
Made in the UK · GMP certified
Magnesium Glycinate with Vitamin B6, 60 Vegan Capsules
60 vegan capsules · 30-day supply at 2/day
- 300mg elemental magnesium from bisglycinate per evening serving
- Chelated to glycine for two calming actions in one capsule
- Gentle on the stomach for reliable evening use
Vegan · 30-day returns · Free UK shipping
Triple magnesium complex (bisglycinate + malate + taurate)
A three-form complex hedges the absorption bet by combining bisglycinate for the calming glycine, malate for daytime energy, and taurate for cardiovascular support. It is the sensible choice if you want one bottle that covers both a morning muscle-and-energy need and an evening wind-down need in a single daily routine.
Our Triple Magnesium Complex delivers 375mg of elemental magnesium (100% NRV) across a 3-capsule serving and gives you the flexibility to take one in the morning and two in the evening, matching each form to its best time of day. See our full magnesium citrate vs glycinate vs complex comparison for the detailed absorption case.
Made in the UK · GMP certified
Triple Magnesium Complex, 120 Capsules with Vitamin B6
120 vegan capsules · 40-day supply at 3/day, or 4-month supply at 1/day
- 375mg elemental magnesium across three bioavailable forms (100% NRV)
- Bisglycinate + malate + taurate covers evening wind-down and daytime energy
- Flexible dosing from 1 to 3 capsules per day, includes 1.4mg B6 cofactor
Vegan · 30-day returns · Free UK shipping
Magnesium citrate (all-purpose, cheapest per elemental mg)
Citrate is the workhorse form for general daily topping-up. Bioavailability is well-established, elemental yield per capsule is high (150mg per capsule in our 500mg citrate), and the per-day cost is the lowest of any single-ingredient magnesium on the shelf. The trade-off is that citrate is more likely to loosen the stools at doses above 400mg, so it is better as a daytime supplement than an evening one.
If you want the all-round benefits of magnesium citrate beyond sleep, this is your option; if sleep is the sole goal, glycinate is still the smarter pick.
Made in the UK · GMP certified
Magnesium Citrate 500mg, 120 Vegan Capsules
120 vegan capsules · 4-month supply at 1/day, 2-month supply at 2/day
- 150mg elemental magnesium per capsule (40% NRV), the highest yield in the range
- Well-absorbed citrate form with clean, single-ingredient formula
- Best per-elemental-mg cost of any single-form magnesium supplement
Vegan · 30-day returns · Free UK shipping
Magnesium oxide (skip for sleep)
Oxide is the form most likely to be sitting in the cheap supermarket own-brand mag tablets. Elemental yield per gram is high, but real absorption is around 4% versus 40% for the chelated forms. The rest passes through as an osmotic laxative, which is not the profile you want between the pillow and the bathroom at 2am.
Magnesium sleep dosage: how much and when?
The sleep-effective dose sits between 200 and 400mg of elemental magnesium in the evening, matched to your body size and current dietary intake. UK reference intake for adults is 300mg per day (women) and 375mg per day (men), and the tolerable upper limit from supplements alone is 350mg per day per the European Food Safety Authority.
| Group | UK Reference Intake (RI) | Sleep dose (elemental, evening) | Practical note |
|---|---|---|---|
| Women 19-64 | 270-300mg | 200-300mg | Start low and add a second capsule after one week |
| Men 19-64 | 300-375mg | 250-350mg | Take 30-60 mins before your target sleep time |
| Adults 65+ | 270-375mg | 250-350mg | Absorption drops with age; deficiency is more likely |
| Endurance athletes | 300-400mg (from diet plus supplement) | 300-400mg | Sweat losses inflate need; split morning and night |
| Upper limit (supplements only) | 350mg/day | Do not exceed without GP advice | Food magnesium has no upper limit |
Take the dose 30 to 60 minutes before your target sleep time, with a small amount of food. Bisglycinate is gentle enough to tolerate on an empty stomach, but a couple of oatcakes or a small bowl of yogurt makes it easier for most people. See our companion best time to take magnesium UK guide if you split doses across morning and evening.
How long until magnesium starts working for sleep?
Do not judge magnesium on night one. Blood magnesium is tightly buffered and only about 1% of body magnesium sits in the serum, so a single dose does not shift the pool that matters for the brain. The trials that worked used 8 to 12 weeks of daily use before measuring outcomes.
Realistic personal timeline:
- Nights 1 to 3: some people report faster onset that same evening, but this is more likely the glycine in bisglycinate than the magnesium itself
- Week 1 to 2: a subset of readers with clear deficiency notice a shift in evening tension and fewer overnight leg twitches
- Week 3 to 4: the meta-analysis's sleep-onset benefit tends to emerge here at consistent daily dosing
- Week 8 to 12: the trial-length window used in Abbasi 2012 and Rondanelli 2011; if magnesium is going to move the needle for you, you know by now
If nothing has shifted at 12 weeks, the problem is probably not magnesium and it is worth looking at the wider picture in our best supplements for sleep UK evidence guide.
Who benefits most from magnesium for sleep?
Magnesium is not a universal fix, but the profile of a likely responder is fairly well defined. If you tick two or more of the following, you have a strong evidence-based reason to try it.
- You rarely eat leafy greens, nuts, seeds, whole grains or beans in the same week
- Your sleep is broken by a racing mind, evening stress or shoulder-and-jaw tension
- You wake with leg cramps, foot cramps or restless-leg sensations more than twice a week
- You train hard four or more times a week and sweat heavily
- You drink more than 14 units of alcohol a week (alcohol depletes magnesium)
- You are on a proton-pump inhibitor (long-term PPI use lowers magnesium absorption)
- You are over 60 (dietary absorption drops with age)
- You wake at 3am with cortisol-driven wired-tired mornings
If you tick almost none of these, magnesium is still safe to try but you should temper the expectation. In that case the more useful reads are our how to lower cortisol UK evidence guide or the honest broader best supplements for anxiety UK evidence guide.
Five common mistakes when using magnesium for sleep
Most magnesium-for-sleep disappointment is down to one of these fixable errors, not to the supplement being wrong.
| Mistake | Fix |
|---|---|
| Buying magnesium oxide because it is cheapest per gram | Switch to bisglycinate for sleep, or citrate for daytime use |
| Reading "500mg magnesium citrate" as 500mg of elemental magnesium | Elemental content is on the panel: our citrate is 150mg elemental per 500mg capsule |
| Taking one dose then giving up after two nights | Give it a fair 3 to 4 week trial at a consistent evening time |
| Taking magnesium alongside a large late meal or heavy alcohol | Small snack is fine, but alcohol depletes magnesium and blunts sleep architecture |
| Chasing a bigger dose when the real problem is sleep hygiene | Cap the room at 18-19°C, dim screens after 9pm, keep a consistent bedtime |
UK foods high in magnesium
The most sustainable magnesium plan uses food as the base and a supplement as the top-up. The following portions cover roughly 20 to 40% of the UK adult reference intake per serving and are all easy to fit into a normal weekly shop.
- Pumpkin seeds: 156mg per 30g handful
- Almonds: 81mg per 30g handful
- Spinach (cooked): 78mg per 100g portion
- Cashews: 74mg per 30g handful
- Dark chocolate (70% cacao or higher): 64mg per 30g square
- Black beans (cooked): 60mg per 100g portion
- Wholemeal bread: 40mg per two-slice serving
- Oats (porridge): 34mg per 40g serving
Two of those, plus a supplement providing 200 to 300mg elemental magnesium in the evening, comfortably clears the UK reference intake for most adults. For a wider deficiency-signs checklist, read our signs of magnesium deficiency UK guide.
Worth Knowing
Magnesium interacts with several common prescription drugs. It can reduce absorption of bisphosphonates, tetracycline and fluoroquinolone antibiotics, and levothyroxine, so leave a four-hour gap either side. It also has additive effects with blood-pressure medication and muscle relaxants. Kidney disease is a hard reason to check with a doctor before supplementing at all. The NHS guidance on magnesium and other minerals is the sensible starting reference.
When magnesium is not the answer
Magnesium is a good tool for a specific problem. It is not the answer for sleep apnoea, chronic circadian misalignment, sleep-onset caused by shift work, or clinical insomnia that has run for years. If you snore heavily, wake unrefreshed, feel choked at night or your partner has noticed pauses in your breathing, a GP referral for a sleep study matters more than any capsule.
It is also not the right lever if you are drinking three coffees in the afternoon, screens-until-midnight, or in a chronically stressful patch that magnesium alone cannot outweigh. Fix the two or three biggest inputs first; treat the supplement as reinforcement of the sleep hygiene, not a workaround for its absence.
For readers whose bigger picture is stress or anxiety rather than raw sleep, our heartburn and acid reflux UK guide and health benefits of better sleep both cover the neighbouring reasons a night gets broken.
Key Takeaway
If magnesium is going to help your sleep, it will do so at 200 to 400mg of elemental magnesium as bisglycinate in the evening, over a 3 to 4 week window. Choose the form for the goal: bisglycinate for sleep, triple complex for a broad daily need, citrate for cheap general topping-up, and skip oxide for sleep. Give it a fair trial, then judge honestly.
Frequently asked questions
How much magnesium should I take for sleep?
Take 200 to 400mg of elemental magnesium in the evening, matching your body size and current dietary intake. Stay below the 350mg per day supplemental upper limit set by the European Food Safety Authority unless a healthcare professional advises otherwise. Start low, hold steady for a week, and add a second capsule if needed.
What is the best form of magnesium for sleep?
Magnesium bisglycinate has the best trial fit for sleep because it pairs magnesium with glycine, an amino acid with its own sleep effect (Yamadera 2007). It is also the gentlest form on the stomach in the evening. Citrate and a triple complex both work, but oxide should be avoided for sleep.
When is the best time to take magnesium for sleep?
Take magnesium 30 to 60 minutes before your target bedtime, with a small snack if it unsettles your stomach on its own. Consistency matters more than the exact window: taking it daily at the same evening time beats hitting a perfect 45-minute mark occasionally.
How long does magnesium take to improve sleep?
Most people who respond notice something at 2 to 4 weeks of consistent nightly use, and the meaningful trial outcomes emerged at 8 to 12 weeks in Abbasi 2012 and Rondanelli 2011. If nothing has changed after 12 weeks, the sleep problem is probably not driven by magnesium.
Can I take magnesium every night?
Yes, daily magnesium supplementation within the 350mg per day supplemental upper limit is well tolerated for healthy adults and does not build tolerance or dependence in the way pharmaceutical sleep aids can. People with kidney disease or on interacting medication should confirm with a GP first.
Does magnesium give you weird dreams?
A small subset of users report more vivid dreams after starting magnesium, particularly at higher evening doses. This is not a documented adverse effect in trials, and it usually settles inside two weeks. Dropping the evening dose by one capsule for a week is the simplest fix if it becomes annoying.
Can I take magnesium with melatonin?
Yes, and Rondanelli 2011 combined magnesium with 5mg melatonin and zinc in older adults with better sleep outcomes than either alone. Note that melatonin is a prescription-only medicine in the UK, so this combination is typically only available through a GP or private clinic rather than over the counter.
Magnesium is a credible, well-tolerated sleep supplement for the right kind of sleeper. It will not turn a stimulant-fuelled, screen-lit, high-stress week into a full eight hours, but it will meaningfully improve sleep onset and depth for readers whose baseline sits close to its mechanism. Start with 200 to 300mg of elemental magnesium as bisglycinate in the evening, give it a fair four-week trial, and judge on how you feel at week four rather than on night one.
Start your 4-week evening magnesium trial
300mg elemental magnesium from bisglycinate per evening serving, with 5mg B6 for nervous system support. 30-day supply of the gentlest form for nightly use, made in the UK to strict GMP standards.
Shop Magnesium GlycinateUK GMP-certified · Vegan · 30-day returns · Free UK shipping
This article is for information only and is not medical advice. Food supplements should not replace a varied diet or a healthy lifestyle. Speak to your GP or pharmacist before starting any new supplement, especially if you are pregnant, breastfeeding, taking medication or managing a health condition.


