Which Magnesium Supplement Is Best for Muscle Cramps?

Published October 7, 2026 · Updated October 21, 2026 · By Magnesium Daily Editorial Team

The short answer is that the research does not point to a best magnesium supplement for muscle cramps. The strongest evidence we have is a 2020 Cochrane review, and its conclusion is that magnesium supplementation is unlikely to provide clinically meaningful cramp prevention for older adults. That is not what most product pages say, so it is worth looking at what the review actually found.

What the best evidence says

Cochrane reviews pool the available randomized trials on a question and are among the most rigorous summaries in medicine. The 2020 review of magnesium for skeletal muscle cramps (Garrison et al., 2020, Cochrane Database of Systematic Reviews) reached three conclusions:

Put plainly: the popular idea that magnesium is the fix for cramps is not backed up by the trial evidence, and for the group most often studied, it points the other way.

So why does everyone recommend magnesium for cramps?

Because the connection is not invented. Magnesium plays a real role in muscle and nerve function, and the NIH Office of Dietary Supplements lists muscle contractions and cramps among the effects that can occur as magnesium deficiency worsens (NIH Office of Dietary Supplements).

The catch is the next part of that same fact sheet: symptomatic deficiency from low dietary intake in otherwise healthy people is uncommon, because the kidneys limit urinary excretion of this mineral. Cramps can be a sign of a real deficiency in some people, but most cramps are not caused by one. Taking magnesium for a cramp that has another cause is not expected to fix it.

Is there a best type or form?

Nothing in the evidence above ranks one magnesium type, form or product over another for cramps. The review found no basis for a winner, so any claim that a particular supplement is the best for cramps is a marketing claim rather than a research finding. We are not going to name one, because we would be making it up.

If a doctor has confirmed low magnesium, the question of which form and how much is a decision for that doctor. That is a different situation from reaching for a supplement to stop a cramp.

What about magnesium oil and sprays?

Some people use topical magnesium on their legs or feet as an evening routine, and many report liking it. Research on topical magnesium specifically for cramps is limited, so that is user experience, not evidence of an effect.

There is also a more basic problem. The available evidence does not show topical magnesium meaningfully raising blood magnesium levels, and the human trials on whether meaningful amounts cross intact skin have been small and used unreliable measures (Gröber et al., 2017, Nutrients). If you are curious about how people use it and what to expect, we cover that in What Are the Real Benefits of Magnesium Oil?, and our sister site covers the muscle pain question in Can Magnesium Spray Ease Chronic Muscle Pain?

The summary table

SituationWhat the evidence says
Cramps in older adultsMagnesium supplementation unlikely to give clinically meaningful prevention
Pregnancy-associated rest crampsConflicting, more research needed
Exercise-associated crampsNo randomized trials found
Cramps from confirmed deficiencyCramps are a recognized effect of worsening deficiency, which is uncommon from diet alone in healthy people
Topical magnesium for crampsLimited research, no evidence it raises blood magnesium
A "best" magnesium for crampsNot identified by the evidence

What is more likely to matter

Cramps have many possible causes, and magnesium is only one that gets discussed. If cramps are frequent, severe, or new for you, they are worth raising with a healthcare professional rather than treating as a supplement problem. They can be linked to medications, other health conditions, and activity patterns, and a clinician can sort out which applies.

Frequently asked questions

Which magnesium supplement is best for muscle cramps?
The evidence does not identify a best one. A 2020 Cochrane review concluded that it is unlikely magnesium supplementation provides clinically meaningful cramp prevention for older adults, and it gives no basis for ranking one magnesium type or product above another for cramps.

What is the best magnesium for muscle cramps?
The research does not point to a best magnesium for muscle cramps. A 2020 Cochrane review found magnesium supplementation unlikely to provide clinically meaningful cramp prevention for older adults, and it gives no basis for ranking one form or product above another. If a doctor has confirmed low magnesium, which form suits you is a decision for that doctor.

Does magnesium help with leg cramps?
For older adults, a Cochrane review found it unlikely. For pregnancy-associated rest cramps the research is conflicting and more is needed. For exercise-associated cramps, the review found no randomized trials.

Can low magnesium cause muscle cramps?
Yes, in worsening deficiency. The NIH Office of Dietary Supplements lists muscle contractions and cramps among the effects of worsening magnesium deficiency. It also notes that symptomatic deficiency from low dietary intake is uncommon in otherwise healthy people.

Can magnesium oil or spray help with cramps?
Research on topical magnesium for cramps is limited, and the available evidence does not show topical magnesium meaningfully raising blood magnesium levels. Some people report using it as part of a routine, but that is user experience, not proof of an effect.

When should I talk to a doctor about muscle cramps?
Cramps that are frequent, severe, or new are worth raising with a healthcare professional, because they have many possible causes and magnesium is only one of them.

References

This article is general information, not medical advice. Muscle cramps can have many causes, some of which need medical attention. Magnesium can interact with some prescription medications and requires caution in people with kidney conditions. Speak to a healthcare professional before starting any supplement.