After taking magnesium hydroxide (milk of magnesia) yesterday, I had a bowel movement and today my stool is yellow; does this indicate any concerning condition?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: August 20, 2026 • View editorial policy

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.

Yellow Stool After Milk of Magnesia is Usually Normal and Not Concerning

Yellow stool after taking milk of magnesia (magnesium hydroxide) yesterday is typically a benign, expected effect of the medication and does not indicate a concerning condition in most cases. This color change is commonly related to rapid intestinal transit and changes in bile processing, both of which are normal responses to osmotic laxatives like magnesium hydroxide 1.

Why Yellow Stool Occurs After Magnesium Hydroxide

Magnesium hydroxide works as an osmotic laxative by drawing water into the intestinal lumen, which:

  • Accelerates gut transit time - Studies show magnesium oxide (similar mechanism) reduces colonic transit time from approximately 75 hours to 41 hours 1
  • Softens stool consistency and increases stool bulk 1
  • Reduces time for bile processing - When stool moves quickly through the colon, bile doesn't have as much time to be broken down by bacteria into its typical brown pigments, resulting in yellow or greenish-yellow coloration

When Yellow Stool is NOT Concerning

Yellow stool is generally benign when:

  • It occurs within 24-48 hours of taking magnesium hydroxide (as in your case)
  • You have no other symptoms like severe abdominal pain, fever, or blood in stool
  • The color resolves within a few days as bowel movements normalize
  • You're otherwise feeling well

Important Caveats to Monitor

While yellow stool after milk of magnesia is usually harmless, be aware of these potential issues:

Watch for Excessive Diarrhea

  • Overdose of magnesium hydroxide can cause severe watery diarrhea 2
  • Paradoxically, this can lead to hypomagnesemia (low magnesium) from excessive losses 2
  • If diarrhea is severe or persistent, stop the medication 3

Signs Requiring Medical Attention

Per FDA labeling, stop use and contact a doctor if 3:

  • Rectal bleeding occurs
  • No bowel movement after using the product (could indicate serious condition)
  • Need to use laxative for more than 1 week
  • Severe or persistent watery diarrhea develops

Kidney Function Considerations

  • Avoid magnesium hydroxide if you have kidney disease 3
  • Even with normal kidney function, excessive intake can rarely cause fatal hypermagnesemia 4

What to Expect Going Forward

  • Yellow stool should normalize to brown within 2-3 days as intestinal transit returns to baseline
  • If constipation persists and you need ongoing treatment, guidelines recommend magnesium oxide at lower doses (0.5 g/day initially, up to 1.5 g/day maximum) rather than repeated milk of magnesia use 1, 5
  • For chronic constipation management, psyllium fiber supplements (>10 g/day for ≥4 weeks) are the preferred first-line dietary intervention 1

Bottom Line

Yes, people commonly have yellow poop after taking milk of magnesia, and it typically doesn't mean anything concerning. The rapid transit caused by the laxative is the most likely explanation. However, if you develop severe diarrhea, the yellow stool persists beyond a few days, or you experience any warning signs mentioned above, seek medical evaluation.

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.