Babies and children
Pyloric stenosis in babies: symptoms, diagnosis and the operation
Pyloric stenosis is a condition of young babies in which the muscle at the stomach outlet thickens and blocks milk from passing into the bowel. It usually appears at around 3 to 6 weeks of age, with vomiting that gets worse and can become forceful. It is treated with a short operation, a pyloromyotomy, which is usually very successful.
Last checked: 2026-10-11
Key facts
At a glance.
-
What it is
Great Ormond Street Hospital describes pyloric stenosis as a condition where the passage between the stomach and small bowel becomes narrower because the muscle thickens.
-
When it starts
Sheffield Children's says it usually affects babies between 3 and 6 weeks of age, and GOSH says it usually develops around six weeks after birth.
-
How common
Sheffield Children's NHS Foundation Trust says about 1 in 300 babies are affected, more often boys than girls, and it can run in families.
-
Main sign
Vomiting after feeds that gets worse, often becoming projectile (forceful). Babies may still seem hungry after vomiting.
-
Treatment
GOSH says there is no alternative to the operation, called a pyloromyotomy, which usually lasts about 30 minutes.
-
Recovery
Cambridge University Hospitals says babies usually stay one to two days after the operation; Sheffield says discharge is usually 24 to 48 hours.
What is pyloric stenosis?
The pylorus is the muscular passage between the stomach and the first part of the small bowel (the duodenum). In pyloric stenosis the muscle becomes thicker than usual and closes up the inside of the passage. Great Ormond Street Hospital (GOSH) says this stops milk or food passing into the bowel to be digested.
It is a condition of the first months of life. Sheffield Children's describes it as a common condition, about 1 in 300 babies, usually affecting babies between 3 and 6 weeks, more often boys, and sometimes running in families. GOSH says we do not know exactly why it develops.
What are the symptoms of pyloric stenosis?
GOSH says that in most cases a baby begins by bringing up small amounts of milk after feeding. Over a few days this becomes worse until the baby can no longer keep any milk down. The vomiting may become so forceful that milk is projected several feet, which is called projectile vomiting.
Cambridge University Hospitals adds that a baby may want to feed again after vomiting and may not seem unwell at first. GOSH says the vomit can curdle and look yellow because it has been in stomach acid, and fewer dirty nappies are passed because little or no food reaches the bowel.
-
Vomiting after feeds that becomes more frequent and forceful.
-
Being hungry again straight after vomiting.
-
Fewer wet nappies than normal.
-
Lethargy, and a sunken soft spot (fontanelle) on top of the head.
-
Poor weight gain or weight loss.
When to get medical help
GOSH says that if the condition is not treated the baby will become dehydrated and not gain weight, and that the effects of dehydration can become serious quite quickly in children. Signs of dehydration include lethargy, wet nappies less frequently than normal and a sunken fontanelle.
If your baby is repeatedly vomiting forcefully after feeds, seems drowsy or is passing fewer wet nappies, contact your GP or NHS 111 the same day. Go to A&E or call 999 if your baby is very drowsy, floppy or hard to wake.
How is pyloric stenosis diagnosed?
GOSH explains that the thickened muscle can sometimes be felt as a small, hard lump on the right side of the baby's stomach, especially during feeding. The doctor may examine the baby during a feed (a test feed) to watch for vomiting and feel for the lump.
Sheffield Children's says an ultrasound scan may be done to confirm the diagnosis if a lump cannot be felt. Cambridge adds that blood tests are often needed, which also show whether your baby is dehydrated and has lost salts.
How is pyloric stenosis treated?
It is treated with an operation. GOSH says it is usually done under general anaesthetic, lasts about 30 minutes, and is called a pyloromyotomy. Most are done by keyhole surgery (laparoscopically), occasionally by open surgery. The surgeon cuts through some of the thickened muscle so that the passage widens and milk can pass into the bowel.
Before the operation, babies who are dehydrated need fluids through a drip into a vein and blood tests to make sure the balance of salts and minerals is right. Cambridge says the operation only happens once blood tests are normal, which in some cases takes a few days. Your baby will not be allowed to feed meanwhile, and a nasogastric tube is passed through the nose into the stomach to drain its contents.
Risks and recovery after the operation
GOSH says all surgery carries a small risk of bleeding, and there is a rare chance of damage to the lining of the bowel, which would be stitched at the same operation. Sheffield Children's gives figures: in 3 to 5 of every 100 operations the muscle split is too deep and a hole is made in the stomach lining, and in 1 to 2 of every 100 babies the split is not enough, so vomiting continues and a further operation is needed. Infection and bleeding of the wound are also possible. Cambridge lists protrusion of tissue through the wound as rare.
Recovery is quick. Feeding usually restarts about six hours after the operation, in small amounts that are gradually increased (GOSH and Sheffield). Some babies keep vomiting for a few days or weeks, and Cambridge says this settles gradually. GOSH says most operations are successful, with the immediate effect of reducing or stopping vomiting after feeds.
Cambridge says your baby should be weighed weekly for at least six weeks, because weight is lost with the condition, and that most babies regain it within six weeks. A follow-up review is arranged roughly six to eight weeks after discharge.
Caring for your baby at home
GOSH says the tummy may feel sore for a while, loose clothes help, and regular pain relief such as paracetamol is needed for at least three days. Stitches dissolve on their own. Cambridge advises keeping the wound clean and dry, changing nappies as soon as they are wet, and sponge washes rather than baths for five days.
GOSH says to call your GP or the ward if your baby is in a lot of pain that pain relief does not ease, is not keeping fluids down or shows signs of dehydration, has a temperature of 37.5 degrees or higher that paracetamol does not bring down, has a red, hot or oozing wound, or continues to vomit.
Pyloric stenosis compared with other reasons babies vomit
Most baby vomiting is not pyloric stenosis. This table is a guide to the pattern that suggests it. A clinician makes the diagnosis.
| Feature | Pyloric stenosis |
|---|---|
| Age | Usually 3 to 6 weeks of age |
| Vomiting pattern | Gets worse over days, becoming forceful (projectile) after feeds |
| Behaviour | Often hungry again after vomiting; may not seem unwell at first |
| Nappies and weight | Fewer wet nappies, poor weight gain or weight loss |
| Examination | A small hard lump may be felt in the tummy, especially during a feed |
| Treatment | Operation (pyloromyotomy); no alternative |
NHS and private pathways
On the NHS, a baby with suspected pyloric stenosis is usually seen urgently by a GP or at A&E, then transferred to a children's surgical unit. GOSH notes the baby is usually transferred from the local hospital. Because this is an urgent surgical condition in babies, it is almost always managed through NHS paediatric surgical services.
Frequently asked
Questions people ask.
Quick, plain-English answers to the questions we hear most.
-
What causes pyloric stenosis?
It is not known exactly. GOSH says it affects more boys than girls and seems to run in families. The pyloric muscle becomes thicker than usual and narrows the passage out of the stomach.
-
When does pyloric stenosis start?
Sheffield Children's says it usually affects babies between 3 and 6 weeks of age. GOSH says it usually develops around six weeks after birth.
-
What does pyloric stenosis vomiting look like?
GOSH says it begins with small amounts of milk and becomes forceful, projectile vomiting. Cambridge says babies may want to feed again straight after and may not seem unwell at first.
-
How common is pyloric stenosis?
Sheffield Children's says about 1 in 300 babies. It is more common in boys and can run in families.
-
How is pyloric stenosis diagnosed?
A doctor feels for a small hard lump in the tummy, often during a test feed. Sheffield says an ultrasound scan may confirm it, and Cambridge says blood tests are needed.
-
Does pyloric stenosis need surgery?
Yes. GOSH says there are no alternatives to the operation, because dehydration from vomiting can become serious quite quickly in children.
-
How long does the operation take?
GOSH says the pyloromyotomy lasts about 30 minutes under general anaesthetic, and most are done by keyhole surgery.
-
Why does my baby need a drip first?
Cambridge says a drip gives fluids, sugars and salts to correct dehydration, and the operation only goes ahead once blood tests are normal, which can take a few days.
-
Will my baby still vomit after the operation?
Possibly. Cambridge says many babies still vomit for a while after feeding restarts, taking days or weeks to settle, and Sheffield says feeds are introduced more slowly for these babies.
-
What are the risks of surgery?
GOSH says there is a small risk of bleeding and a rare chance of bowel lining damage. Sheffield gives figures of 3 to 5 in 100 for a hole in the stomach lining and 1 to 2 in 100 for an incomplete split.
Where this comes from
Sources and checking.
This guide is for information, not medical advice.
Your GP or consultant knows your history and can tell you which parts apply to you. If your symptoms are severe, rapidly worsening, or come with red-flag features, seek urgent medical care. Figures and availability change, so treat them as a guide and confirm with the provider.
Published 2026-10-11, next review 2027-10-11.
-
Great Ormond Street Hospital: Pyloric stenosis, https://www.gosh.nhs.uk/conditions-and-treatments/conditions-we-treat/pyloric-stenosis/ , retrieved October 2026
-
Cambridge University Hospitals NHS Foundation Trust: Pyloric stenosis, information for parents, https://www.cuh.nhs.uk/patient-information/pyloric-stenosis-information-for-parents/ , retrieved October 2026
-
Sheffield Children's NHS Foundation Trust: Diagnosis and treatment of pyloric stenosis, https://library.sheffieldchildrens.nhs.uk/diagnosis-and-treatment-of-pyloric-stenosis/ , retrieved October 2026
Related guides
Keep reading.
-
Reflux in babies
Common, usually harmless possetting and vomiting.
Read guide -
Dehydration
Signs and treatment of dehydration.
Read guide -
Intussusception
A bowel emergency in babies and young children.
Read guide -
Gastroenteritis in children
Vomiting and diarrhoea in children.
Read guide -
Colic
Excessive crying in young babies.
Read guide -
Congenital anomalies
Conditions present from birth.
Read guide