Question

How much magnesium is safe to take?

  • Tier B thin Tested, but not in people like you
  • Last checked 2026-11-16
  • Not yet clinically reviewed

Short answer

The NHS (England) says up to 400 mg a day from supplements is unlikely to cause harm. Higher doses can cause diarrhoea, and long-term effects are not known. Food comes first: the NHS (England) says a varied, balanced diet should give you all the magnesium you need. Magnesium is in leafy greens, nuts, beans and whole grains.

What this is based on

  • Get magnesium from food first: the UK's NHS says a varied, balanced diet should give you all you need.Clinical guidance NHS, "Vitamins and minerals: Others" (magnesium)
  • If you try a supplement, keep it to 400 mg a day or less: the UK's NHS says that is unlikely to cause harm.Clinical guidance NHS, "Vitamins and minerals: Others" (magnesium)
  • More than 400 mg a day from supplements: the UK's NHS says high doses can cause diarrhoea, and long-term effects are not known.Clinical guidance NHS, "Vitamins and minerals: Others" (magnesium)
  • Magnesium is a mineral in leafy greens, nuts, beans and whole grains. Magnesium tablets, powders and sprays are widely promoted for sleep, cramps, stress and muscle recovery.Tradition and common belief, not evidence

Also asked as

  • how much magnesium is safe to take in a day
  • how much magnesium is safe to take daily
  • how much magnesium is safe per day
  • how much magnesium is safe to take as a supplement
  • how much magnesium is safe to take for sleep
  • how much magnesium is safe to take at night

From the card

Magnesium tablets did not clearly prevent leg cramps in older adults, and for sleep three small, low-quality trials in older adults hint at falling asleep a little faster. Our search found no supplement trial in Black participants. Up to four hundred milligrams a day from supplements is unlikely to harm; more can cause diarrhoea.

Where this comes from

Read the full entry: Magnesium supplements for sleep and cramps

Last checked against its sources: . Next check due: 17 May 2027.

This is information, not medical advice. If you are worried, see a doctor or pharmacist. How we grade the evidence.