Magnesium is an essential mineral that supports muscles, nerves and energy production. Many people take it for sleep, cramps and stress, but the evidence is mixed: the best review on sleep found only low-quality trials, so magnesium may help some people a little, not everyone.
Key Takeaways
- Magnesium is needed for muscle and nerve function, and low intake is common when diets lack greens, nuts, seeds and whole grains.
- For sleep, a review of three small trials in older adults found people fell asleep about 17 minutes faster, but the quality of evidence was low to very low.
- Food first: you can often meet your needs through diet.
- Supplement forms differ (citrate, glycinate, oxide), and the most common side effect is loose stools.
- People with kidney disease should not take magnesium supplements without medical advice.
What Does Magnesium Do?
Magnesium takes part in hundreds of reactions in the body, including muscle contraction, nerve signalling and regulation of blood pressure. Good food sources include pumpkin seeds, almonds, cashews, spinach, whole grains, legumes and dark chocolate.
Magnesium for Sleep: What the Evidence Shows
A systematic review and meta-analysis looked at oral magnesium for insomnia in older adults. It found only three randomised trials with 151 people. Pooled results showed sleep onset (time to fall asleep) was about 17 minutes shorter than with placebo, while the increase in total sleep time was not statistically significant. All trials were at moderate to high risk of bias and the evidence was rated low to very low quality. (Mah and Pitre, 2021)
This means magnesium may help some people, but we cannot say for sure. It also does not tell us about younger adults. Sleep habits matter too: see Ayurvedic rules for eating dinner for ideas such as an earlier, lighter evening meal.
Magnesium for Cramps and Stress
- Muscle cramps: people often take magnesium for night cramps, but studies have not shown consistent benefit in the general population. Cramps can also come from dehydration, low potassium or medicines, so persistent cramps need a check.
- Stress: magnesium is involved in how the nervous system works, but there is no strong proof that supplements reduce everyday stress in people who are not deficient.
Which Type of Magnesium Should You Take?
| Form | Commonly used for | Notes |
|---|---|---|
| Magnesium citrate | General supplementation, constipation | Well absorbed; more likely to loosen stools |
| Magnesium glycinate | Often chosen for sleep and sensitive stomachs | Usually gentler on the gut; evidence specific to sleep is limited |
| Magnesium oxide | Cheap antacid/laxative and supplements | Contains a lot of magnesium but is absorbed poorly; the sleep trials used oxide and citrate |
No single form has been proven best for sleep. Choose one that suits your stomach and budget, and follow the label. If you also take calcium or iron, ask your pharmacist about timing. Our post on Jupical tablet uses covers another supplement tablet.
Side Effects and Safety
- Diarrhoea, nausea or stomach cramps, mostly with higher doses.
- Very high doses can cause dangerously high blood magnesium, especially if kidneys do not work well.
- Magnesium can interact with some antibiotics, thyroid medicines and bisphosphonates. Ask your pharmacist.
Who Should Avoid Magnesium Supplements?
- People with kidney disease.
- Those with heart rhythm problems or very slow heartbeat, unless their doctor agrees.
- Anyone on medicines that interact (ask your doctor).
FAQs
Can I take magnesium at night?
Many people do, but the best time has not been proven. Take it with food if it upsets your stomach.
How do I know if I am low in magnesium?
Symptoms are non-specific, and a blood test may not fully reflect body stores. Ask your doctor.
Is food enough?
For most healthy people, a varied diet with nuts, seeds, greens and whole grains can provide enough.
Conclusion
Magnesium is a safe, useful nutrient for most healthy people at normal doses, but evidence that it improves sleep, cramps or stress is limited. Fix food and sleep habits first, and speak to a doctor before using supplements regularly.
References
- Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a systematic review and meta-analysis. BMC Complement Med Ther, 2021
- NIH Office of Dietary Supplements: Magnesium fact sheet
This article is for general information only and is not medical advice. Do not start, stop or change any medicine or supplement without speaking to a qualified doctor or pharmacist.