Question

Does magnesium stop leg cramps?

  • Tier B thin Tested, but not in people like you
  • Last checked 2026-11-16
  • Not yet clinically reviewed

Short answer

Magnesium tablets did not clearly prevent leg cramps in older adults. The Cochrane review pooled 11 trials (735 people, including pregnancy trials at high risk of bias); for cramps without a known cause, largely in older adults, the difference from placebo was small and not significant. Do not rely on tablets for night cramps. See your doctor if cramps are frequent, severe, or come with weakness or swelling.

What this is based on

  • Relying on magnesium tablets to stop night leg cramps: in older adults the Cochrane review found no clear effect.Tested Garrison 2020
  • Who was tested: People with skeletal muscle cramps in 11 randomised trials (five in pregnancy, five idiopathic, one cirrhosis). What was found: For idiopathic cramps, largely in older adults (mean age about 62 to 69), cramp frequency differences between magnesium and placebo were small and statistically non-significant (moderate-certainty evidence). The pregnancy and cirrhosis trials were at high risk of bias.Tested Garrison 2020 Study page
  • Cramps that are frequent, severe, or come with weakness or swelling (doctor).When to see someone
  • My PubMed search (title and abstract terms for the product, with African American, African-American, Black adults, Black women, Black men, African descent, African ancestry and similar terms) returned 38 records for magnesium supplementation; the relevant ones were observational (a 2003 review, intake surveys), and none was a magnesium supplement trial for sleep or cramps in Black participants. The same search style for "vitamin D" returned 930 records, so the search works. ClinicalTrials.gov (API v2, intervention search with "African American" OR Black anywhere in the record): 32 records matched (titles read only; most unrelated). The NIH Office of Dietary Supplements pages returned a security check and could not be opened. Untested: sleep or cramp benefit in Black participants; whether any low magnesium status in Black adults is corrected by supplements.Not tested, and gaps (from the card)

Also asked as

  • does magnesium stop leg cramps at night
  • does taking magnesium stop leg cramps
  • does magnesium tablets stop leg cramps

From the card

Magnesium tablets did not clearly prevent leg cramps in older adults, and for sleep three small, low-quality trials in older adults hint at falling asleep a little faster. Our search found no supplement trial in Black participants. Up to four hundred milligrams a day from supplements is unlikely to harm; more can cause diarrhoea.

Where this comes from

Read the full entry: Magnesium supplements for sleep and cramps

Last checked against its sources: . Next check due: 17 May 2027.

This is information, not medical advice. If you are worried, see a doctor or pharmacist. How we grade the evidence.