Doctors Note Logo

Published on: 9/14/2026

How long does diarrhea from magnesium last after I stop taking it?

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

answer background

Explanation

How Long Does Diarrhea After Magnesium Last Once You Stop?

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.

Why Magnesium Can Cause Diarrhea

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:

  • Type of magnesium
    – Magnesium citrate and sulfate tend to have a stronger laxative effect.
    – Magnesium oxide is less soluble but can still cause loose stools in sensitive people.
  • Dosage
    – Higher doses (over 350 mg elemental magnesium per day) are more likely to trigger diarrhea.
  • Individual sensitivity
    – Some people absorb magnesium more efficiently; others have slower uptake and more unabsorbed residue in the colon.
  • Concurrent medications or conditions
    – Laxatives, antibiotics or gut disorders (like inflammatory bowel disease) can worsen or prolong diarrhea.

Typical Duration of Diarrhea After Stopping Magnesium

Once you stop taking magnesium:

  • Within 6–12 hours
    – Your next bowel movement may still be loose due to residual magnesium in the gut.
  • 24–48 hours
    – Most of the unabsorbed magnesium is flushed out. Stool consistency usually returns to normal.
  • Up to 72 hours
    – In rare cases—especially after very high doses or in people with slower gut transit—diarrhea may persist up to three days.

If diarrhea continues beyond 72 hours, consider other causes, such as infection, food intolerance or an underlying digestive issue.

When to Worry

Diarrhea after magnesium is usually mild and self‐limiting. However, contact a healthcare professional if you experience:

  • Severe abdominal cramps or persistent pain
  • Signs of dehydration: dry mouth, dark urine, dizziness
  • Fever over 100.4 °F (38 °C)
  • Blood or black material in stool
  • Diarrhea lasting more than 72 hours

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.

Managing Diarrhea After Magnesium

If you decide to stop magnesium and have loose stools, here are practical steps to ease discomfort and support recovery:

  1. Hydration
    • Drink plenty of water.
    • Consider oral rehydration solutions or drinks with electrolytes if you have multiple loose stools.
  2. Ease back into a bland diet
    • BRAT foods: bananas, rice, applesauce, toast.
    • Avoid high‐fat, spicy or dairy foods until your stool firms up.
  3. Probiotics
    • Yogurt with live cultures or over‐the‐counter probiotic capsules may help rebalance gut bacteria.
  4. Rest your gut
    • Give your digestive system a break by eating smaller, more frequent meals.
  5. Avoid additional irritants
    • Cut back on caffeine, alcohol and artificial sweeteners, which can worsen diarrhea.

Preventing Future Episodes

If you need to take magnesium again—whether for cramps, constipation or sleep support—consider these strategies to minimize diarrhea:

  • Start low and go slow
    – Begin with a smaller dose (100–200 mg elemental magnesium) and gradually increase as needed.
  • Choose gentler forms
    – Magnesium glycinate or malate are often better tolerated and less likely to cause loose stools.
  • Split your dose
    – Instead of one large dose, take two or three smaller doses throughout the day.
  • Take with food
    – A meal can slow magnesium absorption and reduce an osmotic rush into the colon.
  • Monitor your total intake
    – Check labels of multivitamins or fortified foods to avoid exceeding 350 mg elemental magnesium per day without medical supervision.

How Long Will It Take to Fully Recover?

  • Short‐term
    – Most people feel back to normal within 1–2 days after stopping magnesium.
  • Long‐term
    – If you adjust your magnesium regimen using the prevention tips above, you may avoid future diarrhea altogether.

When to See a Doctor

Diarrhea after magnesium is rarely dangerous if managed promptly. Yet, you should speak to a doctor if you notice:

  • Severe, persistent symptoms
  • Signs of dehydration or electrolyte imbalance
  • Blood in stool or unexplained weight loss
  • Diarrhea lasting more than 72 hours

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.

Thinking about asking ChatGPT?Ask me instead

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

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.