Magnesium for muscle cramps is one of the most widely believed supplement claims and one of the least supported by trials. The reviews are reasonably clear, and the belief persists anyway, which is worth understanding.
What does the evidence show?
Systematic reviews examining magnesium for skeletal muscle cramps have found that it is unlikely to provide meaningful benefit for idiopathic cramps in older adults, which is the largest group affected.
The reviewers concluded that further trials in this population would probably not be a good use of resources, which is an unusually definite statement for a nutrition review.
Trials in pregnancy have produced more mixed results, with some reporting benefit and others none, and the overall picture remains uncertain.
Why is the belief so persistent?
Several reasons combine. The biological rationale is plausible, since magnesium is involved in muscle relaxation and severe deficiency genuinely does cause cramps and twitching.
Cramps also fluctuate naturally, often occurring in clusters and then settling. Anything started during a bad period is likely to be followed by improvement that would have happened regardless.
Placebo effects on subjective symptoms like pain and cramping are substantial, which is exactly why controlled trials are necessary to answer the question.
Does deficiency cause cramps?
Yes, and that is the source of the confusion. Genuine magnesium deficiency causes muscle twitching, cramps and in severe cases tetany.
Correcting a real deficiency resolves those symptoms. Supplementing someone with adequate magnesium does not, which is the distinction the marketing collapses.
Most people with night cramps are not magnesium deficient, which is why the trials come out the way they do.
What actually causes night cramps?
Often nothing identifiable. Recognised contributors include dehydration, prolonged standing, unaccustomed exercise, pregnancy, ageing, and certain medicines.
Diuretics, statins, some asthma medicines and certain blood pressure treatments are all associated with cramps. Peripheral arterial disease, diabetes and thyroid problems can also contribute.
Persistent or severe cramps warrant a GP appointment rather than a supplement, particularly if they are new or associated with weakness.
What does help?
- Stretching the affected muscle during a cramp, which reliably shortens it
- Regular calf stretching before bed, which has some supporting evidence
- Adequate hydration, particularly in hot weather or with heavy sweating
- Reviewing medicines with a GP if cramps started after a change
- Gradual rather than sudden increases in exercise
Quinine was historically used and is now generally avoided for cramps because of serious side effects, and it should not be sought out.
Are exercise cramps different?
Probably, and the mechanism is debated. The traditional explanation involved dehydration and electrolyte loss, and more recent research points towards neuromuscular fatigue and altered reflex control.
That would explain why electrolyte replacement, including magnesium, has performed poorly in trials of exercise associated cramping.
Is it worth trying?
It is inexpensive and safe for most people, so trying it is not unreasonable provided expectations are realistic. Magnesium citrate or glycinate at 200 to 400 milligrams of elemental magnesium is a typical dose.
If it makes no difference after a month, the trials suggest continuing is unlikely to help. Anyone with kidney disease should not supplement without medical advice.
This article is general information and not medical advice.
What about magnesium and restless legs?
Restless legs syndrome is often confused with cramps and is a distinct condition, involving an urge to move the legs rather than painful contraction.
Its clearest nutritional association is with low iron rather than magnesium, and ferritin is routinely checked in people with the diagnosis. Magnesium has been tried with limited evidence.
When should you see a GP about cramps?
If they are new and frequent, waking you regularly, associated with muscle weakness or swelling, or if they started after beginning a new medicine.
Cramps confined to one leg with pain on walking that eases with rest is a different pattern worth reporting promptly, since it can indicate a circulation problem.
The wider lesson here is worth carrying to other supplements. A plausible mechanism and a real deficiency syndrome are not the same as a demonstrated benefit in people who are not deficient, and cramps are one of the clearest examples of that gap.