Articles /  Supplements

Magnesium for Muscle Cramps: Does It Stop Gym and Night Cramps?

Cramping mid-set or at 2am? Here's when magnesium helps with cramps, when it doesn't, and what else to check.

Woman stretching her foot

Your calf locks up halfway through a set, or a cramp wakes you at 2am. Someone at the gym tells you to take magnesium. Is that good advice? Sometimes. Magnesium contributes to normal muscle function, and if you're low, topping up can help. But cramps have several causes, and magnesium only fixes one of them.

Common causes of cramps in lifters

  • Muscle fatigue: the most common cause. Muscles pushed beyond what they're used to misfire
  • Dehydration and sweat losses: especially training in the heat
  • Low magnesium, potassium or sodium
  • Tight, under-stretched muscles
  • Some medications, such as diuretics

When magnesium helps

Studies suggest magnesium may reduce cramps in people who are low in it, and in some groups such as pregnant women, though results in the general population are mixed. If you sweat heavily, eat few greens, nuts or whole grains, or drink a lot of coffee, you're more likely to be low and more likely to benefit.

A simple anti-cramp plan

  1. Drink enough water, and add electrolytes on hot days. See hydration for training in the heat
  2. Take magnesium glycinate twice a day, one with dinner
  3. Build training volume gradually instead of jumping in
  4. Stretch calves and hamstrings after sessions and before bed
  5. Eat potassium-rich foods: bananas, potatoes, beans and avocado

Who's most prone

  • Endurance athletes and Comrades or Two Oceans runners
  • Lifters over 40
  • People on a strict cut
  • Anyone training outdoors in summer

When to see a doctor

If cramps are frequent, very painful, come with swelling or weakness, or started after a new medication, see your doctor.

Safety

Magnesium can cause loose stools at high doses. Not suitable if you have kidney disease.

Sweat a lot? Tell the quiz

Tick "I sweat a lot" in our free quiz and your stack will include the right minerals, along with your routine. One order, one delivery fee.

Supplements are not intended to diagnose, treat, cure or prevent any disease.

Stop guessing. Start training.

Your routine, calories and stack in about a minute. Free, and you see it straight away.

Build my free routine