Clinical KnowledgeA–Z topicsExams ▾Start free

Clinical Knowledge › Surgery › Paediatric surgery

Pyloric stenosis

Infantile hypertrophic pyloric stenosis is progressive thickening of the circular muscle of the pylorus that obstructs gastric emptying in the first weeks of life. It affects about 2 per 1000 infants, mostly first-born boys aged 2–8 weeks, with family history and early macrolide exposure as risk factors. The classic picture is forceful, projectile, non-bilious vomiting after feeds in a hungry baby, with weight loss and dehydration; a firm 'olive' may be felt in the right upper quadrant during a test feed. Loss of gastric acid causes hypochloraemic, hypokalaemic metabolic alkalosis, sometimes with paradoxical aciduria. Ultrasound confirms the diagnosis (muscle thickness 3 mm or more, channel length 15 mm or more). It is a medical before a surgical emergency: stop feeds, decompress the stomach if needed, and correct dehydration and electrolytes with intravenous fluids before surgery, because operating on an alkalotic infant risks postoperative apnoea. Ramstedt pyloromyotomy, open or laparoscopic, is curative; feeding restarts within hours and outcomes are excellent.

Full interactive lesson
Patient case, mechanism, investigations, management, flashcards and exam-style questions.
Open the lesson →
Pyloric stenosis on ultrasound
Pyloric stenosis on ultrasound Thickened hypoechoic pyloric muscle around an elongated channel in a 6-week-old. Diagnosis is muscle thickness ≥3–4 mm and channel length ≥15–17 mm. · Dr Laughlin Dawes · CC BY-SA 4.0 · Wikimedia Commons

Key facts

Differential diagnosis

ConditionCluesKey test
Gastro-oesophageal refluxEffortless, non-projectile posseting in a thriving babyClinical; normal ultrasound if done
Malrotation with volvulusBilious (green) vomiting, any age, may be shockedUrgent upper GI contrast study
Duodenal atresiaBilious vomiting in first day of life; Down syndromeAXR: double bubble
Congenital adrenal hyperplasia (salt-wasting)Vomiting at 1–3 weeks with hyponatraemia, hyperkalaemia, acidosis17-hydroxyprogesterone; electrolytes
OverfeedingLarge-volume feeds, vomiting after feeds, gaining weightFeeding history
Infection (UTI, sepsis, meningitis)Fever or lethargy, poor feedingUrine, blood cultures, LP as indicated
Cow's milk protein allergyVomiting with eczema, blood in stool, irritabilityTrial of extensively hydrolysed formula
Raised intracranial pressure or inborn error of metabolismBulging fontanelle, lethargy; acidosis, hypoglycaemia, hyperammonaemiaCranial ultrasound; metabolic screen

Exam pearls

The baby is hungry and eager to feed straight after vomiting, unlike an infant with sepsis.
The olive is easiest to feel from the left side with the baby relaxed and feeding, after the stomach has been emptied by vomiting or an NG tube.
A low chloride with a high bicarbonate in a vomiting infant points to pyloric stenosis; a low sodium with a high potassium points to salt-wasting congenital adrenal hyperplasia.
Paradoxical aciduria occurs late: with severe volume and chloride depletion, aldosterone drives distal sodium reabsorption, and because potassium is depleted the distal nephron secretes H+ rather than K+, so the urine turns acidic and the alkalosis worsens.
Mild unconjugated hyperbilirubinaemia occurs in a few per cent (reduced glucuronyl transferase activity from starvation) and resolves after surgery.
Alkalosis depresses respiratory drive; operating before correction risks postoperative apnoea.

Guideline

NICE NG1 GORD in children (2015, updated 2019) red flags, NICE NG29 IV fluid therapy in children and young people in hospital (2015, updated 2020), and consensus paediatric surgical practice

References

  1. Hall NJ, Pacilli M, Eaton S, et al.. Recovery after open versus laparoscopic pyloromyotomy for pyloric stenosis: a double-blind multicentre randomised controlled trial. Lancet 2009.
  2. National Institute for Health and Care Excellence. Intravenous fluid therapy in children and young people in hospital (NG29). NICE guideline 2015.
  3. National Institute for Health and Care Excellence. Gastro-oesophageal reflux disease in children and young people: diagnosis and management (NG1). NICE guideline 2015.
  4. Eberly MD, Eide MB, Thompson JL, Nylund CM.. Azithromycin in early infancy and pyloric stenosis. Pediatrics 2015.
  5. Obaid YY, Toubasi AA, Albakri KA, et al.. Perinatal risk factors for infantile hypertrophic pyloric stenosis: a systematic review and meta-analysis. J Pediatr Surg 2023.
  6. Al-Ansari AN, et al.. Minimally invasive versus open pyloromyotomy for infantile hypertrophic pyloric stenosis: insights from an updated systematic review and meta-analysis. Pediatr Rep 2025.

Related topics

IntussusceptionMalrotation and volvulusHirschsprung diseaseOesophageal atresia / TOFDiaphragmatic hernia (CDH)Gastroschisis/exomphalosNecrotising enterocolitisPaediatric hernia/hydroceleUndescended testisTesticular torsion

By Dr Khalid Seidi (B.Sc., M.D.) · MedEd World Clinical Knowledge library. Original teaching content checked against current guidelines (November 2026); confirm the latest local guidance before clinical use. Not a substitute for clinical judgement.