← All verdicts · Myth check · 2026-10-20

Magnesium supplements: do they help leg cramps and sleep, and is it OK to take them every day?

Do magnesium supplements help leg cramps and sleep, and is it fine to take them every day?

Evidence Check Badge
Evidence Check Badge
We checked this verdict against 8 sources, such as published studies and clinical guidelines. · How checked: Operator-approved

Verdicts at a glance

ClaimVerdict
Magnesium supplements reduce night-time leg cramps (with no clear cause, mostly in middle-aged and older adults)False · Evidence grade A
Magnesium supplements help with sleep (insomnia)Insufficient evidence · Evidence grade C
It is fine to take magnesium supplements every dayMostly true · Evidence grade B

Bottom line — In a review of randomized trials, magnesium did not reduce night-time leg cramps in middle-aged and older adults, and its effect on sleep is not yet clear either. For healthy adults, taking up to 350 mg a day from supplements is mostly fine, but it can cause diarrhea, and people with reduced kidney function need to be careful.

Terms used in this article
Mean difference — The average in one group minus the average in the other. Zero means no difference.
Relative risk — The proportion of people in one group who had an outcome divided by the proportion in the other group. A value of 1 means no difference; above 1 means the outcome was more common in the group being compared (for example, the magnesium group).
Odds ratio — Like relative risk, a way to compare two groups. A value of 1 means no difference; above 1 means the outcome was more common in people with that factor.
95% confidence interval — The range in which the true value likely lies. If it includes 0 (for a mean difference) or 1 (for a relative risk or odds ratio), we say there is no statistically clear difference.

Claim 1. “Magnesium supplements reduce night-time leg cramps (with no clear cause, mostly in middle-aged and older adults)”

False · Evidence grade A

In plain words When randomized trials were pooled, night-time leg cramps in middle-aged and older adults happened about as often with magnesium as with a placebo (dummy pill).

What about leg cramps during pregnancy?
The Cochrane review found that results from trials in pregnant women were conflicting [1]. A meta-analysis of four randomized trials in pregnant women (332 women) found no reduction in how often cramps occurred (mean difference -0.47, 95% confidence interval -1.14 to 0.20) [3]. However, the Cochrane review rated all of the trials in pregnant women as being at high risk of bias, so we did not use these results in the verdict [1]. If you are pregnant, talk to your prenatal care provider before taking any supplement.

Scope: This verdict is about muscle cramps with no clear cause (mostly night-time leg cramps in middle-aged and older adults). We did not rate cramps during exercise because there are no randomized trials, and the verdict does not apply when tests have confirmed a magnesium deficiency.

Claim 2. “Magnesium supplements help with sleep (insomnia)”

Insufficient evidence · Evidence grade C

In plain words Some trials found a small benefit, but the results are mixed and the studies are of low quality, so there is not yet enough evidence to say magnesium helps sleep. It has not been shown that it does not work, either.

Why grade C?
There is a systematic review of randomized trials, but the results differ depending on how sleep was measured and the trials are few and small, so under our rating method we graded the evidence down two levels. This does not mean magnesium has been shown not to work; it means there are not yet studies strong enough to say that it does. If insomnia goes on for a long time, see a doctor before turning to supplements.

Claim 3. “It is fine to take magnesium supplements every day”

Mostly true · Evidence grade B

In plain words For healthy adults, taking magnesium within the upper limit (350 mg a day from supplements and medicines) is mostly fine. But it can cause diarrhea, and people with reduced kidney function or who take certain medicines should check with their doctor or pharmacist first.

Check with your doctor or pharmacist before taking magnesium if you
· have kidney disease
· take an osteoporosis medicine (a bisphosphonate) or a tetracycline or quinolone antibiotic — magnesium can reduce how well these medicines are absorbed, so the doses need to be spaced apart. Ask your pharmacist how far apart to take them. [7]
· also take a laxative or antacid that contains magnesium — together they can go over the upper limit
· get diarrhea from a magnesium supplement — take less of the supplement (for a prescribed medicine, ask your doctor or pharmacist).

Scope: The figures on stomach and bowel side effects come from trials that gave magnesium for a few weeks to people with cramps, so they do not directly show what happens when someone takes it every day for years. That is why we graded the evidence down one level to B.

Limitations of this verdict

Card news

Video (in Korean)

References

  1. Garrison SR, Korownyk CS, Kolber MR, et al. Magnesium for skeletal muscle cramps. Cochrane Database Syst Rev 2020;9(9):CD009402. PMID 32956536. PubMed abstract · Full article · Free full text
  2. Kuusipalo A, Laitila J, Lehtonen E, et al. Secondary prevention of leg cramps using compression stockings or magnesium supplements: a three-arm randomized clinical trial. Trials 2026;27(1). PMID 41680812. PubMed abstract · Full article · Free full text
  3. Liu J, Song G, Zhao G, et al. Effect of oral magnesium supplementation for relieving leg cramps during pregnancy: A meta-analysis of randomized controlled trials. Taiwan J Obstet Gynecol 2021;60(4):609-614. PMID 34247796. PubMed abstract · Full article
  4. Lopresti AL, Smith SJ, Drummond PD. Magnesium Supplementation for Sleep in Adults: A Systematic Review of Randomized Controlled Trials. J Diet Suppl 2026;23(5):553-581. PMID 42661485. PubMed abstract · Full article
  5. Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis. BMC Complement Med Ther 2021;21(1):125. PMID 33865376. PubMed abstract · Full article · Free full text
  6. Schuster J, Cycelskij I, Lopresti A, et al. Magnesium Bisglycinate Supplementation in Healthy Adults Reporting Poor Sleep: A Randomized, Placebo-Controlled Trial. Nat Sci Sleep 2025;17:2027-2040. PMID 40918053. PubMed abstract · Full article · Free full text
  7. NIH Office of Dietary Supplements (ODS) — Magnesium Fact Sheet for Health Professionals (updated 2026-01-06) (accessed 2026-10-12). Source
  8. Wakai E, Ikemura K, Sugimoto H, et al. Risk factors for the development of hypermagnesemia in patients prescribed magnesium oxide: a retrospective cohort study. J Pharm Health Care Sci 2019;5:4. PMID 30805197. PubMed abstract · Full article · Free full text
How checked: Operator-approved (How we rate) · Last reviewed: 2026-10-20
General information only, not medical advice. It does not replace your own clinician's diagnosis or treatment. If you have kidney disease or take other medicines (such as osteoporosis medicines or certain antibiotics), talk to your doctor or pharmacist before taking a magnesium supplement.