Research review
Does magnesium help with muscle cramps and restless legs?
Cochrane's 2020 review found magnesium unlikely to meaningfully prevent cramps in older adults, no trial at all for exercise cramps, and only one small, inconclusive trial for restless legs syndrome.
The evidence doesn't support magnesium as a way to meaningfully prevent muscle cramps in older adults, and there's no randomized trial at all of magnesium for exercise-related cramps. Restless legs syndrome is a separate, diagnosable neurological condition, and the trial evidence for magnesium there is too thin to draw a conclusion either way.
What the evidence doesn't support
It doesn't support magnesium supplementation as clinically meaningful cramp prevention in older adults with ordinary skeletal muscle cramps. It doesn't support magnesium for cramps brought on by exercise — no randomized trial of that population and outcome exists at all. And for restless legs syndrome, the trial base is a single small study, which isn't enough to say magnesium works, or that it doesn't.
What the trials found
A 2020 Cochrane review — the most rigorous type of evidence synthesis for a clinical question like this — pooled 11 randomized trials covering 735 people with skeletal muscle cramps. Five trials, 408 people, covered pregnancy-associated leg cramps and reported conflicting results. Five trials, 271 people with a mean age of 62 to 69, covered idiopathic cramps in older adults, and the review concluded it's unlikely magnesium provides clinically meaningful cramp prevention in that group. One small trial, 29 people, covered cramps related to liver cirrhosis. Across the entire review, the authors found zero randomized trials evaluating magnesium for exercise-associated muscle cramps — the population a lot of shoppers searching for this have in mind.
Doses and forms varied across the 11 trials, and the review's summary doesn't isolate magnesium glycinate as a tested form, so there's no dose-matched finding to report even in the populations where some benefit showed up.
Restless legs syndrome is a different condition from an ordinary cramp — a neurological disorder with its own diagnostic criteria, often linked to iron status. A 2019 systematic review searched specifically for trials of magnesium in restless legs syndrome and periodic limb movement disorder. It found eight studies with usable data, but only one was a randomized, placebo-controlled trial, and that trial did not find a significant treatment effect, though the reviewers noted it may have been underpowered to detect one. The review's conclusion was that the evidence isn't sufficient to say whether magnesium helps restless legs syndrome or periodic limb movement disorder, or in which patients it might.
| Population | Trials | People | Finding |
|---|---|---|---|
| Pregnancy-associated leg cramps | 5 | 408 | Conflicting results |
| Idiopathic cramps, older adults | 5 | 271 | Unlikely to be clinically meaningful |
| Liver cirrhosis-related cramps | 1 | 29 | Single small trial |
| Exercise-associated cramps | 0 | — | No randomized trial exists |
| Restless legs syndrome | 1 RCT (of 8 studies found) | Small | No significant effect; may be underpowered |
Questions people ask
Does magnesium glycinate help with leg cramps?
For older adults with ordinary nighttime leg cramps, the Cochrane review above concluded a clinically meaningful benefit is unlikely. For cramps during pregnancy, results across five trials were mixed rather than consistent. No trial isolated magnesium glycinate as the form tested.
Does magnesium glycinate help with muscle cramps during exercise?
There's no randomized trial of magnesium for exercise-associated cramps at any dose or form, so there's no trial result to report either way.
Does magnesium glycinate help with restless legs syndrome?
The evidence is too thin to say. Only one small, placebo-controlled trial exists, and it didn't find a significant effect, though the reviewers flagged it as possibly underpowered rather than a clear negative. Restless legs syndrome has its own diagnostic workup, often including an iron panel, and that's a better first step than a supplement trial-and-error approach.
Does magnesium glycinate help with period cramps?
That wasn't a population covered in the Cochrane review above, which looked at pregnancy-related, idiopathic, exercise-associated and cirrhosis-related cramps specifically. Menstrual cramping has its own, separate literature that this page doesn't summarize.
Is a magnesium supplement worth trying for cramps anyway?
That's a judgment call the Cochrane review doesn't make for a reader. What it establishes is narrower: in the populations studied, effects were inconsistent to absent, and no dose or form stood out as reliably working. A trial-and-error approach with a low-risk supplement is a different decision than one with strong evidence behind it, and it's worth going in with that distinction clear.
Can magnesium glycinate cause leg cramps?
Nothing in the trials reviewed here reports cramping as a side effect of magnesium; the most commonly reported side effects of magnesium supplements are gastrointestinal, such as loose stools.
When to talk to a doctor
Frequent or severe muscle cramps, and any symptoms consistent with restless legs syndrome — an urge to move the legs, especially in the evening, relieved by movement — are worth bringing to a doctor, who can check for underlying causes such as low iron, a medication side effect, or a neurological cause. Magnesium is not a treatment for muscle cramps or restless legs syndrome, and the evidence above doesn't support relying on it as one. If you are pregnant, nursing, or have kidney disease, talk to a doctor before taking any magnesium supplement.
Related reading: magnesium glycinate and sleep and magnesium and stress.
Sources
- Magnesium for skeletal muscle cramps Across 11 trials, magnesium was unlikely to meaningfully prevent muscle cramps in older adults.
- Magnesium supplementation for the treatment of restless legs syndrome and periodic limb movement disorder: A systematic review A systematic review found only one small randomised trial of magnesium for restless legs syndrome, which showed no significant effect, and concluded the evidence is not sufficient to draw a conclusion either way.
*These statements have not been evaluated by the Food and Drug Administration. This product is not intended to diagnose, treat, cure, or prevent any disease.