The short answer

Magnesium works well for constipation. Magnesium salts draw water into the bowel and soften stools, and they have been used as laxatives for well over a century. In a placebo-controlled trial, 1.5 g of magnesium oxide a day improved symptoms in 68% of people, against 12% on placebo. People with kidney disease should not use it.

Strong evidence

Several good-quality placebo-controlled trials or a solid meta-analysis agree. How we grade

On this page
  1. How does magnesium relieve constipation?
  2. What is the evidence for magnesium as a laxative?
  3. How do you take magnesium for constipation?
  4. When should you avoid magnesium laxatives?
  5. What doesn’t the evidence show?
  6. Common questions
  7. References

How does magnesium relieve constipation?

Magnesium salts are osmotic laxatives. The bowel absorbs only part of a large dose of magnesium, and the rest stays in the gut, where it holds water. That softens the stool and makes it easier to pass. This is the same reason high-dose magnesium supplements often cause loose stools (see side effects). The least-absorbed forms, such as magnesium oxide, have the strongest effect; citrate is milder.

What is the evidence for magnesium as a laxative?

Unlike most magnesium claims, this one rests on long clinical use as well as trials. Magnesium hydroxide and magnesium sulphate are sold as licensed laxatives in UK pharmacies. Epsom salts are magnesium sulphate, but bath products aren’t meant to be swallowed: see Epsom salts and sprays.

The best recent trial, from Japan in 2021, randomly gave 90 adults with long-standing constipation either magnesium oxide (1.5 g a day), senna or placebo for four weeks. Overall symptoms improved in 68% on magnesium oxide, 69% on senna and 12% on placebo. Bowel movements and quality of life also improved, and there were no serious side effects. A 2021 review of magnesium oxide for constipation reached a similar conclusion, while stressing the need to monitor blood magnesium in long-term users.

How do you take magnesium for constipation?

  • Follow the directions on a licensed laxative, or ask a pharmacist to recommend one.
  • Drink plenty of fluids.
  • Use the lowest dose that works, and don’t keep using it for more than about a week without asking a pharmacist or GP.
  • More fibre, fluids and activity are the NHS’s first suggestions for constipation, and are worth trying alongside.

When should you avoid magnesium laxatives?

Don’t use magnesium laxatives if you have kidney disease, unless your doctor advises it. Take extra care if you are older, because kidney function falls with age. Very high blood magnesium (hypermagnesaemia) is rare but can be fatal: a 2018 case report described a woman with normal kidney function who died after long-term magnesium laxative use, and the authors noted that constipation itself may let more magnesium be absorbed.

Magnesium can also stop some medicines being absorbed, so check the medicines it affects.

See your GP if constipation is new and lasts more than three weeks, if you see blood, have unexplained weight loss or tummy pain, or if laxatives don’t help.

What doesn’t the evidence show?

That gentle forms sold for sleep or anxiety, such as glycinate, relieve constipation reliably. They are designed to avoid exactly this effect.

Keep reading

Common questions

Which magnesium is best for constipation?

Magnesium oxide and magnesium hydroxide (milk of magnesia) are the most used. Magnesium sulphate (Epsom salts taken by mouth) is stronger and acts fast. Magnesium citrate also has a laxative effect. Gentle forms such as glycinate are the least likely to work for this.

How quickly does magnesium work for constipation?

Magnesium hydroxide and sulphate usually work within a few hours to a day. Magnesium oxide taken regularly works over a few days.

Can I take magnesium for constipation every day?

For short spells, yes. For long-term use, talk to your GP. Regular high doses can build up in the blood, especially in older people and anyone with reduced kidney function, and rarely this is dangerous.

Is milk of magnesia the same as a magnesium supplement?

Milk of magnesia is magnesium hydroxide, a licensed laxative. It works the same way as high doses of oxide or citrate but is dosed for constipation, not for topping up magnesium. Follow the pack directions.

References

  1. Morishita D et al. Senna versus magnesium oxide for the treatment of chronic constipation: a randomized, placebo-controlled trial. American Journal of Gastroenterology, 2021.pubmed.ncbi.nlm.nih.gov
  2. Mori H et al. Magnesium oxide in constipation. Nutrients, 2021.pubmed.ncbi.nlm.nih.gov
  3. Bokhari SR et al. Fatal hypermagnesemia due to laxative use. American Journal of the Medical Sciences, 2018.pubmed.ncbi.nlm.nih.gov
  4. NHS. Constipation.nhs.uk
  5. NHS. Laxatives.nhs.uk

First published 4 November 2026. Spotted an error? Tell us and we'll correct it. Read our editorial policy.