Skip to textbook content
Doctor’s PassportTextbook
TopicsAll topics

Loading topic navigation…

Textbook navigation
TopicsAll topics

Loading topic navigation…

← Paediatrics and child health indexChapter sections
OverviewAetiologyPathophysiologyClinical features and red flagsInvestigationsDifferential diagnosisManagementComplicationsMonitoring and follow-upSpecial situationsCommon pitfallsQuestionsSources
Full textbook13 sectionsOpen only what you need
Educational draft · awaiting clinical reviewThe full textbook explains uncertainty but does not replace live national or local guidance, specialist advice, or current prescribing information.

Pyloric stenosis and bilious vomiting

Paediatrics and child health · UK scope · Sources checked 27 Aug 2026 · Clinical review pending

RapidFull
!
Green vomit is obstruction until proved otherwise

True bilious dark-green vomiting in a neonate or infant may represent malrotation with midgut volvulus, where bowel blood supply can be lost within hours.

Action: Keep nil by mouth, insert gastric decompression, obtain IV access and resuscitate, check glucose and urgently contact paediatric surgery while arranging the local definitive imaging pathway without delay.

Overview

Distinguish progressive non-bilious gastric-outlet vomiting from bilious intestinal obstruction in early infancy, correct physiological derangement and secure time-critical imaging and paediatric surgical care.

Ask when vomiting began, relation to feeds, force, colour, volume, blood, hunger afterwards, stool, urine and weight. Parents may call yellow fluid bile, so use a visual reference and inspect a sample when possible; clinically important bile is dark green. Examine hydration and perfusion, observe a feed when safe and inspect the abdomen for distension, visible peristalsis, tenderness, mass and hernia. Pyloric palpation should not delay ultrasound.

Hypertrophic pyloric stenosis evolves rather than presenting at birth. Repeated vomiting loses hydrogen and chloride and contracts extracellular volume. The kidney retains sodium in exchange for hydrogen and potassium, producing paradoxical aciduria in advanced disease. Ultrasound measures pyloric muscle and channel dynamically. Biochemistry assesses resuscitation needs. Surgery is delayed until circulation and electrolytes are corrected because alkalosis increases anaesthetic and apnoea risk.

Bilious vomiting follows reflux of bile from obstruction distal to the duodenal ampulla. Malrotation with volvulus is the time-critical diagnosis, particularly in neonates, but normal stool or a soft abdomen early does not exclude it. Stabilise, decompress and call surgery immediately. Plain radiography may show obstruction or perforation but can be normal. A stable infant usually needs urgent specialist upper-GI contrast imaging; an unstable child with peritonism may proceed directly according to surgical judgement.

Aetiology

01

Pyloric muscle hypertrophy

Progressive thickening and elongation of pyloric circular muscle narrows gastric outflow, usually becoming symptomatic in the first two months.

02

Malrotation anatomy

Abnormal fetal intestinal rotation creates a narrow mesenteric base and obstructing Ladd bands, allowing the midgut to twist around its vascular pedicle.

03

Other intestinal obstruction

Atresia, meconium disease, Hirschsprung disease, incarcerated hernia and adhesions can also generate bilious vomiting at different ages.

04

Systemic vomiting mimic

Sepsis, UTI, metabolic disease, milk-protein allergy and raised intracranial pressure may cause non-bilious vomiting without mechanical gastric outlet obstruction.

Pathophysiology

  1. 1
    Gastric outlet obstruction

    Pyloric narrowing retains milk in stomach, causing increasingly forceful non-bilious emesis because obstruction lies proximal to bile entry.

  2. 2
    Chloride and hydrogen loss

    Repeated gastric vomiting produces hypochloraemic metabolic alkalosis, potassium depletion and secondary renal sodium conservation with paradoxical aciduria.

  3. 3
    Midgut vascular twist

    Volvulus obstructs bowel and mesenteric veins before arterial inflow, causing oedema, ischaemia, necrosis and eventual perforation.

  4. 4
    Bilious colour location

    Obstruction distal to the ampulla permits bile to enter vomit, although colour description should be clarified directly with a green chart or sample.

Clinical features and red flags

Pyloric trajectory

Increasingly forceful non-green vomiting after feeds with renewed hunger and weight loss over the first weeks is characteristic.

Alkalosis pattern

Low chloride and potassium with raised bicarbonate reflects prolonged gastric acid loss and volume-conserving renal physiology.

True bilious emesis

Dark-green fluid indicates bile and demands urgent assessment for obstruction distal to its duodenal entry.

Volvulus ischaemia

Pain, distension, bloody stool, acidosis, shock and peritonism suggests compromised mesenteric blood supply.

Early obstruction can look well

A soft abdomen and preserved stool do not exclude malrotation before vascular compromise or complete blockage develops.

Red flags requiring action

  • Dark-green bilious vomit at any age requires urgent obstruction assessment and is not a reflux symptom.
  • Abdominal distension, tenderness, bloody stool, shock or metabolic acidosis suggests bowel ischaemia or perforation.
  • Progressively projectile non-bilious vomiting at 2 to 8 weeks with hunger and weight loss suggests hypertrophic pyloric stenosis.
  • Lethargy, reduced urine, prolonged capillary refill or a sunken fontanelle indicates dehydration needing hospital correction.

Investigations

  1. 01
    First-line pyloric ultrasoundFirst stepFirst line
    Why
    Measure muscle thickness and channel length and observe gastric passage without radiation.
    Interpretation and limitations
    Expert dynamic criteria confirm stenosis; early equivocal results need clinical review and sometimes repeat imaging.
  2. 02
    Glucose, blood gas and electrolyte profile
    Why
    Quantify dehydration, alkalosis, chloride and potassium depletion and kidney injury before anaesthesia.
    Interpretation and limitations
    Correct physiology to agreed paediatric targets before pyloromyotomy; a normal early profile does not exclude anatomical disease.
  3. 03
    Abdominal radiograph in bilious vomiting
    Why
    Look for perforation, gas pattern and level of obstruction while urgent surgical planning continues.
    Interpretation and limitations
    A normal or nonspecific film cannot exclude malrotation and must not end the pathway.
  4. 04
    Urgent upper gastrointestinal contrast study
    Why
    Define duodenal course and obstruction in a stable child with suspected malrotation or volvulus.
    Interpretation and limitations
    Abnormal duodenojejunal position or corkscrew obstruction supports malrotation; instability may require surgery without delay.

Differential diagnosis

01

Physiological reflux

Effortless small milk regurgitation in a thriving comfortable infant lacks progressive force, bile, dehydration and abdominal disease.

02

Gastroenteritis or sepsis

Diarrhoea, fever, sick contacts or systemic instability may indicate infection, but bilious colour still demands obstruction assessment.

03

Cow milk protein allergy

Eczema, blood or mucus in stool and chronic feeding symptoms may accompany vomiting but do not cause the classic pyloric biochemical pattern.

04

Raised intracranial pressure

Bulging fontanelle, abnormal consciousness, seizures or focal neurology directs urgent neurological investigation alongside stabilisation and glucose measurement.

Management

01Projectile non-biliousConfirm and correct pyloric diseaseFirst stepA young infant has progressive forceful milk vomiting with hunger or weight loss.+
  1. 1Assess hydration, weight and glucose and obtain electrolytes and blood gas.
  2. 2Request urgent expert pyloric ultrasound and repeat assessment if early findings are equivocal.
  3. 3Stop feeds and correct volume, chloride and potassium under paediatric surgical care.
  4. 4DefinitiveProceed to definitive pyloromyotomy after full physiological optimisation.
02BiliousProtect bowel viabilityAn infant or child vomits dark-green bile.+
  1. 1Keep nil by mouth, decompress stomach, obtain IV access and resuscitate while checking glucose and lactate.
  2. 2Contact paediatric surgery immediately and assess abdomen, perfusion and stool blood.

Complications

01

Severe dehydration and alkalosis

Continued pyloric vomiting reduces circulating volume and chloride, causing renal impairment, hypokalaemia and paradoxical aciduria before treatment.

02

Aspiration and hypoglycaemia

Repeated vomiting and starvation increase aspiration risk and deplete glucose stores rapidly in a young infant.

03

Bowel necrosis

Untreated midgut volvulus can destroy extensive small bowel, causing sepsis, short-bowel syndrome, multiorgan failure or death.

04

Delayed growth

Persistent gastric obstruction reduces retained milk and produces weight loss despite continued hunger and eager feeding after vomiting.

Monitoring and follow-up

  • Measure fluid balance, urine, weight, perfusion and glucose during stabilisation.
  • Repeat chloride, potassium, bicarbonate and renal function until safe for anaesthesia.
  • Observe vomit colour directly and document recurrence, force and feed relation.
  • After surgery monitor abdominal distension, stool, wound, pain and feeding tolerance.
  • Plot weight recovery and review persistent vomiting or poor gain.
  • Give families immediate-return advice for any recurrent dark-green vomit.

Special situations

Bile is green not merely yellow

Direct colour clarification prevents dangerous obstruction being mislabeled as ordinary reflux.

Pyloric surgery follows resuscitation

The operation is urgent but not performed through correctable alkalosis and dehydration that increase anaesthetic risk.

A normal film cannot clear malrotation

Bowel gas may appear nonspecific before volvulus progresses, so definitive anatomy still requires specialist assessment.

Paradoxical aciduria explains severity

Volume-depleted kidneys exchange sodium for hydrogen despite systemic alkalosis when potassium is scarce.

Common pitfalls

  1. 01

    Calling dark-green bilious vomiting physiological reflux.

  2. 02

    Using projectile force to assume pyloric stenosis without checking colour.

  3. 03

    Sending an alkalotic dehydrated infant directly to anaesthesia before correction.

  4. 04

    Using a normal abdominal radiograph to exclude malrotation.

  5. 05

    Waiting for a palpable olive before ordering ultrasound.

  6. 06

    Ignoring recurrent bile after surgery.

Practice

Two practice questions

Your practice draft is saved in this browser.

Question 1 of 2
0 correct
Paediatrics and child healthOriginal SBA

Projectile vomiting physiology

A five-week-old has progressive projectile non-bilious vomiting, hunger after feeds and weight loss. Which investigation is first line to confirm the likely diagnosis?

Choose one answer, then submit
← Rapid synopsisBack to overviewAll Paediatrics and child health topics →
Sources and review status3 sources · checked 27 Aug 2026 · clinical review pending+
Sources

Sources and review status

National guidance is shown before implementation-dependent detail. Apply principles in context and verify current guidance when a decision affects care. Source check completed 27 Aug 2026; clinical approval remains outstanding.

  • NICE NG1 Reflux RecommendationsVomiting red flags including bile and progressive projectile vomiting.
  • GOSH Pyloric Stenosis InformationPresentation, ultrasound, fluid correction and pyloromyotomy.
  • GOSH Malrotation InformationBilious vomiting, volvulus and Ladd surgery.

Editorial contact: Doctor’s Passport editorial team. Source-check date is separate from clinical approval. Report a content problem · Content changes

Authoring stateComplete draftClinical stateAwaiting reviewJurisdictionUnited Kingdom

Pyloromyotomy divides hypertrophied muscle after correction of physiology. Small postoperative vomits can occur initially, but persistent bile, worsening distension or systemic decline needs reassessment. Malrotation is treated by urgent Ladd procedure with untwisting, division of bands and assessment of bowel viability; necrotic bowel may need staged resection to preserve length.

Explain the different logic clearly to families: projectile describes force, while bilious describes location relative to bile entry. Either can coexist with dehydration, but only bile makes distal obstruction the immediate concern. Give feeding and wound plans after surgery and monitor weight. Reassess siblings or future symptoms clinically; neither diagnosis should be inferred from ordinary posseting.

Key points

  • Clarify colour and force: pyloric stenosis causes progressive projectile non-bilious milk vomiting; malrotation or distal obstruction causes dark-green bilious vomiting.
  • Pyloric stenosis usually presents around 2 to 8 weeks with hunger after vomiting, poor weight gain, reduced urine and sometimes visible gastric peristalsis or an epigastric olive.
  • First-line test for suspected pyloric stenosis is expert ultrasound; repeat or specialist review is appropriate when early measurements are equivocal but the clinical trajectory persists.
  • Check glucose, blood gas, sodium, potassium, chloride, bicarbonate, urea and creatinine; hypochloraemic hypokalaemic alkalosis supports prolonged gastric loss.
  • Pyloric stenosis is a medical stabilisation before surgical correction: stop feeds, rehydrate and correct chloride and potassium before pyloromyotomy.
  • Bilious vomiting is a paediatric surgical emergency: nil by mouth, nasogastric decompression, IV fluids and immediate surgical contact.
  • For a stable child with suspected malrotation, an upper gastrointestinal contrast study is the reference anatomical test in many UK pathways; ultrasound may help but must not delay surgery in an unstable child.
  • Do not diagnose reflux, feed intolerance or gastroenteritis from vomiting alone when bile, distension, blood, shock or focal abdominal signs are present.
  • Fever, altered consciousness, bulging fontanelle or abnormal neurological examination broadens vomiting to sepsis or intracranial disease.
  • A normal abdominal radiograph or initial ultrasound cannot safely exclude malrotation when bilious vomiting persists.
  • 3Use urgent upper-GI contrast or the local reference pathway if stable; do not let imaging delay surgery for shock or peritonism.
  • 03After treatmentConfirm recovery and feedingPyloromyotomy or Ladd procedure is complete.+
    1. 1Monitor pain, hydration, glucose, electrolytes, wound and abdominal findings.
    2. 2Restart feeds through the surgical protocol and distinguish small expected emesis from recurrent bile or obstruction.
    3. 3Track weight gain and provide urgent return advice for green vomit, distension, fever or poor urine.