Metal Strength Start training
Guides

Supplements · Intermediate · 3 min read

Magnesium for Lifters: Sleep, Cramps and Recovery

Magnesium is involved in hundreds of processes in the body, from muscle contraction to energy production. Many people eat less than recommended, and lifters often hope it will fix cramps, sleep or recovery. It can help if you are genuinely low — but it is not the cure-all it is often sold as.

Long rack of round dumbbells in a busy gym, shot at an angle
On this page

What magnesium does

Magnesium is needed to turn food into energy, to let muscles contract and relax, and to keep nerves firing normally. Low intake over time can affect health and how you feel. But topping up an already adequate intake is not shown to improve strength, muscle growth or recovery.

How much you need

NumbersDaily magnesium needs
  • 400 to 420 mgAdult menFrom all sources
  • 310 to 320 mgAdult womenFrom all sources
  • 350 mgUpper limit from supplementsFor adults

Heavy sweating can increase losses somewhat, so athletes who train long and hard in the heat may need a little more. Most people can close the gap with food.

Food first

FoodMagnesium per portion
Pumpkin seeds (30 g)About 150 mg
Almonds (30 g)About 80 mg
Spinach, cooked (half a cup)About 80 mg
Cashews (30 g)About 75 mg
Black beans, cooked (half a cup)About 60 mg
Dark chocolate, 70 percent (30 g)About 65 mg
Oats, dry (50 g)About 60 mg
Brown rice, cooked (half a cup)About 40 mg

A diet with nuts, seeds, beans, whole grains and greens usually reaches the target without a supplement.

Choosing a supplement

Magnesium citrateMagnesium glycinate
AbsorptionGoodGood
Stomach effectsCan loosen stoolsGentler for most people
Common useGeneral supplementationEvening use, sensitive stomachs

Magnesium oxide is cheap but poorly absorbed and more likely to cause digestive upset. Keep supplement doses at or below 350 mg a day unless a clinician advises more, and speak to one first if you have kidney problems or take medications such as certain antibiotics or blood pressure drugs — magnesium can interact with them.

Cramps, sleep and recovery

The evidence is weaker than the marketing:

  • Cramps: reviews find magnesium is unlikely to help typical muscle cramps in people who are not deficient. Exercise cramps are more often linked to fatigue, heavy training loads and fluid or sodium balance.
  • Sleep: small studies suggest a possible benefit in people who are low in magnesium or older; for most healthy lifters, the effect is likely small.
  • Recovery: no strong evidence that extra magnesium speeds recovery if your intake is already adequate.

If cramps or poor sleep persist, look at the bigger levers first: sleep habits, hydration, and training load.

Sources
  1. Magnesium fact sheet for health professionals NIH Office of Dietary Supplements
Key takeaways
  • Magnesium supports muscle, nerve and energy function.
  • Adults need roughly 310 to 420 mg a day, ideally from food.
  • Seeds, nuts, legumes, whole grains and greens are the best sources.
  • If you supplement, choose citrate or glycinate and stay at or under 350 mg.
  • It helps most when intake is low; it is not a proven fix for cramps.

Frequently asked questions

Does magnesium help muscle cramps?

It may help if cramps relate to low magnesium, but most exercise cramps have other causes, and studies in people who are not deficient show little benefit.

When should I take magnesium?

Many people take it in the evening, especially glycinate. Consistency and the right dose matter more than exact timing.

Can magnesium help sleep?

It may help people who are low in magnesium, but it will not fix poor sleep habits, stress or late caffeine.

Is ZMA worth it?

ZMA combines zinc, magnesium and vitamin B6. It can help fill a gap if you are low in those minerals, but it does not boost testosterone or muscle growth in people who are not deficient.

Can you take too much magnesium?

From food, it is very unlikely. From supplements, doses above about 350 mg a day often cause diarrhoea, and very high doses can be dangerous, especially with kidney problems.

Related guides

This guide is general educational information, not medical advice. Train within your ability and consult a qualified professional before starting a new program if you have an injury or health condition.

← All guides