Evidence explainer
Magnesium for Leg Cramps: What Cochrane Found in Older Adults and in Pregnancy
It is the most common reason people reach for magnesium at night. The best trials in older adults found it works about as well as a placebo; in pregnancy the evidence is mixed.
By Kymata Health Editorial Published Last checked
We earn a commission if you buy through some links on this page. You pay the same price. See how we make money.

Quick pick
From a partner brand · paid linkIts name matches magnesium glycinate (bisglycinate), one of the forms compared in our Forms table.
Label: 2 capsules: 200 mg magnesium (as magnesium bisglycinate).
Best for regular use: $12.74 on subscription vs $16.99 one-time (checked Nov 22, 2026).
Key takeaways
From 5 sources- For night-time leg cramps in older adults, a 2020 Cochrane review of 5 trials found magnesium cut cramps by only 0.18 per week versus placebo, a difference that was not statistically significant (moderate-certainty evidence)1.
- The largest single trial, 94 adults given magnesium oxide at bedtime for 4 weeks, saw cramps fall in both groups; the gap versus placebo was 0.38 cramps per week and not significant2.
- In pregnancy the picture is mixed: some single trials found fewer cramps, others found no difference, and a 2021 meta-analysis of 4 trials (332 women) found no drop in cramp frequency34.
- Side effects were mostly digestive: diarrhea affected 11% to 37% of magnesium takers across trials, versus 10% to 14% on control1.
- Cramps are also a symptom of true magnesium deficiency, which is uncommon in healthy people but more likely with long-term diuretics, PPIs, diabetes or heavy drinking; that is a reason to test, not to guess5.
What this article covers
3 evidence profilesThe evidence, graded
Pulled from the trial tables in our evidence profiles. Grades follow our evidence-grading policy.
Graded findings
1 row- ∅No effectMuscle cramps (older adults)No effect For idiopathic cramps, cramps per week barely moved versus placebo (−0.18; moderate certainty). Pregnancy-cramp results conflicted.Magnesium · Meta-analysis · n=307 · 2020 · PMID 32956536
Night cramps after 50: the trials say placebo-level
Most magnesium-for-cramps research was done in people with ordinary night-time calf cramps, the kind with no obvious cause that become more common with age. Cochrane pooled 5 trials of these idiopathic cramps (mean age about 62 to 69) and found no meaningful effect. Its primary measure, the percentage change in weekly cramps at 4 weeks (3 trials, 177 people), differed from placebo by 9.59% with a confidence interval that crossed zero1.
The share of people whose cramps fell by at least a quarter was the same with magnesium and placebo (risk ratio 1.04, high-certainty evidence), and cramp intensity and duration did not differ either1. The review authors concluded it is unlikely magnesium gives clinically meaningful cramp prophylaxis to older adults1.
The 2017 JAMA Internal Medicine trial shows why so many people feel it works anyway. Weekly cramps dropped from about 7.8 to 4.4 on magnesium oxide, but also from 8.5 to 5.5 on placebo2. The authors called the shared improvement probably a placebo effect2.
Leg cramps in pregnancy: mixed, low-certainty evidence
Pregnancy cramps are where magnesium has its best case, and it is still weak. The 2020 Cochrane pregnancy review found single trials pointing both ways: in one, women were more likely to report no cramps at all after magnesium (risk ratio 5.66, 69 women), while other comparisons showed little or no difference; all of it was low or very low certainty3.
A 2021 meta-analysis that pooled 4 randomized trials in 332 pregnant women found no reduction in cramp frequency and no better recovery than control4. Anyone pregnant should clear any supplement with their prenatal care team; the supplemental upper limit in pregnancy is the same 350 mg a day as for other adults5.
Cramps during exercise: no trials at all
Cochrane found no randomized trials of magnesium for exercise-associated cramps, or for cramps tied to conditions such as motor neuron disease beyond one small inconclusive study in liver cirrhosis1. Claims that magnesium stops cramps mid-run rest on mechanism, not trials. For hydration and salt during long efforts, see salt tablets for endurance and electrolyte drinks vs water.
When low magnesium really is the cause
Muscle cramps are a recognised symptom of magnesium deficiency, alongside numbness, tingling and, in severe cases, abnormal heart rhythms5. Deficiency from diet alone is uncommon in healthy people because the kidneys hold magnesium back, but it is more likely with Crohn's or celiac disease, type 2 diabetes, alcohol dependence, older age, long-term loop or thiazide diuretics, and proton pump inhibitors taken for more than a year5.
If any of those apply, a blood test and a conversation with your clinician are more useful than a bedtime capsule; you can order your own blood work if you want a baseline first. Serum magnesium is an imperfect marker, because less than 1% of body magnesium sits in the blood5.
If you try it anyway: dose and form
The cramp trials mostly used magnesium oxide or citrate at bedtime for about 4 weeks12. Supplemental magnesium has an adult upper limit of 350 mg a day, and the oxide, carbonate, chloride and gluconate forms are the ones most often linked to diarrhea5. A 4-week trial on yourself, with a cramp diary, is the honest test; if nothing changes, the trials suggest it will not. Check the label maths in how much magnesium is too much and the form comparison in magnesium glycinate vs citrate.
Quick answers
Common questions
4 answersDoes magnesium help leg cramps at night?
Is magnesium good for leg cramps in pregnancy?
What is the best magnesium for leg cramps?
How much magnesium is safe to take?
Keep reading
Full evidence profiles Every graded study, studied doses, interactions and safety
Mineral · best grade AMagnesiumEssential mineral involved in over 300 enzyme systems; sold as glycinate, citrate, threonate, malate, taurate, oxide and other salts.
Mineral · best grade BMagnesium oxideMagnesium oxide is the most magnesium-dense and cheapest supplement form, about 60% magnesium by weight, and is also an osmotic laxative.
Mineral · best grade CMagnesium citrateMagnesium salt of citric acid (about 16% magnesium by weight), among the better-absorbed forms in human comparisons.
Related articles 4 articles
ArticleBest Magnesium Supplement 2026: Ranked by Form, Label Dose vs Studied Dose, Testing and Cost per 100 mgWhat is the best magnesium supplement?
ArticleHow Much Magnesium Is Too Much? The Supplement Upper Limit, the Label Trap and Who Should Be CarefulHow much magnesium is too much?
ArticleMagnesium for Constipation: Oxide Matched Senna in a Placebo Trial, With One Kidney WarningDoes magnesium help constipation, and which form works?
ArticleMagnesium for Migraines: The 600 mg Dose, the Guideline Rating and the Diarrhea Trade-OffDoes magnesium help prevent migraines, and how much do you take?
Tools
More on Supplements and vitamins
6 pages- TopicSupplements and vitamins: every page
- In this topicMagnesium for Sleep: Small Effects in Trials, and Which Form Was TestedMagnesium shortened time to fall asleep in small trials of older adults, and bisglycinate and L-threonate each have one or two placebo-controlled sleep trials.
- In this topicMagnesium Glycinate vs Citrate: The Calm One, the Bathroom One, and What the Label Really HoldsGlycinate is the bedtime favorite; citrate has a reputation for keeping you regular.
- In this topicMagnesium Glycinate vs L-Threonate: The Sleep Form, the Brain Form, and Less Magnesium Than You ThinkThreonate is sold as the magnesium that reaches the brain; glycinate as the calm bedtime form.
- ToolEvidence-graded supplement stacks
- TopicsBrowse all topics
Browse the full Supplement & Nutrient Encyclopedia or all supplement articles.
Where to buy Magnesium
Products from brands we partner with that contain Magnesium. Check the amount per serving against the doses studied, and the label for other ingredients.
Magnesium products from partner brands
9 products Paid links · we earn a commission9 products, in list order
- Quick pickMomentousMomentous Magnesium Bisglycinate, 60 capsules (paid link, opens in new tab)Subscribe & save 25%
Offer details
Pick “Subscribe 25% Off” on the product page; delivery every 1, 2 or 3 months; cancel or reschedule anytime.
- Subscription price shown on each product card.
- Our Momentous links apply the brand’s partner discount at checkout, so there is no code to type. Momentous sets any discount it applies; check the cart total before you pay.
- Offer terms from Momentous’ site, checked Oct 8, 2026. Offers can change; the brand's checkout is final.
2 capsules: 200 mg magnesium (as magnesium bisglycinate); 30 servings
$16.99one-time$12.74subscribeChecked Nov 22, 2026 - MomentousMomentous Magnesium L-Threonate, 90 capsules (paid link, opens in new tab)Subscribe & save 25%
Offer details
Pick “Subscribe 25% Off” on the product page; delivery every 1, 2 or 3 months; cancel or reschedule anytime.
- Subscription price shown on each product card.
- Our Momentous links apply the brand’s partner discount at checkout, so there is no code to type. Momentous sets any discount it applies; check the cart total before you pay.
- Offer terms from Momentous’ site, checked Oct 8, 2026. Offers can change; the brand's checkout is final.
3 capsules: 2 g Magtein magnesium L-threonate (145 mg elemental magnesium); 30 servings
$49.99one-time$37.49subscribeChecked Nov 22, 2026 - MomentousMomentous Magnesium Malate, 60 capsules (paid link, opens in new tab)Subscribe & save 25%
Offer details
Pick “Subscribe 25% Off” on the product page; delivery every 1, 2 or 3 months; cancel or reschedule anytime.
- Subscription price shown on each product card.
- Our Momentous links apply the brand’s partner discount at checkout, so there is no code to type. Momentous sets any discount it applies; check the cart total before you pay.
- Offer terms from Momentous’ site, checked Oct 8, 2026. Offers can change; the brand's checkout is final.
2 capsules: 220 mg magnesium (as dimagnesium malate); 30 servings
$17.99one-time$13.49subscribeChecked Nov 22, 2026
SupersmartMagnesium Bisglycinate (Albion TRAACS) (paid link, opens in new tab)5% off with the Supersmart newsletterGet 5% off with the newsletter (paid link, opens in new tab)Offer details
Sign up for the newsletter at the bottom of us.supersmart.com; Supersmart says the 5% discount is permanent.
- Supersmart’s footer offer reads “Subscribe to our newsletter and obtain a 5% permanent discount.”
- Supersmart says Subscribe & Save discounts can’t be combined with the 5% newsletter discount.
- 20% applies when 3 or more products ship on auto-delivery to the same address.
- Only products that show the Subscribe & Save offer qualify, and a Supersmart account is required.
- The newsletter discount and Subscribe & Save are separate offers; we don’t claim they combine.
- Offer terms from Supersmart’s site, checked Oct 16, 2026. Offers can change; the brand's checkout is final.
4 capsules: 3,000 mg magnesium bisglycinate chelate providing 300 mg elemental magnesium; 30 servings
$39.00one-time$33.15subscribeChecked Oct 11, 2026
SupersmartMagnesium Threonate (Magtein) (paid link, opens in new tab)5% off with the Supersmart newsletterGet 5% off with the newsletter (paid link, opens in new tab)Offer details
Sign up for the newsletter at the bottom of us.supersmart.com; Supersmart says the 5% discount is permanent.
- Supersmart’s footer offer reads “Subscribe to our newsletter and obtain a 5% permanent discount.”
- Supersmart says Subscribe & Save discounts can’t be combined with the 5% newsletter discount.
- 20% applies when 3 or more products ship on auto-delivery to the same address.
- Only products that show the Subscribe & Save offer qualify, and a Supersmart account is required.
- The newsletter discount and Subscribe & Save are separate offers; we don’t claim they combine.
- Offer terms from Supersmart’s site, checked Oct 16, 2026. Offers can change; the brand's checkout is final.
3 capsules: 2,000 mg Magtein magnesium L-threonate providing 144 mg elemental magnesium; 30 servings
$73.00one-time$62.05subscribeChecked Oct 11, 2026
SupersmartMagnesium Malate (paid link, opens in new tab)5% off with the Supersmart newsletterGet 5% off with the newsletter (paid link, opens in new tab)Offer details
Sign up for the newsletter at the bottom of us.supersmart.com; Supersmart says the 5% discount is permanent.
- Supersmart’s footer offer reads “Subscribe to our newsletter and obtain a 5% permanent discount.”
- Supersmart says Subscribe & Save discounts can’t be combined with the 5% newsletter discount.
- 20% applies when 3 or more products ship on auto-delivery to the same address.
- Only products that show the Subscribe & Save offer qualify, and a Supersmart account is required.
- The newsletter discount and Subscribe & Save are separate offers; we don’t claim they combine.
- Offer terms from Supersmart’s site, checked Oct 16, 2026. Offers can change; the brand's checkout is final.
2 tablets: 1,600 mg dimagnesium malate providing 320 mg elemental magnesium; 60 servings
$22.00one-time$18.70subscribeChecked Oct 11, 2026- Nootropics DepotNootropics Depot Magnesium Glycerophosphate Capsules (90 capsules) (paid link, opens in new tab)
Caution: Magnesium can reduce the absorption of tetracycline and quinolone antibiotics and bisphosphonates taken at the same time.
3 capsules: 2,064 mg magnesium glycerophosphate, 200 mg magnesium; 30 servings
$34.99one-timeChecked Nov 21, 2026
Healthy HabitsHealthy Habits Daily Essential Magnesium (120 capsules) (paid link, opens in new tab)Caution: The adult upper limit for supplemental magnesium is 350 mg a day (NIH ODS). Magnesium can reduce the absorption of tetracycline and quinolone antibiotics and bisphosphonates taken at the same time.
2 capsules: 201 mg magnesium (as glycinate, malate and citrate) with 1 mg vitamin B6; 60 servings
$74.95one-timeChecked Nov 21, 2026
BioEmblemBioEmblem Triple Complex Magnesium (90 capsules) (paid link, opens in new tab)Caution: Magnesium can reduce the absorption of tetracycline and quinolone antibiotics and bisphosphonates taken at the same time.
Per the Supplement Facts image on the listing, 2 capsules: 300 mg magnesium (as malate, glycinate and citrate); 45 servings
Check price on AmazonChecked Nov 21, 2026
References
5 sources. Numbers in the text link here.
Sources cited in this article
5 sources- 1Magnesium for skeletal muscle cramps (Cochrane review)Cochrane Database of Systematic Reviews, 2020 · PMID 32956536
- 2Effect of Magnesium Oxide Supplementation on Nocturnal Leg Cramps: A Randomized Clinical TrialJAMA Internal Medicine, 2017 · PMID 28241153
- 3Interventions for leg cramps in pregnancy (Cochrane review)Cochrane Database of Systematic Reviews, 2020 · PMID 33275278
- 4Effect of oral magnesium supplementation for relieving leg cramps during pregnancy: A meta-analysis of randomized controlled trialsTaiwanese Journal of Obstetrics and Gynecology, 2021 · PMID 34247796
- 5Magnesium: Fact Sheet for Health Professionals (updated January 6, 2026; accessed October 11, 2026)NIH Office of Dietary Supplements, 2026
Ask about this article
Answers come from this page and our other evidence pages, with links.
Magnesium and other dietary supplements are not intended to diagnose, treat, cure or prevent any disease, and these statements have not been evaluated by the FDA. Talk to your clinician or pharmacist before starting a supplement, especially if you take prescription medicines.
Educational only. Not medical advice.
We earn a commission on some links. That never changes a rank. How we make money: kymatahealth.com/affiliate-disclosure.




