The short answer
Magnesium works well as a laxative and has reasonable evidence for preventing migraine, slightly lowering blood pressure and modestly helping sleep. Evidence for anxiety, low mood and premenstrual symptoms is weak. For night-time leg cramps in older adults and menopausal hot flushes, good trials found no benefit.
On this page
How strong is the evidence for each claim?
We grade each claim on human trials only, using the four grades explained here. The grade describes how sure we can be, not how big the effect is: some well-proven effects are small.
| Claim | Grade | Why |
|---|---|---|
| Constipation | Strong | Magnesium salts are long-established osmotic laxatives, and placebo-controlled trials of magnesium oxide show clear benefit. |
| Migraine prevention | Moderate | Several placebo-controlled trials and a meta-analysis found fewer attacks at around 600 mg a day, but one trial found nothing. |
| Blood pressure | Moderate | A meta-analysis of 34 double-blind trials found a small fall of about 2 mmHg, larger in people with insulin resistance. |
| Sleep | Moderate | Several small placebo-controlled trials found people fell asleep a little faster or rated their sleep better. The effect is modest. |
| Blood sugar and type 2 diabetes | Moderate | Meta-analyses of double-blind trials found slightly lower fasting glucose in type 2 diabetes but no clear change in HbA1c. Gains were largest in people low in magnesium. |
| Anxiety and stress | Weak | A systematic review found hints of benefit in anxious people and those with premenstrual symptoms, but rated the studies as poor quality. |
| Restless legs | Weak | One single-blind trial of 75 people found magnesium oxide beat placebo after two months; a systematic review could not reach a conclusion. |
| Low mood and depression | Weak | One trial found a large improvement, but it had no placebo group, so expectation could explain much of it. |
| Premenstrual mood changes | Weak | One small trial of 32 women found better mood scores; it has not been well replicated. |
| Night-time leg cramps | None | A Cochrane review found magnesium is unlikely to help older adults with ordinary night cramps. Evidence in pregnancy is conflicting. |
| Menopausal hot flushes | None | A trial of 289 women found magnesium oxide worked no better than placebo. |
| Energy and tiredness | None | We found no placebo-controlled trial showing that magnesium reduces tiredness in people whose levels are normal. |
Why do so many claims rest on so little?
Because magnesium is involved in hundreds of chemical reactions in the body, including energy production, nerve signalling, muscle contraction and the control of blood sugar. That makes it easy to tell a convincing story about almost any symptom. Observational studies add to the impression: people with migraine, diabetes, depression and high blood pressure tend to have lower magnesium levels.
But a link is not proof. Illness, poor diet, alcohol and several common medicines all lower magnesium, so low levels may be a consequence rather than a cause. The question that matters is whether taking magnesium makes people better, and that needs placebo-controlled trials.
Who is most likely to benefit?
Across the trials, the clearest benefits appeared in people who were likely to be short of magnesium to start with: older adults, people with type 2 diabetes or insulin resistance, and people with low dietary intakes. If you eat well, the benefit may be small or nil.
People who regularly take medicines that drain magnesium, such as long-term acid-reducing tablets or some diuretics, can become genuinely deficient. That needs a blood test and advice from a GP, not guesswork.
What about forms and doses?
Most trials used 250 to 600 mg of elemental magnesium a day, often as magnesium oxide or citrate. There is little head-to-head evidence that one form works better than another for any of these conditions. See forms of magnesium for how they differ and dosage and timing for how much to take.
In this section
- Does magnesium help you sleep? What the trials show
Magnesium for sleep, graded: what placebo-controlled trials of magnesium oxide, glycinate and L-threonate found, and who is most likely to benefit.
Moderate - Magnesium for leg cramps: does it work?
Magnesium is the most popular remedy for night-time leg cramps. A Cochrane review says it probably doesn't help older adults. Here is the evidence.
None - Magnesium for migraine: dose, form and evidence
Can magnesium prevent migraine? What the placebo-controlled trials found, the dose they used, and how it compares with prescribed preventers.
Moderate - Magnesium for anxiety and stress: is there evidence?
Magnesium is widely sold as a calming mineral. Here is what trials of magnesium for anxiety, stress and low mood actually found, and how good they are.
Weak - Does magnesium lower blood pressure? The trial evidence
What double-blind trials show about magnesium and blood pressure: how much it lowers readings, at what dose, and who benefits most.
Moderate - Magnesium for constipation: how it works and how to take it
Magnesium salts are proven osmotic laxatives. How magnesium oxide and other forms relieve constipation, how much to take, and when to avoid them.
Strong - Magnesium for restless legs: does it help?
Magnesium is a popular remedy for restless legs syndrome. One small trial suggests it may help; a systematic review could not say. The evidence, graded.
Weak - Magnesium for blood sugar and type 2 diabetes: the evidence
Can magnesium lower blood sugar? What the trials found in type 2 diabetes and prediabetes, who gains most, and how to take it safely alongside treatment.
Moderate
Common questions
What is magnesium good for?
The best-supported uses are as a laxative for constipation, to help prevent migraine at fairly high doses, and to lower blood pressure by a small amount. It may modestly shorten the time it takes to fall asleep. It is not an energy supplement for people whose levels are normal.
Does magnesium help if you are not deficient?
Less than you might hope. Most of the benefits seen in trials were small, and several analyses suggest people who started with low magnesium or low intakes gained the most. If you already eat plenty of seeds, nuts, beans and wholegrains, a supplement may make little difference.
How long does magnesium take to work?
As a laxative it works within hours to a day. For migraine prevention, trials measured the effect after 8 to 12 weeks. Sleep and blood pressure trials ran for 3 weeks to 3 months, so give it at least a month before judging.
References
- Zhang X et al. Effects of magnesium supplementation on blood pressure: a meta-analysis of randomized double-blind placebo-controlled trials. Hypertension, 2016.pubmed.ncbi.nlm.nih.gov
- Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a systematic review and meta-analysis. BMC Complementary Medicine and Therapies, 2021.pubmed.ncbi.nlm.nih.gov
- Garrison SR et al. Magnesium for skeletal muscle cramps. Cochrane Database of Systematic Reviews, 2020.pubmed.ncbi.nlm.nih.gov
- Holland S et al. Evidence-based guideline update: NSAIDs and other complementary treatments for episodic migraine prevention in adults. Neurology, 2012.pubmed.ncbi.nlm.nih.gov
- Boyle NB et al. The effects of magnesium supplementation on subjective anxiety and stress: a systematic review. Nutrients, 2017.pubmed.ncbi.nlm.nih.gov
- Veronese N et al. Effect of magnesium supplementation on glucose metabolism in people with or at risk of diabetes: a systematic review and meta-analysis of double-blind randomized controlled trials. European Journal of Clinical Nutrition, 2016.pubmed.ncbi.nlm.nih.gov
- Mori H et al. Magnesium oxide in constipation. Nutrients, 2021.pubmed.ncbi.nlm.nih.gov
- Facchinetti F et al. Oral magnesium successfully relieves premenstrual mood changes. Obstetrics and Gynecology, 1991.pubmed.ncbi.nlm.nih.gov
- Park H et al. A double-blind placebo-controlled study of magnesium supplements to reduce menopausal hot flashes (NCCTG N10C2). Menopause, 2015.pubmed.ncbi.nlm.nih.gov
- Tarleton EK et al. Role of magnesium supplementation in the treatment of depression: a randomized clinical trial. PLoS One, 2017.pubmed.ncbi.nlm.nih.gov
First published 4 November 2026. Spotted an error? Tell us and we'll correct it. Read our editorial policy.
