Free Shipping on all NZ orders over $99

60-Day Money-Back Guarantee

Magnesium · Cramps & Muscle Health

Magnesium for Muscle Cramps: What Helps and What Doesn't

Updated February 2026 10 min read Dr Ron Goedeke, MD

Magnesium is one of the first things people reach for when cramps strike. It's involved in muscle contraction and relaxation, so low levels should mean more cramping - right? The reality is more complicated. For some people, magnesium really helps. For others, it does almost nothing, and they'd be better off looking elsewhere.

This guide breaks down where the evidence stands, who is most likely to benefit, and what else might be causing your cramps if magnesium isn't doing the job.

11
Randomised trials reviewed in the 2020 Cochrane systematic review on magnesium and cramps
4-8 wks
Minimum consistent daily use before evaluating whether it's working
Glycinate
Best-absorbed form for cramps with the least digestive side effects

Where Magnesium Fits in Cramp Biology

Muscle contraction requires calcium to flow into muscle cells, triggering the fibres to shorten. Relaxation requires magnesium to help push calcium back out. When magnesium levels are low, calcium can linger in the muscle cell longer than it should, and the muscle stays contracted. That is the basic mechanism behind magnesium-related cramping.

Here is the part most supplement marketing leaves out: researchers still do not fully understand what causes most muscle cramps. The current leading theory - known as the neuromuscular theory - suggests that most cramps originate in the nervous system rather than the muscle itself. Fatigue disrupts the balance between excitatory and inhibitory nerve signals, causing the motor neuron to fire uncontrollably.

This is why stretching, which resets the nerve signal, works almost immediately to stop a cramp. If the problem were purely a magnesium shortage, stretching would not help at all.

That does not mean magnesium is irrelevant. Severe magnesium deficiency can cause tetany - a condition where muscles go into sustained spasm because peripheral nerves become hyperexcitable. Magnesium plays an important role in neuromuscular signalling and muscle relaxation. The issue is that most people who get cramps are not severely deficient, and that is where the evidence gets messy.

The Strongest Evidence So Far

Night leg cramps: what the research shows

The largest and most rigorous review of magnesium for cramps is the 2020 Cochrane systematic review, which examined 11 randomised controlled trials involving 735 participants. For older adults with nocturnal leg cramps, the conclusion was clear: magnesium supplementation did not produce a clinically meaningful reduction in cramp frequency, intensity, or duration compared to placebo.

A 2017 randomised clinical trial published in JAMA Internal Medicine specifically testing magnesium oxide in 94 adults found that both the magnesium and placebo groups experienced fewer cramps over time, but there was no significant difference between them. The perceived benefit many people report may be partly a placebo effect or natural fluctuation in cramp frequency.

Important nuance: This does not mean magnesium never helps with night cramps. The trials that showed no benefit did not specifically select for people who were magnesium-deficient - which is a significant limitation. If your levels are genuinely low, correcting that deficiency may well reduce cramping.

Exercise cramps: why magnesium often disappoints

Exercise-associated muscle cramps are the type where magnesium has the weakest effect. The neuromuscular theory holds that these cramps result from fatigue-induced disruption of nerve signalling rather than electrolyte depletion. During exercise, electrolyte concentrations inside muscle cells can actually increase due to dehydration - concentrating existing minerals rather than depleting them.

If you cramp during a long run, a hard cycle, or a gym session, the most likely causes are pushing beyond your current fitness level, insufficient conditioning for the specific movement, or inadequate fuelling. Progressive training, adequate carbohydrate intake, and proper warm-up are far more effective strategies than magnesium for exercise cramps.

Pregnancy Cramps: Why Magnesium Gets Recommended Anyway

Pregnancy is the one area where the evidence is genuinely mixed rather than clearly negative. The Cochrane review found conflicting results from the five pregnancy trials it included - one showed benefit for both frequency and intensity, one showed no benefit, and a third reported inconsistent results. A 2021 meta-analysis of four pregnancy RCTs (332 participants) also found no significant difference between magnesium and placebo for leg cramp frequency.

Despite this, many midwives and obstetricians still recommend magnesium during pregnancy because it has a strong safety profile and addresses the broader issue of increased magnesium demand during the third trimester. Even if the cramp-specific evidence is weak, the general benefits of magnesium during pregnancy are well supported.

💡

Period cramps are worth a mention separately: Menstrual cramps involve the uterine muscle and the mechanism is different - prostaglandin-driven contraction rather than electrolyte imbalance. Some women find magnesium helpful for period pain, likely because of its muscle-relaxant and anti-inflammatory properties. If you get both leg cramps and painful periods, magnesium may help with both, but expectations should be realistic.

Signs It Will - and Won't - Help Your Cramps

Signs magnesium might help

The people most likely to see improvement are those whose cramps are accompanied by other signs of low magnesium. If you experience cramps alongside muscle twitches (especially around the eyes or calves), poor sleep, fatigue, anxiety, or restless legs, you may have a genuine deficiency that supplementation could address.

Other indicators: a diet consistently low in magnesium-rich foods (leafy greens, nuts, seeds, whole grains); use of medications that deplete magnesium (proton pump inhibitors, diuretics, certain antibiotics); heavy alcohol consumption; or chronic digestive conditions that impair absorption. If several of these apply to you, magnesium is a reasonable first step.

Signs magnesium probably won't fix your cramps

If your cramps only happen during or immediately after intense exercise, magnesium is unlikely to be the answer. Exercise cramps are driven by neuromuscular fatigue, not mineral deficiency.

Similarly, if you eat a balanced, varied diet, don't take magnesium-depleting medications, and your only symptom is occasional cramps with no other signs of deficiency, supplementation probably won't change much.

Cramps that need medical attention: Cramps localised to one limb, progressively worsening, or accompanied by muscle weakness or wasting need investigation rather than a supplement. These could indicate nerve compression, vascular issues, or neurological conditions that magnesium will not address.

Magnesium Forms for Cramps: What to Choose

If you are going to try magnesium for cramps, the form matters. Not all magnesium supplements are absorbed equally, and the cheapest options are often the least effective.

Form Absorption Best For Cramp Suitability
Glycinate

High

Night cramps, sleep, nervous system calm

Excellent - gentle on the gut, glycine promotes muscle relaxation, ideal before bed
Taurate

High

Muscle cramps, cardiovascular health

Excellent - taurine stabilises cell membranes and supports muscle relaxation directly; strong option for cramp-prone people
Citrate

Good

General repletion, leg cramps

Good - well absorbed, widely available. Can cause loose stools at higher doses
Malate

Good

Muscle recovery, fatigue alongside cramps

Good - malic acid supports ATP production; useful if fatigue and cramping go together
Chloride

Good

Topical application, general repletion

Moderate - often used as a topical spray or bath flakes directly on cramping muscles; limited oral evidence for cramps specifically
L-Threonate

High (CNS targeted)

Brain health, cognitive function

Limited for cramps - crosses the blood-brain barrier well but contains very low elemental magnesium per dose; expensive for cramp prevention
Oxide

Very low (4%)

Constipation relief

Poor - barely absorbed, most passes through without reaching muscle tissue. Avoid for cramp prevention

For cramps specifically, glycinate and taurate stand out. Glycinate is the more widely available option with the best evidence base and the gentlest digestive profile. Taurate is worth considering if your cramps are frequent or severe - taurine has its own role in stabilising muscle cell membranes that complements the magnesium. Citrate is a solid and affordable everyday option. Topical magnesium chloride (sprays or bath flakes) has a following among athletes for acute cramping, though the absorption evidence is weaker than oral forms.

Best magnesium supplements in New Zealand

How to Take Magnesium for Cramps

The right magnesium dosage target is 7-10 mg per kilogram of body weight daily - but this is your total intake from food and supplements combined, not a supplementation dose on its own. For a 70 kg person, that is 490-700 mg per day total.

💡

Food first, supplement the gap. A diet that includes dark leafy greens, nuts, seeds, and whole grains can contribute 200-400 mg of magnesium per day on its own. Work out roughly how much you're getting through food, then use a supplement to close the remaining gap. Our guide to magnesium-rich foods covers practical amounts per serving to help you estimate.

If you are currently getting very little magnesium from your diet, start at the lower end and build up over two weeks to avoid digestive discomfort. For night cramps specifically, take the majority of your supplemental dose in the evening - about 30-60 minutes before bed. This puts peak absorption close to when cramps are most likely to strike.

Consistency matters more than any single dose. If your cramps are driven by low magnesium, it can take four to eight weeks of daily supplementation to bring tissue levels back up. Note that serum magnesium tests are notoriously unreliable - only about 1% of your body's magnesium is in the blood, so a normal blood test does not rule out deficiency.

What Helps More Than Magnesium for Most People

For the majority of cramp sufferers, non-supplement strategies are more effective than magnesium. Stretching the affected muscle group daily - particularly before bed for nocturnal cramps - has more consistent evidence behind it than any supplement. A simple calf stretch held for 30 seconds, done three times per leg before sleep, can reduce cramp frequency noticeably within a few weeks.

Hydration is another frequently overlooked factor - and not just water volume. If you drink large volumes of plain water without adequate sodium and potassium, you can actually dilute your electrolytes and make cramps worse. A balanced approach that includes electrolytes alongside water is more effective than volume alone.

For exercise cramps, progressive training (gradually increasing intensity rather than jumping in) is the single most effective prevention strategy. Ensuring adequate carbohydrate intake before and during prolonged exercise also helps, because glycogen depletion contributes to the neuromuscular fatigue that triggers cramping.

Eating more magnesium-rich foods is always a good foundation. Pumpkin seeds, almonds, spinach, black beans, and dark chocolate are all excellent sources - a 30g handful of pumpkin seeds alone provides around 150 mg of magnesium.

Foods highest in magnesium

Cramps With a Warning Label: When to Take This Seriously

Most cramps are harmless, but some patterns warrant medical attention. See your doctor if:

  • Cramps are happening every night and disrupting sleep despite consistent stretching and supplementation
  • They are accompanied by muscle weakness or wasting
  • They are localised to one limb and progressively worsening
  • They are accompanied by swelling, redness, or warmth in the leg (which could indicate a blood clot)
  • You are also experiencing numbness, tingling, or changes in sensation

Conditions that can cause cramps and require specific treatment include peripheral artery disease, nerve compression, thyroid disorders, kidney disease, and certain neurological conditions. If your cramps do not respond to two months of magnesium supplementation, stretching, and hydration improvements, a medical workup is the logical next step rather than increasing your supplement dose further.

Key Takeaways
  • Magnesium plays a role in muscle relaxation, but the 2020 Cochrane review of 11 trials found it unlikely to help with cramps in older adults when levels are already adequate.
  • Magnesium is most likely to help if your cramps are accompanied by other signs of deficiency - twitching, poor sleep, fatigue, or restless legs.
  • Exercise cramps are driven by neuromuscular fatigue, not mineral deficiency. Magnesium is rarely the answer for cramps that only happen during or after training.
  • Choose glycinate or citrate - never oxide. Aim for 7-10 mg per kg of body weight per day total from food and supplements combined.
  • Food first: a good diet can provide 200-400 mg per day. Use a supplement to close the remaining gap, not replace dietary intake.
  • Give it 4-8 weeks of consistent daily use before evaluating. Tissue levels take time to rebuild.
  • For most people, daily stretching, balanced hydration, and a magnesium-rich diet will do more for cramp prevention than supplementation alone.

Frequently Asked Questions

How long should I try magnesium before deciding it doesn't work for cramps?

Give it at least four to eight weeks of consistent daily use at an adequate dose before evaluating. If you have been genuinely deficient, tissue levels take time to rebuild. If after eight weeks of taking 400 mg or more of a well-absorbed form (glycinate or citrate) you see no improvement in cramp frequency or severity, magnesium deficiency is probably not the primary driver of your cramps.

Why do I cramp even when I drink a lot of water?

Drinking large volumes of plain water can actually make cramps worse by diluting sodium and other electrolytes in your blood - a phenomenon called dilutional hyponatraemia. Your body needs a balance of water and electrolytes, not just volume. Adding a pinch of salt to your water or using an electrolyte drink can help, especially if you are sweating heavily or drinking more than two litres per day.

Can low magnesium cause foot cramps and toe spasms?

Yes, the feet and toes are common sites for magnesium-related cramping and spasms. The small muscles of the foot are particularly susceptible to electrolyte imbalances. If you get frequent toe curling or arch cramps - especially at night or at rest - and you also have other symptoms of low magnesium like eye twitching or restless legs, supplementation is a reasonable thing to try.

Do bananas help cramps, or is that mostly a myth?

Partly a myth. Bananas contain about 32 mg of magnesium and 422 mg of potassium each. That is a decent amount of potassium, but the magnesium content is modest compared to foods like pumpkin seeds (150 mg per 30g) or almonds (80 mg per 30g). Bananas are not bad for cramps, but they are not the magic bullet they are often made out to be. Dark leafy greens, nuts, and seeds deliver more magnesium per serving.

Are cramps a sign I'm deficient in something other than magnesium?

Potentially. Low potassium, low calcium, low sodium, iron deficiency, and vitamin D deficiency can all contribute to cramping. If your cramps persist despite adequate magnesium intake, it is worth asking your doctor to check these levels. Dehydration, certain medications (particularly statins and diuretics), and thyroid dysfunction are other common cramp triggers that have nothing to do with magnesium

Are pregnancy leg cramps really caused by magnesium deficiency?

Not necessarily. Pregnancy cramps are likely multifactorial: weight gain changes the mechanical load on calf muscles, blood volume increases dramatically, and the growing uterus can compress nerves and blood vessels. Magnesium demand does increase during pregnancy and many pregnant women do not meet daily requirements, so supplementation may help some women. But the clinical trial evidence is mixed, and attributing pregnancy cramps entirely to magnesium deficiency oversimplifies a more complex picture.

Biosphere Nutrition · New Zealand

Glycinate, citrate, and malate - the forms that actually absorb

A therapeutic 400mg dose across three bioavailable forms in a single serve. No magnesium oxide, no fillers. Third-party tested. Free shipping on NZ orders over $99.

Shop Magnesium
Glycinate, citrate, and malate - the forms that actually absorb

About the Author

Dr. Ron Goedeke
MB ChB, Integrative Medicine - New Zealand

Dr. Ron Goedeke, an expert in the domain of functional medicine, dedicates his practice to uncovering the root causes of health issues by focusing on nutrition and supplement-based healing and health optimisation strategies. An esteemed founding member of the New Zealand College of Appearance Medicine, Dr. Goedeke's professional journey has always been aligned with cutting-edge health concepts.

Having been actively involved with the American Academy of Anti-Aging Medicine since 1999, he brings over two decades of knowledge and experience in the field of anti-aging medicine, making him an eminent figure in this evolving realm of healthcare. Throughout his career, Dr. Goedeke has been steadfast in his commitment to leverage appropriate nutritional guidance and supplementation to encourage optimal health.

Medical Disclaimer: This article is for informational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your doctor or qualified health provider with any questions you may have regarding a medical condition or before starting any supplement. Individual results may vary.

 
x