Magnesium for Sleep: Which Form at Night, What Dose and What the Science Says

Magnesium for Sleep: Which Form at Night, What Dose and What the Science Says

By the Mush n Go editorial team - 21 November 2026

By the Mush n Go editorial teamPublished on 21 November 202613 min read

Magnesium for sleep

Magnesium for sleep: magnesium contributes to normal functioning of the nervous system. Trials show slightly faster sleep onset, especially in people who are low in it. In the evening, a well-tolerated form such as bisglycinate, 100 to 250 mg of magnesium, combined with good habits, is the most sensible choice.

The complete guide: the best mushroom for sleep →

375 mga day, the reference intake
250 mga day at most from supplements
≈ 17 minsaved falling asleep, small trials
< 1%of the body's magnesium is in the blood
Magnesium and melatonin

Sleep+

Magnesium bisglycinate, melatonin, reishi and valerian. Melatonin contributes to the reduction of time taken to fall asleep. One capsule thirty minutes before bedtime.

Discover Sleep+ →
Day and night

Relaxation Pack

Anti-Stress in the morning, in which vitamin B6 contributes to normal functioning of the nervous system, and Sleep+ in the evening, together in one pack.

Discover the pack →

The role of magnesium

Magnesium prepares the ground for sleep.

Magnesium is a mineral found in every cell. An adult's body contains about 25 grams of it, mostly in the bones and muscles. It is involved in more than 300 reactions, including the transmission of nerve impulses and muscle contraction. Its link with sleep runs through these two functions.

The nervous system

Magnesium dampens the activity of excitatory receptors in the brain, the NMDA receptors, and may make it easier for GABA, the main messenger of calm, to act. This is the avenue researchers are pursuing.

The muscles

It is involved in muscle relaxation after contraction. Hence its traditional use in the evening, even though its effect on night cramps has not been confirmed in trials.

The body clock

Cell studies suggest that magnesium plays a part in 24-hour rhythms. The link with the human body clock has yet to be established.

In Europe, a product may only attribute to magnesium the effects validated by EFSA and listed in Regulation No 432/2012. Three of them relate directly to the evening: magnesium contributes to normal functioning of the nervous system, magnesium contributes to normal psychological function, and magnesium contributes to a reduction of tiredness and fatigue. These claims apply to a product that provides at least 15% of the reference intake per serving.

Deficiency

Does being low in magnesium make you sleep badly?

Large observational studies find a link between low magnesium intake and poorer sleep quality. In the American CARDIA cohort, followed by Zhang and colleagues (2022) in nearly 4,000 adults, those who ate the most magnesium reported better sleep quality. An association, not proof: people who eat plenty of pulses, nuts and wholegrains often have other good habits too.

Genuine deficiency, hypomagnesaemia, is rare in a healthy person. Borderline intakes, on the other hand, are common, for lack of unrefined foods on the plate. Some situations increase the risk.

  • A refined diet: white bread, few pulses, few nuts and seeds, and few green vegetables.
  • Some long-term medicines: proton pump inhibitors for heartburn, some diuretics.
  • Regular drinking: alcohol increases the loss of magnesium in urine.
  • Intense exercise: losses through sweat and higher muscle requirements.
  • Age: absorption from the gut falls with the years, which partly explains why sleep trials have mostly been carried out in older people.

A blood test is of little help: less than 1% of the body's magnesium circulates in the blood, and the blood level stays normal for a long time even when stores fall. The signs often attributed to deficiency, fatigue, cramps, a twitching eyelid, irritability, are not very specific. If you have several of them, it is better to talk to your doctor than to pile up supplements.

The forms

Which magnesium for sleep: the form matters mainly for your gut.

No form of magnesium has been shown to help you sleep better than another in a direct comparative trial. What changes from one form to another is how much is absorbed and how well your digestion tolerates it. In the evening, that last point matters: no one wants to get up in the night because of a hurried gut.

Form In the evening, for sleep Worth knowing
Bisglycinate The most sensible: well absorbed, very well tolerated Not very concentrated, about 14% magnesium: more capsules for the same dose
Magnesium citrate Well absorbed, suits many people Can speed up transit at high doses
Magnesium chloride Well absorbed Bitter taste, laxative effect common
Oxide and marine magnesium The least suited to the evening Rich in magnesium but poorly absorbed, often laxative
Magnesium threonate Studied for sleep in a recent trial Very low concentration, little independent data
Magnesium oil on the skin No evidence of an effect on sleep Magnesium passing through the skin has not been demonstrated

Magnesium oil is in fact a concentrated solution of magnesium chloride. A review by Gröber and colleagues (2017) concludes that its absorption through the skin has not been established. An evening massage may relax you, but not thanks to the magnesium.

Bisglycinate has one more advantage for an evening course: the glycine that comes with it is itself being studied for sleep, even though the amount provided by a magnesium supplement remains small. To understand this form, its label and its side effects in detail, read our complete guide to magnesium bisglycinate, or our page on magnesium bisglycinate.

The dose

How much magnesium for sleep: less than you might think.

Magnesium requirements are largely covered by food, and the safety margin for supplements is narrow. Stick to the stated dose: above it, digestive upset is more common. Here are the official benchmarks, then those from the studies.

Benchmark Value Source
Adequate intake, adult man 350 mg a day, including food EFSA, 2015
Adequate intake, adult woman 300 mg a day, including food EFSA, 2015
Labelling reference intake 375 mg EU food information regulation (FIC)
Limit for magnesium from supplements 250 mg a day, on top of food Scientific Committee on Food, adopted by EFSA
Doses tested in sleep trials From 225 to 500 mg a day Rondanelli 2011, Abbasi 2012

In practice, 100 to 250 mg of elemental magnesium in the evening is enough for a course. Watch the label: what counts is the amount of magnesium, not of the compound. 1,000 mg of bisglycinate provides only about 140 mg of magnesium. The often-cited trial by Abbasi (2012) used 500 mg of magnesium a day, twice the limit for supplements: a dose to take only on medical advice.

What the science says

Magnesium and sleep: four studies to know.

Trials on magnesium and sleep are few, small and mostly carried out in older people. Here are four pieces of research that cover the main questions. The full references are at the bottom of the page.

Mah and Pitre, 2021 · Canada, meta-analysis

Three placebo-controlled trials, 151 older people with insomnia. Magnesium reduced the time taken to fall asleep by about 17 minutes; the increase in total sleep time was not significant. Limitation: the authors rate the evidence as low quality and call for better trials.

Rondanelli et al., 2011 · Italy

43 care home residents with insomnia took 5 mg of melatonin, 225 mg of magnesium and 11.25 mg of zinc every evening for 60 days, or a placebo. Sleep quality and ease of falling asleep improved in the treated group. Limitation: impossible to tell how much is due to each ingredient.

Hausenblas et al., 2024 · United States

80 adults aged 35 to 55 who were unhappy with their sleep took 1 g a day of magnesium threonate or a placebo for 21 days. Deep sleep and REM sleep scores, measured by a smart ring, and perceived sleep improved. Limitation: trial funded by the maker of the ingredient.

Zhang et al., 2022 · United States

Nearly 4,000 adults in the CARDIA cohort, followed for years, described their diet and their sleep. The highest magnesium intakes were associated with better reported sleep quality. Limitation: an observational study, which shows a link, not a cause.

In short: magnesium seems to help a little with falling asleep, especially in older people or those with low intakes. In someone who eats enough of it and sleeps badly for other reasons, don't expect a clear change.

Timing

Magnesium morning or night: at night, and with patience.

For sleep, the evening is the logical time, and the easiest to stick to. Magnesium does not work like a sleeping pill that kicks in within the hour: trials measured changes after three to eight weeks of regular use. Regularity matters more than the exact time.

With dinner

Magnesium taken with a meal is even better tolerated. If your dose requires several capsules, you can take some of them at lunchtime.

30 to 60 minutes before bed

The classic time for an evening formula, with a glass of water, at the start of your bedtime routine.

After 3 weeks

Take stock for the first time: time to fall asleep, waking in the night, how you feel in the morning. A sleep diary makes the comparison more honest than memory.

After 1 to 3 months

If nothing has changed, magnesium was probably not the limiting factor. Take a break, then a check-up with your doctor if your nights are still difficult.

Marine magnesium or the more laxative forms, on the other hand, are more comfortable in the morning, to avoid waking at night for the toilet. One more reason to keep the evening for well-tolerated forms.

The evening duo

Magnesium and melatonin: two roles that complement each other.

Magnesium and melatonin don't do the same thing, which explains why they are often combined. Melatonin is a clock signal: it tells the body that night is beginning. Magnesium, for its part, is involved in the functioning of the nervous system and the muscles. One tells the time, the other accompanies relaxation.

Melatonin

The only authorised claim on falling asleep: melatonin contributes to the reduction of time taken to fall asleep, with at least 1 mg taken shortly before bedtime. The average effect is modest, a few minutes.

Magnesium

Magnesium contributes to normal functioning of the nervous system and magnesium contributes to normal psychological function. Its effect on sleep is not an authorised claim.

Can you take them together? Yes, no interaction between the two is known. The Rondanelli trial (2011) actually tested a combination of melatonin, magnesium and zinc, with encouraging results, but at a melatonin dose of 5 mg, higher than the supplements sold in France contain, which stay below 2 mg a day.

That is the combination in our evening formula, Sleep+: 300 mg of magnesium bisglycinate per capsule, i.e. 60 mg of magnesium and 16% of the reference intake, with 1.9 mg of melatonin, reishi, valerian and acacia fibre. One capsule 30 minutes before bedtime. It is a sleep formula, not a stand-alone magnesium supplement: if your doctor advises you to correct a deficiency, a dedicated product will be more suitable. To compare melatonin and an evening plant, see our article valerian or melatonin, and for the mushroom in the formula, our guide to reishi.

The combinations

Zinc and magnesium for sleep, B6, plants: what the combinations are worth.

Magnesium is rarely sold on its own on the sleep shelves. Here are the most common combinations, and what can honestly be said about them.

Combination What we know Authorised claim for the partner
Magnesium and zinc Tested together with melatonin in older people (Rondanelli, 2011); no robust trial of the duo alone on sleep Zinc contributes to normal cognitive function; zinc contributes to the normal function of the immune system
Magnesium and vitamin B6 Tested on stress in adults with low magnesium (Pouteau, 2018), not on sleep Vitamin B6 contributes to normal functioning of the nervous system and contributes to the reduction of tiredness and fatigue
Magnesium and melatonin Complementary roles, no known interaction Melatonin contributes to the reduction of time taken to fall asleep
Magnesium and evening plants Valerian, passionflower, lemon balm: trials on the plants alone, rarely on the combination No authorised claim for the plants

Zinc and magnesium partly share the same absorption pathways: at usual supplement doses, taking them together is not a problem, but high-dose zinc can hinder magnesium absorption.

“ZMA” formulas, popular with athletes, combine zinc, magnesium and vitamin B6. They are often presented as sleep aids, but published trials focus mainly on recovery and hormones, with conflicting results. Nothing justifies choosing them over a well-tolerated magnesium for sleep.

Precautions

Magnesium at night: who should ask for advice first.

Magnesium from supplements is safe for most adults at usual doses. The most common side effect is digestive: loose stools or diarrhoea, which go away when the dose is reduced. Some situations, however, call for medical advice.

Ask your doctor or pharmacist before taking magnesium if:

  • You have kidney disease: the kidneys eliminate magnesium, so an excess can build up.
  • You take an antibiotic from the tetracycline or fluoroquinolone family, a bisphosphonate or levothyroxine: space the doses several hours apart.
  • You take heart medication or a diuretic.
  • You are pregnant or breastfeeding, especially if the product also contains melatonin, which is then not recommended.
  • You are combining magnesium and melatonin and you have an inflammatory or autoimmune disease, epilepsy, asthma or a mood disorder: melatonin requires medical advice.

The signs of too much magnesium, weakness, drowsiness, low blood pressure, a slowed heart rate, are rare in someone with normal kidneys. They mean you should stop and see a doctor.

The complete routine

Magnesium works better when everything else follows.

It works at its best in a well-ordered evening: no coffee after 2 pm, no phone in bed. Magnesium finds its place within a routine that is already working for sleep.

1

On your plate, first

A handful of almonds or pumpkin seeds, pulses, wholemeal bread, a square of dark chocolate, a mineral water rich in magnesium: enough to cover a good part of your needs.

2

An hour of calm

Low lights, no screens, a warm shower one to two hours before bed. The evening supplement fits into this ritual.

3

Regular hours

The same wake-up time every morning, daylight early in the day, no caffeine after early afternoon.

If falling asleep is the sticking point, our guide how to fall asleep fast sets out the methods backed by evidence, including the twenty-minute rule. For the rest of the evening, see our 15 evening habits for better sleep, and if your afternoon coffee is to blame, our article coffee and sleep.

Your questions

Magnesium for sleep: your questions.

Magnesium for sleep: does magnesium help you sleep?

A little, and mainly in people who are low in it. In a meta-analysis of three trials in older people, magnesium reduced the time taken to fall asleep by about 17 minutes, with evidence rated as low quality. Magnesium contributes to normal functioning of the nervous system, but it is not a sleeping pill.

Which magnesium is best for sleep?

In the evening, choose a form your gut tolerates well, such as bisglycinate (the one in Sleep+) or citrate, rather than oxide or marine magnesium, which are more laxative. Threonate has been studied in a recent trial funded by its manufacturer.

When to take magnesium, morning or night?

For sleep, at night: with dinner or 30 to 60 minutes before bed. The more laxative forms, such as marine magnesium, are better taken in the morning. The most important thing is to take it every day, at a regular time.

How long does magnesium take to work?

It is not an immediate effect. Sleep trials measured changes after three to eight weeks of regular use. Take stock after three weeks, then after one to three months: if nothing has changed, magnesium was probably not the limiting factor.

Can you take magnesium and melatonin together?

Yes, no interaction between the two is known, and they are often combined in evening formulas. Melatonin contributes to the reduction of time taken to fall asleep, and magnesium contributes to normal functioning of the nervous system. Melatonin is still not recommended for pregnant or breastfeeding women or for children.

Zinc and magnesium: are they useful for sleep?

The combination has been tested with melatonin in older people, with encouraging results, but without being able to isolate the effect of each ingredient. There is no robust trial of zinc and magnesium alone on sleep. At usual doses, taking them together is not a problem.

Does magnesium oil help you sleep?

There is no evidence that it does. Magnesium oil is a solution of magnesium chloride, and its passage through the skin has not been demonstrated. An evening massage can help you relax, but to get magnesium, food or an oral supplement remain the only established options.

Is it dangerous to take too much magnesium?

Above 250 mg a day from supplements, digestive upsets become common, and that is the limit set for supplements. In someone with kidney disease, an excess can build up and cause weakness, low blood pressure and a slowed heart rate. If you have kidney disease, always ask for medical advice.

Can you take magnesium every night?

Yes, at usual doses, over a course of one to three months, then with a break and a review. A diet rich in pulses, nuts and wholegrains already covers a large part of your needs. The supplement is there to support your diet, not replace it.

Sources

  1. Mah J., Pitre T. (2021). Oral magnesium supplementation for insomnia in older adults: a systematic review and meta-analysis. BMC Complementary Medicine and Therapies, 21.
  2. Rondanelli M. et al. (2011). The effect of melatonin, magnesium, and zinc on primary insomnia in long-term care facility residents in Italy: a double-blind, placebo-controlled clinical trial. Journal of the American Geriatrics Society, 59(1), 82-90.
  3. Hausenblas H. A. et al. (2024). Magnesium-L-threonate improves sleep quality and daytime functioning in adults with self-reported sleep problems: a randomized controlled trial. Sleep Medicine: X, 8, 100121.
  4. Zhang Y. et al. (2022). Association of magnesium intake with sleep duration and sleep quality: findings from the CARDIA study. Sleep, 45(4).
  5. Abbasi B. et al. (2012). The effect of magnesium supplementation on primary insomnia in elderly: a double-blind placebo-controlled clinical trial. Journal of Research in Medical Sciences, 17(12).
  6. Gröber U., Werner T., Vormann J., Kisters K. (2017). Myth or reality: transdermal magnesium? Nutrients, 9(8), 813.
  7. Pouteau E. et al. (2018). Superiority of magnesium and vitamin B6 over magnesium alone on severe stress in healthy adults with low magnesemia: a randomized, single-blind clinical trial. PLoS One, 13(12).
  8. Ferracioli-Oda E., Qawasmi A., Bloch M. H. (2013). Meta-analysis: melatonin for the treatment of primary sleep disorders. PLoS One, 8(5), e63773.
  9. EFSA NDA Panel (2015). Scientific opinion on dietary reference values for magnesium. EFSA Journal, 13(7).
  10. Scientific Committee on Food (2001). Opinion on the tolerable upper intake level of magnesium, adopted by EFSA (2006), Tolerable upper intake levels for vitamins and minerals.
  11. Regulation (EU) No 432/2012 establishing a list of permitted health claims; Regulation (EU) No 1169/2011 (FIC), Annex XIII.
  12. ANSES (2018). Opinion on the risks associated with the consumption of food supplements containing melatonin.

Keep reading

Go further.

Magnesium is only one piece of the sleep puzzle. Our other guides to sleeping well, and our evening formula Sleep+.

Discover our mushroom and adaptogenic plant supplements

Our vegan formulas, made in Toulouse by a French manufacturer.

EnergyAnti-StressSleepRecoveryImmunity

See all our supplements