man sleeping in Zizzz bio satin bedding

Magnesium may help some people fall asleep a little more easily, but it is not a sleeping pill. A few clinical trials have shown modest improvements, particularly among older adults with insomnia, but the evidence remains limited.

The first step is to get enough magnesium through your diet. A supplement may be worth considering if your intake is insufficient or if a healthcare professional recommends it.

Key Takeaways

  • Effects on sleep: Modest improvements in some people, but the scientific evidence is still limited.
  • Daily requirements: 300–380 mg per day, depending on sex and the nutritional guidelines used (FSVO in Switzerland and ANSES in France).
  • Best food sources: Pumpkin seeds, Brazil nuts, oats, quinoa, tofu, wholemeal bread and magnesium-rich mineral water.
  • Supplements: Avoid taking more than 250 mg per day from supplements without medical advice. Diarrhoea is the main side effect.
  • Night-time muscle cramps: Magnesium is unlikely to provide meaningful prevention of muscle cramps in older adults.

Does Magnesium Really Help You Sleep?

The effects observed in clinical studies are modest. In 2021, a systematic review combined three controlled trials involving 151 older adults with insomnia. Participants taking magnesium fell asleep an average of 17 minutes faster than those taking a placebo. However, total sleep duration did not increase significantly. The researchers rated the quality of the evidence as low to very low.

In 2025, a trial involving 155 adults aged 18–65 who reported poor sleep tested 250 mg of magnesium per day in the form of magnesium bisglycinate for four weeks. The improvement in insomnia symptoms was statistically significant compared with placebo, but the effect was small.

In practice, magnesium may be helpful if your dietary intake is insufficient. If you have been sleeping poorly for several weeks, speak to your doctor. Persistent insomnia often has other causes, such as stress, irregular schedules or your bedroom environment.

How Does Magnesium Affect Nerves and Muscles?

Magnesium is involved in more than 300 enzyme systems in the body. It contributes to the normal functioning of the nervous system and muscles. In particular, it plays a role in transmitting nerve signals and maintaining the balance between muscle contraction and relaxation. Its physiological role is well established, but this does not mean that taking magnesium supplements will automatically improve your sleep.

Does Magnesium Help with Night-Time Muscle Cramps?

Probably not for most adults. A 2020 Cochrane review concluded that magnesium is unlikely to provide a clinically meaningful benefit in preventing muscle cramps in older adults. For cramps during pregnancy, the results of studies are inconsistent.

If night-time cramps frequently wake you up, consult your doctor rather than increasing your magnesium intake on your own.

Magnesium Deficiency: What Are the Symptoms?

In otherwise healthy people, a true magnesium deficiency caused by inadequate dietary intake is uncommon because the kidneys help limit magnesium losses. Deficiency is more common in people with chronic alcohol dependence, certain digestive disorders or those taking particular medications over a long period.

Early symptoms are often non-specific and may include:

  • Loss of appetite
  • Nausea
  • Fatigue
  • Weakness

As a deficiency becomes more severe, other symptoms may develop, including tingling, involuntary muscle contractions, cramps and, in serious cases, abnormal heart rhythms.

Poor sleep alone is not enough to indicate a magnesium deficiency. If a deficiency is suspected, your doctor can assess your symptoms and possible risk factors and, if necessary, request a blood test to measure magnesium levels.

How Much Magnesium Do You Need Per Day?

AdultsSwitzerland (FSVO)France (ANSES, 2021)
Men350 mg per day380 mg per day
Women300 mg per day300 mg per day

Reference values for adults aged 18–65. Certain groups, including older adults, may have different nutritional reference values.

These figures are nutritional reference values for healthy adults. They vary between countries depending on the assessment methods used. A varied diet containing wholegrains, pulses, seeds and nuts can help you meet your daily magnesium requirements.

Which Foods Are Rich in Magnesium?

FoodMagnesium per 100 gPer serving
Pumpkin seeds520 mg52 mg (10 g)
Brazil nuts350 mg88 mg (25 g)
Uncooked quinoa210 mg126 mg (60 g)
Porridge oats120 mg72 mg (60 g)
Dark chocolate120 mg24 mg (20 g)
Plain firm tofu78 mg94 mg (120 g)
Wholemeal wheat bread82 mg41 mg (50 g)

Approximate values adapted from nutritional data published by the Swiss Society for Nutrition. Magnesium content can vary between products.

Brazil nuts are also particularly rich in selenium, although the amounts vary considerably. Avoid eating large quantities simply to increase your magnesium intake.

Some mineral waters are also a useful source of magnesium. A mineral water may carry the claim "contains magnesium" when it provides more than 50 mg per litre. Check the label to see how much it contains.

Magnesium Supplements: Which Type Should You Choose and When Should You Take Them?

If your diet does not provide enough magnesium, a supplement may be helpful. The most common forms include:

  • Magnesium citrate: Well absorbed, but it may have a laxative effect.
  • Magnesium bisglycinate (or glycinate): Generally well tolerated. This was the form used in the 2025 sleep trial, although that does not prove it is better than other forms for improving sleep.
  • Magnesium oxide: Widely available, but generally less well absorbed than other forms.

No studies have established the best time of day to take magnesium. In sleep trials, it was taken in the evening, which is also a common choice. Taking it consistently is more important than the exact time.

Important Precautions

  • Avoid exceeding 250 mg of supplemental magnesium per day without medical advice. This is the European upper safety limit for supplemental magnesium intake. In Switzerland, regulations permit certain supplements to contain up to 375 mg per daily serving, with a warning about possible laxative effects when the amount exceeds 250 mg. These limits do not apply to magnesium naturally present in food.
  • If you have kidney disease, do not take magnesium supplements without medical advice.
  • Magnesium can reduce the absorption of certain antibiotics and osteoporosis medications. The recommended interval between doses depends on the medication. Ask your pharmacist for advice and follow the instructions in the patient information leaflet.

Can Magnesium Keep You Awake?

There is no evidence that magnesium causes insomnia. However, high doses can cause digestive problems, particularly diarrhoea, which may disturb your sleep. If this happens, reduce the dose or take your supplement earlier in the day.

What About Epsom Salt Baths?

Epsom salt is magnesium sulphate. However, there is no convincing evidence that the skin absorbs a useful amount of magnesium during a bath. A scientific review published in 2017 concluded that claims about the benefits of transdermal magnesium products are not supported by the available evidence.

A warm bath before bedtime may nevertheless help you relax for other reasons. Read our article about the benefits of a warm bath or shower before bed.

What Else Can Help You Sleep Better?

Magnesium is no substitute for good sleep habits. If stress makes it difficult for you to fall asleep, discover our techniques for managing bedtime anxiety.

What you eat in the evening can also affect your comfort at night. Find out more in our article about foods to avoid before bedtime.

Frequently Asked Questions

Does Magnesium Help You Sleep?

Magnesium may help some people fall asleep a little more easily, but it is not a sleeping pill. A few clinical trials have shown modest improvements, particularly among older adults with insomnia, but the evidence remains limited.

When Should You Take Magnesium for Sleep?

No studies have established the best time to take magnesium. In sleep trials, participants generally took it in the evening, which is also a common choice. Taking it consistently is more important than the exact time of day.

Can Magnesium Keep You Awake?

There is no evidence that magnesium causes insomnia. However, high doses may cause digestive problems, such as diarrhoea, which can disturb your sleep. If this happens, reduce the dose or take your supplement earlier in the day.

How Much Magnesium Do You Need Per Day?

In Switzerland, the Federal Food Safety and Veterinary Office (FSVO) recommends 350 mg per day for adult men and 300 mg for adult women. In France, ANSES recommends 380 mg per day for men and 300 mg for women. Without medical advice, avoid exceeding 250 mg of magnesium per day from supplements.

Does Magnesium Help with Night-Time Muscle Cramps?

Probably not for most adults. A 2020 Cochrane review concluded that magnesium is unlikely to provide a meaningful benefit in preventing muscle cramps in older adults. For muscle cramps during pregnancy, research findings remain inconsistent.

Sources

 



Would you like to receive exclusive offers? Stay connected with Zizzz!

Why not stay in touch? Sign up for our newsletter to enjoy special offers, exclusive discounts, and the latest updates on our eco-friendly baby and children’s products, duvets, pillows, and premium-quality bed linen.

 

Our Mission at Zizzz

Enhancing quality of life and well-being through better sleep


At Zizzz, our mission is to improve quality of life by promoting good sleep as an essential component of overall well-being.


We offer products and resources that promote restorative and revitalizing sleep, recognizing it as one of the three pillars of a healthy lifestyle, alongside a balanced diet and regular physical activity.

By prioritizing quality sleep, we empower individuals to lead healthier and happier lives.

 

Preserving our environment and helping to build a better future


We achieve this goal by using only natural materials such as wool, traceable down, and organic cotton in our products, ensuring a luxurious and eco-friendly sleep environment.

Committed to sustainability and ethical practices, we produce locally, supporting local economies and reducing our carbon footprint.

Choosing Zizzz means investing in your own well-being while contributing to a more sustainable future for all.