MagnesiumGuide Top Picks

Evidence check

Magnesium for Muscle Cramps: Read This Before You Buy

Magnesium is sold hard for cramps and the best evidence is underwhelming. What Cochrane concluded, what two later trials found, and what to do instead.

Magnesium for cramps is one of the best-selling ideas in the supplement aisle, and one of the worst supported. You would never guess that from the packaging, so here is the evidence laid out properly.

What Cochrane concluded

The most rigorous assessment is a 2020 Cochrane review by Garrison and colleagues, an update of earlier work. Pooling the trials in older adults with idiopathic rest cramps, covering 322 people, it concluded that magnesium supplementation is unlikely to provide clinically meaningful cramp prevention for this group.

“Idiopathic” means cramps with no identified underlying cause, which describes most ordinary night-time cramps. The review also found no randomised trials at all for exercise-associated cramps, beyond a single small study in people with liver cirrhosis. So for the two situations people most often buy magnesium for, the evidence is either negative or absent.

For pregnancy-related leg cramps the picture is different but not better: the trials conflict and the certainty is very low, so no firm conclusion can be drawn either way.

The trials that complicate the picture

Two later studies point the other way, and it would be dishonest to leave them out.

A randomised, double-blind, cross-over trial by Roffe and colleagues gave 46 people with persistent night cramps 300mg of magnesium as citrate for six weeks. The diary count of cramps favoured magnesium but missed statistical significance (p=0.07). What did reach significance was how people felt: 78% thought it had helped, against 54% on placebo.

A larger 2021 trial by Barna and colleagues gave 184 adults aged 45 and over a magnesium oxide monohydrate supplement daily for 60 days. That one found significantly fewer cramps, shorter cramps, and better sleep than placebo.

Neither overturns a Cochrane review. Both used specific formulations, and the Roffe trial’s headline measure didn’t reach significance. But together they mean “magnesium does nothing for cramps” is stated too confidently.

So should you try it?

Here’s where the evidence lands. If your cramps come from a diagnosed magnesium deficiency, correcting that is clearly worthwhile. For ordinary night cramps with no known cause, the weight of evidence says magnesium probably won’t fix them, while a couple of decent trials suggest some people notice a difference.

Magnesium is cheap and low-risk, so a six-week trial is a reasonable thing to do if you want to. Just go in knowing the odds, and don’t keep buying it for years if nothing changes. I’d rather lose the sale than pretend the evidence is stronger than it is.

What actually helps with cramps

Worth knowing, because these have better support than a supplement:

  • Stretching before bed, particularly the calf and hamstring, has reasonable evidence for night cramps.
  • Staying hydrated, especially around exercise in heat.
  • Reviewing your medication. Diuretics, statins and some asthma medicines are associated with cramps. If yours started after a new prescription, that’s a conversation with your doctor.
  • Checking for underlying causes. Cramps that are frequent, severe, one-sided, or accompanied by weakness, swelling or numbness deserve investigation rather than self-treatment.

When to see a doctor

If cramps are frequent enough to disturb your sleep regularly, come with muscle weakness, started after a new medication, or affect one limb in particular, get them looked at. Some causes are treatable, and that’s worth considerably more than any supplement.

Which form, if you do try it

Both positive trials used forms you can buy easily: citrate in one, an oxide monohydrate in the other. Glycinate is the gentlest on digestion if you’re taking it at night. There’s no good evidence crowning one form for cramps specifically, so tolerance and price are reasonable grounds to choose on.

Common questions

How long should I trial it? The trials ran six to eight weeks. Judge it on that, not on a few nights.

Are night cramps a sign of deficiency? Usually not. True magnesium deficiency is uncommon in otherwise healthy people, because the kidneys regulate levels.

What about exercise cramps? There are no randomised trials supporting magnesium for those. Hydration, conditioning and pacing have better support.

Sources: Garrison et al., Magnesium for skeletal muscle cramps, Cochrane Database of Systematic Reviews, 2020 (https://www.cochranelibrary.com/cdsr/doi/10.1002/14651858.CD009402.pub3/full); Roffe et al., randomised, cross-over, placebo-controlled trial of magnesium citrate in chronic persistent leg cramps, Medical Science Monitor, 2002 (https://pubmed.ncbi.nlm.nih.gov/12011773/); Barna et al., magnesium oxide monohydrate for nocturnal leg cramps, Nutrition Journal, 2021 (https://pubmed.ncbi.nlm.nih.gov/34719399/)


This article is general information, not medical advice.