Magnesium and sleep claims

The short answer

Magnesium matters for hundreds of biological processes, and a meaningful share of adults fall short of the recommended intake — but the evidence that supplementing improves sleep or reduces cramp in people who are not deficient is weak. If you supplement, use glycinate or citrate at 200–400 mg of elemental magnesium, not oxide.

What magnesium actually does

Magnesium is a cofactor in hundreds of enzymatic reactions, including ATP metabolism, muscle contraction and relaxation, nerve function, protein synthesis and blood glucose regulation. It is genuinely essential, and genuine deficiency causes real problems including muscle cramp, weakness, arrhythmia and fatigue.

The recommended intake is around 300–400 mg a day for adults. Population surveys consistently find a substantial share of people below that — driven by refined grains, low vegetable and legume intake, and soil depletion arguments of varying credibility.

Two separate questions. "Is magnesium important?" — yes, clearly. "Will taking a magnesium supplement improve your sleep, cramp or performance if you are not deficient?" — much less clear, and that is what most products are sold on.

The sleep claims, examined

Magnesium is one of the most heavily marketed sleep supplements. What the evidence actually shows:

  • The trials are small and mostly poor quality. Reviews of magnesium for sleep consistently note limited sample sizes, short durations and high risk of bias.
  • Effects appear largest in older adults and in people who were deficient, which fits the general pattern of repletion helping and supplementation-above-sufficiency not.
  • Insomnia trials show modest, inconsistent effects. Nothing comparable to addressing sleep timing, caffeine intake, or the bedroom environment.
  • The mechanism is plausible — magnesium modulates GABA and NMDA activity — which is why the claim persists despite thin outcome data.
  • Magnesium glycinate's reputation rests partly on glycine, which has its own modest sleep literature. The two get conflated.

The honest position: it is cheap, safe at sensible doses, and may help if you are short on magnesium. It is not a sleep intervention comparable to the basics — see sleep and strength, where consistent wake time and a caffeine cut-off do far more.

Cramp, and the other common claim

Magnesium for muscle cramp is the second big marketing claim, and it has been tested.

  • For exercise-associated cramp, the evidence does not support it. Sweat magnesium losses are trivial — around 10 mg per litre — so exercise does not meaningfully deplete it. See electrolytes.
  • For nocturnal leg cramps in older adults, reviews have generally found magnesium no better than placebo.
  • For pregnancy-related cramp, there is somewhat more supportive evidence, and that is a conversation with a midwife or doctor.
  • Cramp is better explained by neuromuscular fatigue than by mineral status.

Other claims worth calibrating: magnesium for testosterone (weak, mainly in deficient or older men), for anxiety (plausible, thin), for exercise performance (no effect in people who are not deficient), and for blood pressure (small, real reductions).

Which form, and why it matters

Form matters here more than for most supplements, mainly because of gastrointestinal effects. Note that doses on labels often refer to the compound weight rather than the elemental magnesium, which can differ by a factor of ten.

  • Magnesium glycinate (bisglycinate) — well absorbed, gentle on the gut, and the glycine may contribute to the sleep claims. The best default if you want to take it in the evening.
  • Magnesium citrate — well absorbed, inexpensive, mildly laxative at higher doses. Good general choice, and useful if constipation is also a concern.
  • Magnesium malate — well absorbed, sometimes preferred for daytime use.
  • Magnesium oxide — cheap, poorly absorbed (roughly 4% bioavailability), and strongly laxative. The most common form in cheap supplements and the worst choice. If a product does not state the form, assume it is oxide.
  • Magnesium threonate — marketed for brain penetration on limited human evidence, at a substantial price premium.
  • Magnesium sprays and Epsom salt baths — transdermal absorption of magnesium is not well supported. An Epsom bath may be relaxing; the magnesium is not the reason.

Dose: 200–400 mg of elemental magnesium daily, with food, ideally in the evening if you are taking it for sleep. Upper supplemental limit is generally 350 mg/day from supplements in addition to food — beyond that, diarrhoea is the usual limiting factor.

Getting it from food instead

Magnesium is abundant in exactly the foods most people under-eat, which makes this largely a diet problem with a supplement workaround.

  • Pumpkin seeds — 30 g gives around 150 mg. The densest common source.
  • Almonds — 30 g, around 80 mg.
  • Spinach, cooked — 150 g, around 120 mg.
  • Black beans — 150 g, around 90 mg.
  • Dark chocolate, 70%+ — 30 g, around 65 mg.
  • Oats — 60 g dry, around 80 mg.
  • Wholemeal bread — two slices, around 50 mg.

Notice these are also the high-fibre foods — so fixing fibre intake usually fixes magnesium at the same time. See fibre and why lifters under-eat it.

Safety

  • Diarrhoea is the main effect of excess, and it is self-limiting.
  • Kidney disease is the important exception. Impaired kidneys cannot excrete excess magnesium, and accumulation is dangerous. Do not supplement without medical advice if you have kidney disease.
  • Interactions: magnesium can reduce absorption of some antibiotics and bisphosphonates. Separate doses by a few hours.
  • Food magnesium has no upper limit. The 350 mg supplemental limit applies to supplements only.

Common questions

Will magnesium help me sleep?

Possibly, if you are short of it. The trial evidence is small and inconsistent, and it is not comparable to fixing your caffeine timing or wake schedule.

Which form should I take?

Glycinate or citrate. Avoid oxide.

How much?

200–400 mg of elemental magnesium, with food.

Will it stop my cramps?

For exercise-associated cramp, probably not. Sweat losses are trivial.

Am I deficient?

Blood tests are a poor measure, since most magnesium is intracellular. Dietary intake is a better guide.

Do Epsom salt baths work?

Transdermal absorption is not well supported. Relaxing, though.

Should I take it with calcium?

No need. The ratio advice is not well founded.

Can I take too much?

From supplements, yes — diarrhoea first. Genuinely risky only with kidney disease.

The practical version

  • Magnesium is genuinely essential and many adults fall short of 300–400 mg a day.
  • Evidence that supplementing improves sleep in non-deficient people is weak.
  • It does not prevent exercise-associated cramp — sweat losses are around 10 mg per litre.
  • Use glycinate or citrate at 200–400 mg elemental; avoid oxide (roughly 4% absorbed).
  • Check whether a label states compound weight or elemental magnesium.
  • Pumpkin seeds, spinach, beans, oats and dark chocolate fix most shortfalls.

Key takeaways

  • Magnesium is essential and many adults fall short of the 300-400 mg recommendation.
  • Evidence that supplementing improves sleep in non-deficient people is small and inconsistent.
  • It does not prevent exercise cramp — sweat magnesium loss is about 10 mg per litre.
  • Glycinate and citrate are well absorbed; oxide is roughly 4% bioavailable and laxative.
  • Labels may state compound weight rather than elemental magnesium — a tenfold difference.
  • Kidney disease is the one situation where magnesium supplementation is genuinely risky.

General information, not medical or individualised advice. Speak to a doctor before starting a new programme, especially if you have a medical condition, are pregnant, or are returning from injury. If you train with a coach, their guidance takes precedence.

Track it, or none of this applies

MyFitsy pre-fills the weight you used last time, so progression is a decision instead of a guess.

Download on the App StoreGet it on Google Play