What should I do if a milk magnesium pill gets stuck in my esophagus?

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: November 17, 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.

Management of a Magnesium Pill Stuck in the Esophagus

If a magnesium pill is stuck in your esophagus, seek immediate medical evaluation for endoscopic removal within 24 hours, as pill-induced esophagitis can cause serious complications including ulceration, bleeding, and perforation. 1

Immediate Actions

Do not attempt to force the pill down by eating or drinking excessively. Stop taking anything by mouth until evaluated, as this may worsen the obstruction or increase aspiration risk. 1

  • Seek emergency care if you experience:
    • Inability to swallow saliva (complete obstruction) 1
    • Severe chest pain 2, 3
    • Difficulty breathing 1
    • Vomiting blood 3

Medical Evaluation and Treatment

Flexible endoscopy is the first-line treatment for persistent esophageal foreign bodies and should be performed urgently within 24 hours for pills without complete obstruction. 1

  • Plain chest radiographs may not visualize magnesium oxide tablets reliably, so endoscopy should be performed based on persistent symptoms even if imaging is negative 1

  • The endoscopist will typically use a "push technique" - gently pushing the pill into the stomach with air insufflation, which has up to 90% success rate and low complication rates 1

  • If pushing fails, retrieval techniques using baskets, snares, or grasping forceps will be employed 1

  • Most cases require anesthetic support, often general anesthesia with endotracheal intubation to protect the airway 1

Post-Removal Management

After removal, you will likely receive proton pump inhibitors and possibly sucralfate to treat esophageal injury. 3

  • Symptoms typically improve within 2-7 days after the pill is removed and the medication is discontinued 2

  • Follow-up endoscopy at 3-4 weeks is recommended to ensure complete healing, as underlying esophageal disorders (strictures, eosinophilic esophagitis, rings) are found in up to 25% of patients with pill impaction 1, 2

Critical Pitfalls to Avoid

Never take magnesium pills lying down or with insufficient water - this is the cause in 85.5% of pill esophagitis cases. 3

  • Magnesium oxide tablets are particularly prone to causing esophageal injury because they are highly caustic when dissolved 4, 5

  • Capsule formulations cause problems in 62.5% of cases, as they are more likely to stick in the esophagus than tablets 3

  • The middle third of the esophagus is the most common site of injury (79.2% of cases), where anatomical narrowing occurs 3

Prevention for Future Use

Always take magnesium pills upright with at least 8 ounces (240 mL) of water, and remain upright for 30 minutes afterward. 2, 4, 5

  • Consider switching to liquid or dissolvable magnesium formulations, which are better tolerated and eliminate the risk of esophageal impaction 6

  • Never take magnesium pills at bedtime, as recumbent position dramatically increases risk of esophageal retention 2, 5, 3

  • If you have difficulty swallowing pills, discuss alternative magnesium formulations with your physician rather than using food thickening agents, which can cause magnesium oxide tablets to fail to disintegrate properly 7

References

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Research

Doxycycline-induced pill esophagitis.

Diseases of the esophagus : official journal of the International Society for Diseases of the Esophagus, 2004

Research

Drug-induced esophageal ulcers: case series and the review of the literature.

The Turkish journal of gastroenterology : the official journal of Turkish Society of Gastroenterology, 2014

Research

Pill esophagitis.

Journal of clinical gastroenterology, 1999

Guideline

Magnesium Supplementation Guidelines

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

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.