SourceMed · Shelf #544 in the ask interface
Magnesium for nocturnal leg cramps
Shelf #544 · Vitamins & minerals
Stamped: development phase, October–November 2026 — exact date not recorded.
Evidence published: 1995–2020.
Last source check: not yet re-checked since stamping.
Source correction status: not yet checked for source corrections.
Question
Does oral magnesium prevent night-time leg cramps, in older adults or in pregnancy?
Balance of the evidence
Split stamp. LIKELY the null in older adults: the Cochrane review (Garrison 2020) found, for idiopathic cramps in older adults (trial mean ages 61.6 to 69.3 years), differences versus placebo that were small, non-significant and homogeneous — cramps per week MD -0.18 (-0.84 to 0.49) and a ≥25% cramp-reduction responder rate ratio of 1.04 (0.84 to 1.29) on high-certainty evidence — and concludes clinically meaningful prophylaxis is unlikely. MAYBE (weak evidence) in pregnancy: the same review could not pool the five pregnancy trials (408 participants) because their results conflict, and the two primary trials carded here disagree — Dahle 1995 positive, Nygaard 2008 null — all judged at high risk of bias.
MeSH: Age Factors · Cross-Over Studies · Magnesium/adverse effects/therapeutic use · Muscle Cramp/drug therapy/etiology · Muscle, Skeletal · Placebos/therapeutic use · Pregnancy
Cards (4)
Card 1 — Cochrane 2020: magnesium did not prevent idiopathic cramps in older adults; pregnancy trials conflicted
Study: Cochrane systematic review
Population: 11 trials enrolling 735 individuals (118 cross-over participants additionally served as their own controls): five trials in pregnancy-associated leg cramps (408 participants), five in idiopathic cramps (271 participants) and one in liver cirrhosis (29 people). In the idiopathic-cramp trials, largely older adults, mean ages were 61.6 to 69.3 years; the abstract does not state the overall sex mix.
Summary: Cochrane 2020, older adults: cramps per week difference −0.18 [−0.84 to 0.49] — a tight null for idiopathic cramps.
Result: For idiopathic cramps at four weeks, magnesium versus placebo showed a percentage change in cramps per week of MD -9.59% (95% CI -23.14% to 3.97%; 3 studies, 177 participants; moderate-certainty evidence), a difference in cramps per week of MD -0.18 (-0.84 to 0.49; 5 studies, 307 participants; moderate-certainty), and no difference in the proportion achieving a ≥25% reduction in cramp rate (RR 1.04; 0.84 to 1.29; 3 studies, 177 participants; high-certainty evidence); cramp intensity and duration also did not differ significantly. For pregnancy-associated cramps, meta-analysis was not possible: of three placebo-controlled trials, one found no benefit, one found benefit on frequency and intensity, and one reported inconsistent frequency results. Major adverse events (2 of 72 magnesium vs 3 of 68 placebo) and withdrawals did not differ significantly; minor adverse events were more frequent with magnesium (RR 1.51; 0.98 to 2.33), mostly gastrointestinal (e.g. diarrhoea) in 11% to 37% of participants versus 10% to 14% of controls. The authors conclude it is unlikely magnesium provides clinically meaningful cramp prophylaxis to older adults, while the pregnancy literature is conflicting and needs further research.
Watch out: All five pregnancy trials and the cirrhosis trial were judged at high risk of bias; only one of the five idiopathic-cramp trials was. No randomised trials evaluated magnesium for exercise-associated or disease-state cramps.
Source: Garrison SR et al. Magnesium for skeletal muscle cramps. Cochrane Database Syst Rev. 2020;9(9):CD009402. PMID: 32956536. Registry ID: the record's databank lists ClinicalTrials.gov NCT03082625 — a trial registration associated with the review record, not a registration of the review itself.
Card 2 — Dahle 1995: oral magnesium reduced leg-cramp distress in pregnancy
Study: Randomised controlled trial
Population: 73 women with pregnancy-related leg cramps, treated for 3 weeks; serum magnesium and diurnal magnesium excretion were measured in 50% of patients. The abstract does not state mean age.
Summary: Dahle 1995 (pregnancy): oral magnesium reduced leg-cramp distress vs placebo (p<0.05).
Result: Oral magnesium decreased leg-cramp distress compared with placebo (p<0.05) and compared with initial complaints (p<0.001), without significantly increasing serum magnesium levels; urinary magnesium excretion increased (p<0.002). Baseline serum magnesium levels were at or below the lower reference limit, as is also often the case in healthy pregnant patients. The authors conclude oral magnesium seems to be a valuable therapeutic tool for pregnancy-related leg cramps.
Watch out: A small, short trial judged at high risk of bias in the Cochrane review, using a distress interview rather than counted cramps; its result conflicts with the later Nygaard trial.
Source: Dahle LO et al. The effect of oral magnesium substitution on pregnancy-induced leg cramps. Am J Obstet Gynecol. 1995;173(1):175-80. PMID: 7631676. Registry ID: no registry ID appears in the record's databank.
Card 3 — Nygaard 2008: 360 mg magnesium did not reduce pregnancy leg cramps
Study: Randomised controlled trial
Population: 45 healthy pregnant women between 18 and 36 weeks of pregnancy with painful leg cramps at least twice a week were enrolled and 38 completed 2 weeks of magnesium 360 mg daily or placebo; the abstract does not state mean age.
Summary: Nygaard 2008 (pregnancy): 360 mg magnesium — cramps 9.5 vs 7.7 and intensity 13.2 vs 11.4, not significant and numerically worse.
Result: There were no significant differences between groups in cramp frequency or intensity: mean number and intensity of cramps were 9.5 (SD 5.1) and 13.2 (SD 6.5) in the magnesium group compared with 7.7 (SD 4.7) and 11.4 (SD 8.5) in the placebo group. Serum magnesium and calcium did not differ between or within groups, although magnesium excretion increased significantly in the magnesium group (p<0.01). The study was powered to detect a 50% reduction in leg cramps, and none was found.
Watch out: Small and short (2 weeks, 38 completers), and also among the pregnancy trials the Cochrane review judged at high risk of bias — it refutes a large effect, not a small one.
Source: Nygaard IH et al. Does oral magnesium substitution relieve pregnancy-induced leg cramps? Eur J Obstet Gynecol Reprod Biol. 2008;141(1):23-6. PMID: 18768245. Registry ID: no registry ID appears in the record's databank.
Card 4 — Synthesis: older adults — LIKELY no meaningful benefit; pregnancy — MAYBE (weak evidence), trials disagree
Study: Synthesis
Population: Synthesis of the cards above: the Cochrane review (11 trials, 735 individuals), Dahle 1995 (73 pregnant women) and Nygaard 2008 (38 pregnant completers).
Summary: Older adults: LIKELY no meaningful benefit. Pregnancy: the two trials disagree — MAYBE (weak evidence).
Result: For idiopathic nocturnal cramps in older adults the pooled estimates are tightly null (cramps per week MD -0.18, -0.84 to 0.49; responder RR 1.04, 0.84 to 1.29, high-certainty), supporting LIKELY the null. For pregnancy, the evidence cannot be pooled and the primary trials conflict — distress reduced in Dahle (p<0.05 vs placebo) and no frequency or intensity effect in Nygaard — supporting only MAYBE (weak evidence). Minor, mostly gastrointestinal adverse events are more common on magnesium.
Watch out: Do not carry the older-adult null into pregnancy, or the pregnancy uncertainty into older adults; they are different populations with different evidence, which is why this shelf carries a split stamp.
Source: Synthesis of Garrison SR et al. Cochrane Database Syst Rev. 2020;9(9):CD009402. PMID: 32956536; Dahle LO et al. Am J Obstet Gynecol. 1995;173(1):175-80. PMID: 7631676; Nygaard IH et al. Eur J Obstet Gynecol Reprod Biol. 2008;141(1):23-6. PMID: 18768245. Registry IDs as on the individual cards.