Gastroenterology
Pyloric stenosis: diagnosis and management
Infantile hypertrophic pyloric stenosis (IHPS) is progressive hypertrophy and hyperplasia of the pyloric muscle causing gastric outlet obstruction.

A detailed feeding and emesis history is the cornerstone of early suspicion.
— Nonbilious (clear or white/curdled milk) — this is the single most important qualifier
— Initially may appear like simple reflux/spit-up; becomes progressively forceful/projectile over days to weeks
— Occurs during or shortly after feeds
— Infant is eager to re-feed immediately after vomiting ("hungry vomiter")

Physical examination in IHPS ranges from subtle early on to dramatic when presentation is delayed.
— "Olive-shaped" mass in the right upper quadrant/epigastrium — palpable in ~60–80% of cases by experienced examiners
— Best felt after the infant vomits (stomach decompressed) or with NGT decompression, with the infant calm and hips flexed
— Visible gastric peristaltic waves moving left-to-right across the upper abdomen after a feed

The metabolic derangement in IHPS is highly predictable and a favorite board topic.
— Mechanism: loss of gastric acid (HCl) → ↓ Cl⁻, ↓ H⁺ → metabolic alkalosis
— Kidneys attempt to retain H⁺ by excreting K⁺ → hypokalemia
— Severe cases: paradoxical aciduria — kidneys reabsorb Na⁺ in exchange for H⁺ when K⁺ is depleted, producing acidic urine despite systemic alkalosis

Abdominal ultrasound is the gold-standard imaging study for IHPS.
— Pyloric muscle thickness ≥3 mm (measured wall thickness, single wall)
— Pyloric channel length ≥15 mm (some sources use ≥17 mm)
— Failure of the pyloric channel to open during real-time observation
— Upper GI series (UGI) can be performed as second-line
— Classic UGI findings: "string sign" (elongated, narrowed pyloric channel), "shoulder sign" (pyloric mass indenting the antrum), "double track sign," delayed gastric emptying

Pyloric stenosis is a medical emergency before it is a surgical one — correction of dehydration and electrolyte abnormalities MUST precede surgery.
— Cl⁻ correction is the primary driver of alkalosis resolution
— K⁺ replacement is essential but ONLY after confirming adequate renal function (urine output)
— Cl⁻ ≥100 mEq/L
— K⁺ ≥3.5 mEq/L
— HCO₃⁻ ≤30 mEq/L
— Adequate urine output

Definitive treatment is surgical — the Ramstedt pyloromyotomy.
— Can be performed via open (right upper quadrant or periumbilical incision) or laparoscopic approach
— Both approaches have excellent outcomes; laparoscopic may have shorter recovery and improved cosmesis
— Vomiting in the first 24–48 hours postop is COMMON and expected (up to 80% of infants) — due to gastric atony/edema; does not indicate surgical failure

Postoperative management focuses on rapid return to full enteral feeding and ensuring weight recovery.
— Begin breast milk or formula within hours of surgery
— Ad lib feeding (allowing infant to set pace) has been shown to be superior to graduated/slow feeding protocols → shorter time to full feeds, shorter hospital stay
— Assess for persistent emesis >48 hours postop → consider incomplete myotomy (very rare)
— Wound care: watch for signs of infection, dehiscence
— Recheck weight prior to discharge and at first outpatient visit
— Confirm adequate weight gain (expect ~30 g/day)
— Review feeding patterns, assess for resolution of vomiting
— Ensure incision healing

IHPS has a narrow window of presentation that makes age a powerful diagnostic clue.

Understanding IHPS requires knowing what else causes vomiting in this age group and how each differs.

Most complications arise from delayed diagnosis or inadequate preoperative resuscitation.
— Mucosal perforation (1–2%)
— Incomplete myotomy (<1%) → persistent vomiting >48 hr postop
— Wound infection, incisional hernia

Every infant with confirmed or strongly suspected IHPS requires hospitalization.
— All confirmed pyloric stenosis
— Clinically suspected PS with dehydration or electrolyte abnormality even if awaiting ultrasound confirmation
— Any young infant with progressive projectile vomiting and poor intake/output
— IHPS is URGENT but NOT emergent — there is time to resuscitate
— Surgery should proceed once electrolytes are corrected (Cl⁻ ≥100, K⁺ ≥3.5, HCO₃⁻ ≤30) and dehydration is addressed
— Typically within 24–48 hours of admission

Several conditions share features with IHPS; systematic comparison is high-yield.


There is no screening test for IHPS, but awareness of risk factors enables early recognition.
— Macrolide antibiotic exposure: erythromycin given to neonates (especially <2 weeks of age) ↑ IHPS risk ~8-fold; avoid if possible; azithromycin carries lower but still elevated risk
— Maternal macrolide use during breastfeeding in first 2 weeks postpartum → modest ↑ risk
— Counsel against unnecessary antibiotic use in neonates
— If macrolides must be used (e.g., pertussis prophylaxis in neonates), counsel family about symptoms of IHPS and ensure close follow-up
— Educate parents of all newborns about warning signs of persistent vomiting requiring evaluation

Post-treatment surveillance ensures complete recovery and normal growth trajectory.
— Visit at 1–2 weeks: assess wound healing, feeding adequacy, weight gain
— Visit at 1 month: confirm return to appropriate growth velocity (~30 g/day)
— Routine well-child visits thereafter per AAP schedule
— Persistent projectile vomiting >48–72 hours → consider incomplete myotomy (rare) → repeat US or UGI
— Persistent poor weight gain → evaluate for concomitant GERD, cow's milk protein allergy, or feeding difficulties

— Pyloromyotomy is one of the safest and most commonly performed neonatal surgeries
— Brief procedure (~30 minutes), short hospital stay (1–2 days)
— Postoperative vomiting is normal and expected — does NOT mean the surgery failed




