Our Services
Medical Information
Helpful Resources
Published on: 9/14/2026
Diarrhea caused by magnesium supplements usually clears within 1 to 3 days after you stop taking them, since unabsorbed magnesium moves out of your system quickly, though timing varies by dose, magnesium form, and kidney function. Poorly absorbed forms like magnesium oxide, citrate, and hydroxide tend to cause looser stools that resolve fast, while high-dose or long-term use may take a bit longer to settle. Loose stools lasting beyond a few days, or occurring with fever, blood in the stool, severe cramping, weakness, or signs of dehydration, may point to another cause that needs attention. There are several important factors and warning signs to consider, so see below for the complete answer before deciding to restart or switch supplements.
If your symptoms are not improving on the expected timeline, or you are unsure whether magnesium is truly the culprit, a free, instant symptom check can help you sort out likely causes in minutes and show you clear next steps, including whether to adjust your supplement, hydrate and monitor at home, or get evaluated by a clinician.
Last reviewed for medical accuracy: 09/14/2026
Magnesium supplements—from magnesium citrate to oxide and other forms—are widely used for muscle cramps, constipation relief and overall health. A common side effect is loose stools or diarrhea. If you’ve experienced diarrhea after magnesium and worry about how long it will last, here’s what you need to know.
Magnesium in higher doses draws water into the intestines and speeds up muscle contractions in the bowel. Unabsorbed magnesium acts like an osmotic laxative, softening stool and increasing the frequency of bowel movements. Factors that influence how strongly magnesium affects your gut include:
Once you stop taking magnesium:
If diarrhea continues beyond 72 hours, consider other causes, such as infection, food intolerance or an underlying digestive issue.
Diarrhea after magnesium is usually mild and self‐limiting. However, contact a healthcare professional if you experience:
For non‐urgent concerns or to get quick guidance, you might try a free, online symptom check, using the doctor approved Ubie Symptom Checker. It can help you understand whether your symptoms need immediate medical attention or simple home care.
If you decide to stop magnesium and have loose stools, here are practical steps to ease discomfort and support recovery:
If you need to take magnesium again—whether for cramps, constipation or sleep support—consider these strategies to minimize diarrhea:
Diarrhea after magnesium is rarely dangerous if managed promptly. Yet, you should speak to a doctor if you notice:
For an easy first step, try a free, online symptom check, using the doctor approved Ubie Symptom Checker. It’s quick, confidential and helps you decide if you need in‐person care.
Always remember: if you have any life‐threatening symptoms—such as very high fever, severe dehydration or bloody diarrhea—seek immediate medical attention or call emergency services. For any serious or ongoing concerns, speak to a doctor to get personalized advice.
(References)
* Chassany O, Michaux A, Bergmann JF. Drug-induced diarrhoea. Drug Saf. 2000 Jan;22(1):53-72. doi: 10.2165/00002018-200022010-00005. PMID: 10647976.
* Pitche PT. [Pellagra]. Sante. 2005 Jul-Sep;15(3):205-8. PMID: 16207585.
* Guerrero-Romero F, Flores-García A, Saldaña-Guerrero S, Simental-Mendía LE, Rodríguez-Morán M. Obesity and hypomagnesemia. Eur J Intern Med. 2016 Oct;34:29-33. doi: 10.1016/j.ejim.2016.06.015. Epub 2016 Jun 25. PMID: 27353277.
* Garrison SR, Korownyk CS, Kolber MR, Allan GM, Musini VM, Sekhon RK, Dugré N. Magnesium for skeletal muscle cramps. Cochrane Database Syst Rev. 2020 Sep 21;9(9):CD009402. doi: 10.1002/14651858.CD009402.pub3. Epub 2020 Sep 21. PMID: 32956536; PMCID: PMC8094171.
* Rao SSC, Brenner DM. Efficacy and Safety of Over-the-Counter Therapies for Chronic Constipation: An Updated Systematic Review. Am J Gastroenterol. 2021 Jun 1;116(6):1156-1181. doi: 10.14309/ajg.0000000000001222. PMID: 33767108; PMCID: PMC8191753.
* Toca MDC, Fernández A, Orsi M, Tabacco O, Vinderola G. Lactose intolerance: myths and facts. An update. Arch Argent Pediatr. 2022 Feb;120(1):59-66. doi: 10.5546/aap.2022.eng.59. Epub 2021 Dec 17. PMID: 35068123.
* Inácio I, Azevedo T, Balsa AM, Ferreira S, Rosinha P, Alves M, Dantas R, Guimarães J. Association Between Serum Magnesium and Glycemic Control, Lipid Profile and Diabetic Retinopathy in Type 1 Diabetes. Cureus. 2022 Jan;14(1):e21128. doi: 10.7759/cureus.21128. Epub 2022 Jan 11. PMID: 35165581; PMCID: PMC8830387.
* Takemura M, Niki K, Miyaguchi S, Ueda M. Naldemedine-laxative combination: retrospective inpatient study. BMJ Support Palliat Care. 2024 Jan 8;13(e3):e816-e819. doi: 10.1136/spcare-2022-003685. Epub 2024 Jan 8. PMID: 35750467; PMCID: PMC10850823.
* Viegas AF, Lopes AFM, Almeida CC, Ennis G, Tavares JP. Hypomagnesaemia - One Cause To Remember!. Eur J Case Rep Intern Med. 2022;9(11):003637. doi: 10.12890/2022_003637. Epub 2022 Nov 11. PMID: 36506733; PMCID: PMC9728218.
* Dowley A, Long-Smith CM, Demehin O, Nolan Y, O'Connell S, O'Gorman DM. The bioaccessibility and tolerability of marine-derived sources of magnesium and calcium. Methods. 2024 Jun;226:28-34. doi: 10.1016/j.ymeth.2024.04.009. Epub 2024 Apr 10. PMID: 38608850.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.