Table of Contents
- Does Magnesium Help Sleep?
- Best Magnesium for Sleep, Dosage and When to Take It
- Magnesium-Rich Foods for Better Sleep and When to Speak to a GP
- Frequently Asked Questions
Last Updated: December 2, 2026
Does Magnesium Help Sleep?
Magnesium may help some people sleep, but the evidence is mixed and the benefits are modest. Most of the research looks at people who are low in magnesium, so the effect for everyone else is unclear.
Magnesium plays a role in nerve and muscle function, and it is involved in the systems that help the body wind down. That is why many people try it for restless nights. However, a good night's sleep depends on many factors, and magnesium is only one of them. Because sleep depends on more than one factor, it may help to consider how natural supplements for staying asleep fit alongside other habits that support a restful night.
This guide is designed to help you weigh the evidence and decide what makes sense for you.
!A calm bedroom at night with a glass of water and a small pot of tablets on a bedside table, soft lamplight

Best Magnesium for Sleep, Dosage and When to Take It
Different forms of magnesium are absorbed and used in different ways. Magnesium glycinate is often chosen for evening use because it is gentle on the stomach. If you want to compare it with other options, see our overview of natural sleep remedies. Magnesium citrate is more likely to cause loose stools at higher doses.
Always check the label for elemental magnesium, which is the amount your body actually gets. Follow the dose on the packaging and speak to a pharmacist if you are unsure how much is right for you.
Watch out: taking high doses without advice can cause diarrhoea and stomach upset.
The article compares a few forms of magnesium and how they are used.
| Form | Best for | Key difference |
|---|---|---|
| Magnesium glycinate | Evening use | Gentle on the stomach |
| Magnesium citrate | General use | More likely to cause loose stools at higher doses |
Magnesium-Rich Foods for Better Sleep and When to Speak to a GP
Food is a good place to start. Leafy greens, nuts, seeds, beans and wholegrains all contain magnesium (the NHS). Eating a varied diet is usually the simplest way to get enough.
If sleep problems continue for several weeks, speak to a GP. Our guide to circadian rhythm sleep disorders explains one possible underlying cause you could raise with them. Persistent insomnia can have causes that supplements will not fix.
Our range of CBD products is available to browse on our shop, but always check with a healthcare professional before adding anything new to your routine, especially if you take medication.
Feeling unsure where to start? Our team at SMOKO CBD can help you find a product that suits your routine. Visit smokocbd.com to explore the range and find your next step.
Frequently Asked Questions
Which type of magnesium is best for sleep?
The evidence does not single out one form as clearly superior. Magnesium glycinate is often chosen because it is well absorbed and gentle on the stomach, while magnesium citrate can loosen the bowels at higher doses. Magnesium L-threonate has been studied mainly in lab and small trials, so its sleep benefits are less certain. Whichever form you choose, check the elemental magnesium content on the label and speak to a pharmacist or GP if you take other medicines.
When should you take magnesium before bed?
Many people take magnesium with an evening meal or about an hour before bed, though research has not identified one ideal time. Taking it with food can reduce stomach upset. Follow the timing on the product label and do not exceed the recommended daily amount. If sleep problems persist after several weeks, see a GP rather than increasing the dose.
Can you take magnesium every night?
Daily use is generally considered safe for healthy adults at doses within UK guidance, but the total amount from food, supplements and fortified products should be considered. Check the current NHS guidance on supplemental magnesium limits for adults, and follow advice from a healthcare professional. People with kidney disease, or those taking certain antibiotics, diuretics or heart medicines, should seek medical advice first.