Can milk of magnesia (magnesium hydroxide) help with constipation?

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: December 15, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

Can Milk of Magnesia Help with Constipation?

Yes, milk of magnesia (magnesium hydroxide) is an effective and recommended treatment for constipation that works through osmotic action to increase bowel movements, typically producing results within 30 minutes to 6 hours. 1

Evidence Supporting Efficacy

Milk of magnesia functions as an osmotic laxative by creating an osmotic gradient in the gastrointestinal tract, leading to net secretion of water and electrolytes into the bowel lumen, which softens stool and stimulates bowel movements. 2

Clinical Effectiveness

  • The American Gastroenterological Association recommends milk of magnesia as an inexpensive first-line osmotic agent for chronic constipation, with an approximate daily cost of $1 or less. 2

  • In pediatric populations, milk of magnesia demonstrated superior efficacy compared to polyethylene glycol (PEG), though the difference was small (0.69 more stools per week with PEG, which may not be clinically significant). 3

  • ESMO guidelines endorse magnesium and sulfate salts as commonly used osmotic laxatives for patients with advanced cancer, noting their primarily osmotic mechanism of action. 2

Recommended Dosing

  • Standard adult dosing is 1 oz (approximately 30 mL) twice daily as suggested by the American Gastroenterological Association. 2

  • The FDA-approved indication is for relief of occasional constipation, typically producing bowel movements within ½ to 6 hours. 1

Critical Safety Considerations

Renal Function Monitoring

The most important caveat is that magnesium hydroxide should be avoided or used with extreme caution in patients with renal impairment. 2

  • Magnesium levels are regulated primarily through renal excretion, and hypermagnesemia is more likely in individuals with creatinine clearance <20 mg/dL. 2

  • Fatal cases of hypermagnesemia have been reported in patients taking magnesium hydroxide, including one patient with normal renal function who developed a magnesium level of 11.0 mg/dL and died despite intervention. 4

  • Severe hypermagnesemia (14.9 mg/dL) has occurred even without renal dysfunction when combined with severe constipation and ileus, requiring emergency hemodialysis. 5

When to Stop and Seek Medical Attention

Patients should stop use and consult a physician if: 1

  • Rectal bleeding occurs
  • No bowel movement after use (may indicate serious condition)
  • Laxative use is needed for more than 1 week

Contraindications and Precautions

Do not use or consult a physician first if the patient has: 1

  • Kidney disease
  • Magnesium-restricted diet
  • Stomach pain
  • Sudden change in bowel habits lasting over 14 days
  • Is taking prescription medications (potential drug interactions)

Positioning in Treatment Algorithm

First-Line Therapy

Milk of magnesia is recommended as part of initial medical management alongside fiber supplementation and other osmotic agents like polyethylene glycol. 2

  • The treatment approach should begin with gradual fiber increase (dietary and supplements) and/or an inexpensive osmotic agent such as milk of magnesia or PEG. 2

  • If stool consistency requires, the next step is supplementing the osmotic agent with a stimulant laxative (bisacodyl or glycerol suppositories), preferably 30 minutes after a meal to synergize with the gastrocolonic response. 2

Comparative Effectiveness

  • Osmotic laxatives including magnesium salts are strongly endorsed in systematic reviews of chronic constipation and are generally preferred in advanced disease. 2

  • While PEG may have slight advantages in some studies, milk of magnesia remains a cost-effective and accessible option with comparable efficacy. 3, 6

Special Populations

Pediatric Use

In children with chronic constipation, milk of magnesia showed efficacy comparable to PEG, with one study demonstrating successful treatment in 43% of patients at one year when combined with high fiber diet and bowel training. 7

Cancer and Palliative Care

For patients with advanced cancer, magnesium salts are listed among preferred osmotic laxatives, though caution is advised regarding hypermagnesemia risk in renal impairment. 2

Opioid-Induced Constipation

Osmotic laxatives including magnesium salts are generally preferred for prophylaxis and treatment of opioid-induced constipation. 2

Common Pitfalls to Avoid

  • Never assume normal renal function eliminates hypermagnesemia risk - fatal cases have occurred even with normal kidney function when combined with severe constipation. 4, 5

  • Do not continue use beyond 1 week without medical evaluation - prolonged laxative dependence may indicate underlying pathology requiring investigation. 1

  • Avoid in patients with magnesium-restricted diets or those on medications that may interact - always screen for contraindications before initiating therapy. 1

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.

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.