Supplements

Does magnesium help muscle cramps?

Cochrane found magnesium unlikely to help older adults with cramps. [1] A later review found no clear effect in adults with night-time leg cramps. [5] The two reviews differ only for cramps during pregnancy. [1] [5]

Curated from published research by the Longevello editorial team

Published Updated Checked How we check

Part of the Longevello Supplements topic.

On this page
  1. In brief
  2. What did the Cochrane review include?
  3. What did the review find for older adults and liver disease?
  4. What did each source find during pregnancy?
  5. What unwanted effects occurred in the trials?
  6. When does the NHS say to see a doctor?
  7. Sources

In brief

  • A review studied older adults, pregnant women and people with liver disease. [1]
  • Results for cramps during pregnancy differ between reviews and a trial. [1] [3] [4] [5] [6]
  • Some people taking magnesium had gut effects such as diarrhoea. [1]
  • Cochrane found no trials of magnesium for cramps that come on with exercise. [1]

What did the Cochrane review include?

The Cochrane review was published in 2020. [1] It included 11 trials of magnesium for cramps. [1] In total, 735 people took part. [1]

Five trials enrolled pregnant women with leg cramps. [1] That group included 408 women. [1] Another five trials studied cramps with no known cause. [1]

Those trials enrolled 271 people. [1] In two of these trials, 118 of those people also took the dummy treatment in turn, as their own comparison. [1] A separate trial enrolled 29 people with liver scarring. [1]

What did the review find for older adults and liver disease?

Cochrane found that cramps were not clearly less frequent in older adults taking magnesium than in those taking placebo. [1] The review's authors concluded that magnesium probably gives older adults no useful protection from cramps. [1]

The liver disease trial found no difference in how often or how badly cramps came. [1] Only some of those taking part had cramps. [1]

What did each source find during pregnancy?

The pregnancy findings differ between sources. [1] [3] [4] [5] [6]

SourceWho was studiedWhat the source found
Cochrane, 2020Five pregnancy trials; 408 womenResults conflicted. The review could not pool them. Of three placebo comparisons, one found no benefit, one found benefit, and one had inconsistent frequency results. A trial comparing magnesium with no treatment found no clear benefit. [1]
Taiwan Journal of Obstetrics and Gynecology, 2021Four randomised trials; 332 pregnant womenMagnesium did not reduce cramp frequency or improve recovery compared with the control group. [3]
PLoS One, 2020A randomised trial; 132 women with cramps in early pregnancyMagnesium did not reduce how often cramps occurred compared with placebo over four weeks. [4]
International Dental Journal, 2026Four pregnancy trials; about 364 womenThe review of electrolyte supplements reported fewer cramps with magnesium than with placebo. [5]
Cochrane, 2002Five trials of different approaches; 352 pregnant women in totalThe review reported some suggestion of benefit in trials comparing magnesium with placebo. [6]

The 2002 total covers all the included approaches, rather than magnesium alone. [6]

The 2026 review also examined adults with night-time or persistent leg cramps. [5] Its four trials included about 396 adults. [5] It found no statistically significant effect on cramp frequency in that group. [5]

What unwanted effects occurred in the trials?

Cochrane reported mainly gut effects, such as loose stools, in people taking magnesium by mouth. [1] Across trials, these affected 11% to 37% of people taking magnesium. [1] The comparison figures were 10% to 14%. [1]

In the 2020 PLoS One trial, four women felt sick and had loose stools. [4] Each group had two affected women. [4]

When does the NHS say to see a doctor?

The National Health Service (NHS) says to see a doctor if any of these apply: [2]

  • Cramps disrupt sleep. [2]
  • The legs also feel numb or are swollen. [2]
  • A cramp lasts more than 10 minutes. [2]

For what can cause cramps, see what causes muscle cramps.

For magnesium's wider roles and safety, see what magnesium is good for.

Sources

  1. Cochrane Database of Systematic Reviews. Magnesium for skeletal muscle cramps. 2020;9:CD009402. PubMed record.
  2. NHS. Leg cramps. Reviewed 1 December 2023; review due 1 December 2026. Source page.
  3. Taiwan Journal of Obstetrics and Gynecology. Effect of oral magnesium supplementation for relieving leg cramps during pregnancy: A meta-analysis of randomized controlled trials. 2021;60(4):609-614. PubMed record.
  4. PLoS One. Oral magnesium supplementation for leg cramps in pregnancy: An observational controlled trial. 2020;15(1):e0227497. PubMed record.
  5. International Dental Journal. The Role of Electrolytes in Muscle Pain Syndromes: A Systematic Review and Meta-Analysis With Implications for Temporomandibular Disorder. 2026;76(3):109488. PubMed record.
  6. Cochrane Database of Systematic Reviews. Interventions for leg cramps in pregnancy. 2002;(1):CD000121. PubMed record.

Report a correction

This article provides information only. It does not give medical advice and does not replace your own doctor.

NecessaryAlways on

Remembers your cookie choice. It is stored in your browser and is not shared.

Shows us which pages are read, from roughly which country and city, on what device, and how people found the site. Run by Google LLC. Cookies: _ga and _ga_*, kept for up to 2 years. Google keeps the data for 2 months.

Privacy