Pyloric stenosis is a condition in young babies in which the muscle at the outlet of the stomach thickens, blocking food from passing into the intestine.
It usually appears between two and eight weeks of age and causes forceful, projectile vomiting after feeds. Babies remain hungry but lose weight and become dehydrated. A short operation cures it completely. This guide explains the signs, diagnosis, treatment and recovery.

Imagine a five-week-old boy who has started vomiting after every feed. It is not the usual small spit-ups; milk shoots across the room. He is desperate to feed again straight away, but he has fewer wet nappies and seems sleepy. His parents have changed formula twice. A nurse at the baby clinic sees him vomit forcefully, checks his weight and finds he has lost weight. She sends him to hospital, where an ultrasound confirms pyloric stenosis. After a short operation, he feeds happily and gains weight within days.
What is pyloric stenosis?
The pylorus is a ring of muscle at the lower end of the stomach that controls the passage of food into the small intestine. In pyloric stenosis, this muscle becomes abnormally thick, narrowing the opening so that milk cannot pass easily.
As the stomach contracts strongly to push food through, it forcefully ejects the milk upward instead, causing projectile vomiting. The baby loses fluids, salts and acid from the stomach, leading to dehydration and a chemical imbalance called metabolic alkalosis.
Pyloric stenosis affects about 2 to 3 in every 1,000 babies. It is about four times more common in boys, especially first-born boys, and it can run in families.
10 key facts about pyloric stenosis
- Pyloric stenosis is thickening of the stomach outlet muscle.
- It usually appears at two to eight weeks of age.
- Projectile vomiting after feeds is the key sign.
- The vomit does not contain green bile.
- Babies remain hungry after vomiting.
- Weight loss and dehydration can develop quickly.
- Boys, especially first-borns, are more often affected.
- Ultrasound confirms the diagnosis.
- Dehydration and salt imbalance are corrected before surgery.
- A short operation (pyloromyotomy) cures the condition.
Causes and risk factors of pyloric stenosis
The exact cause is unknown. Factors linked with higher risk include:
- Male sex
- First-born child
- Family history, especially if the mother had it
- Some antibiotics, such as erythromycin, in the first weeks of life
- Bottle feeding, in some studies
- Smoking during pregnancy
- Premature birth
It is not caused by the type of formula or by parents’ feeding technique.
Symptoms of pyloric stenosis
Symptoms usually begin gradually and become stronger over days.
- Forceful, projectile vomiting soon after feeds
- Vomit that does not contain green bile
- Hunger soon after vomiting
- Fewer wet nappies
- Constipation
- Weight loss or poor weight gain
- Lethargy and sleepiness
- Visible wave-like movements across the belly after feeds
- A small olive-sized lump in the upper belly
Green vomit is not typical of pyloric stenosis and may signal another emergency, so it needs urgent care.
How pyloric stenosis is diagnosed
A healthcare provider examines the baby, sometimes feeling for the olive-shaped lump during a feed.
Ultrasound measures the thickness and length of the pyloric muscle.
Blood tests check salts, acid levels and hydration.
Weight is compared with previous measurements.
Other causes of vomiting are considered.
Treatment of pyloric stenosis
The first step is to correct dehydration and salt imbalance with fluids through a drip, which may take a day or more.
Feeds are usually stopped and a tube may be placed to empty the stomach.
Pyloromyotomy, a short operation that splits the thickened muscle, cures the condition.
The operation can be done through a small cut or by keyhole surgery.
Feeding restarts within hours after surgery.
Most babies go home within one to two days.
Complications of pyloric stenosis
Severe dehydration
Salt and acid imbalance
Weight loss
Jaundice
Wound infection after surgery
Incomplete muscle split, rarely
Outlook for people with pyloric stenosis
The outlook is excellent. After surgery, babies usually feed and grow normally, with no long-term effects.
Some babies vomit a little in the first days after surgery, which usually settles.
Can pyloric stenosis be prevented?
There is no known way to prevent pyloric stenosis.
Recognising signs early prevents severe dehydration.
Living with pyloric stenosis
Feed as advised after surgery, often building up gradually.
Keep the wound clean and dry.
Watch for redness, swelling or discharge from the wound.
Track wet nappies and weight.
Attend follow-up.
How families and communities can help
Parents may feel they caused the vomiting through feeding; they did not.
Families with a history can tell their nurse after future births so signs are noticed early.
Research and new developments in pyloric stenosis
Research is exploring genetic and environmental causes.
Keyhole and open surgery are being compared in studies, with both showing excellent outcomes.
pyloric stenosis around the world
Pyloric stenosis occurs worldwide. In low-resource settings, delayed diagnosis can lead to severe dehydration and malnutrition before surgery.
Access to paediatric surgery and ultrasound is improving outcomes.
Nursing care for pyloric stenosis
Nurses recognise projectile vomiting, monitor dehydration and care for babies before and after surgery.
- Weigh babies and track trends.
- Observe feeds and vomiting patterns.
- Monitor wet nappies and signs of dehydration.
- Manage intravenous fluids and blood tests.
- Support feeding after surgery.
- Reassure and educate parents.
Myths and facts about pyloric stenosis
Myth: Changing formula will fix it.
Fact: It is caused by a thickened muscle, not formula.
Myth: All vomiting in babies is reflux.
Fact: Projectile vomiting needs checking.
Myth: Surgery is dangerous for such small babies.
Fact: Pyloromyotomy is a safe, common operation.
Myth: Parents caused it by overfeeding.
Fact: Overfeeding does not cause pyloric stenosis.
Frequently asked questions about pyloric stenosis
How is it different from reflux?
Reflux is small, effortless spit-ups; pyloric stenosis causes forceful vomiting.
How long is the operation?
Usually less than an hour.
Can breastfeeding continue?
Yes, after surgery.
Will my baby need more surgery?
Rarely.
Can girls get it?
Yes, but less often.
Is there a scar?
Small, and it fades over time.
Will it affect growth?
No, babies grow normally afterwards.
Checking wet nappies is one of the simplest ways for parents to monitor hydration. Young babies usually have at least six wet nappies a day. Fewer than four, dark yellow urine, a dry mouth, no tears when crying, a sunken soft spot on the head and unusual sleepiness are signs of dehydration that need prompt care. Keeping a simple record of feeds, vomits and nappies can help health workers quickly see the pattern.
Before surgery, babies may seem calmer once the drip is running and the stomach is emptied, because their discomfort eases. This is a good time for parents to rest and ask questions. The operation is usually scheduled once blood tests show that salts and acid levels are safe, because correcting these first makes anaesthesia much safer.
After the operation, feeds often start with small amounts of milk at regular intervals and are increased over a day. Breastfed babies usually return to normal feeding quickly. A little vomiting in the first 24 hours is common. Pain is usually well controlled with simple pain relief, and most parents notice their baby is more settled within days.
Every person’s experience of pyloric stenosis is different. What matters most is getting an accurate diagnosis, following the treatment plan agreed with your care team and returning promptly if anything changes. Small, consistent steps often make the biggest difference over time.
Health workers, families, schools and communities each have a part to play in reducing the impact of pyloric stenosis, from early recognition and prompt treatment to long-term support and the fight against stigma.
Keeping a simple written record of symptoms, appointments, medicines and test results can make each visit more useful and help everyone involved in your care stay on the same page.
If you are caring for someone with pyloric stenosis, remember to look after your own health and rest too, and ask for help from others when you need it.
Reflux and this condition are often confused. Reflux usually starts in the first weeks, causes small, effortless spit-ups after feeds, and babies generally keep gaining weight. It often improves by around six to twelve months. Projectile vomiting that gets stronger over days, with hunger, weight loss and fewer wet nappies, points to the stomach outlet being blocked and needs urgent assessment rather than formula changes or reflux medicines.
Wound care at home is straightforward. Keeping the area clean and dry, folding nappies below the wound and watching for redness, swelling, discharge or fever is usually all that is needed. Small dressings or skin glue often fall off on their own within a week or two, and bathing can usually resume once the team gives the go-ahead.
When to seek help
- Projectile vomiting after feeds
- Fewer than four wet nappies a day
- Sunken soft spot or dry mouth
- Sleepy, floppy baby
- Green vomit
Key takeaways about pyloric stenosis
- Pyloric stenosis is thickening of the stomach outlet muscle.
- The vomit does not contain green bile.
- Weight loss and dehydration can develop quickly.
- Boys, especially first-borns, are more often affected.
- Dehydration and salt imbalance are corrected before surgery.
- A short operation (pyloromyotomy) cures the condition.
Looking after your emotional wellbeing with pyloric stenosis
Any long or worrying illness can affect mood, sleep, relationships and confidence. Feeling anxious, low, angry or isolated after a diagnosis of pyloric stenosis is common and understandable. Talking openly with family, friends, faith leaders or a support group can ease the load, and so can learning as much as you can about what to expect.
If low mood, hopelessness or worry last for more than two weeks, or if you have thoughts of harming yourself, tell your nurse or healthcare provider straight away. Emotional health is part of physical recovery, and support is available.
How to prepare for an appointment about pyloric stenosis
Before you see a nurse or healthcare provider about pyloric stenosis, write down your symptoms, when they started and anything that makes them better or worse. Bring a list of all medicines, including herbal and traditional remedies, and any previous test results or clinic cards. If possible, bring a family member or friend to help you remember what is said.
During the appointment, ask the provider to explain anything you do not understand, and repeat the plan back in your own words. Before you leave, make sure you know what to do if symptoms get worse, when to return and who to contact with questions.
If cost, distance or work makes it hard to attend appointments, tell your nurse. Ask whether free or subsidised services, transport support, community health workers or phone follow-up are available for pyloric stenosis in your area, so that practical problems do not stop you getting the care you need.
Finding reliable information about pyloric stenosis
Health information online varies widely in quality. When reading about pyloric stenosis, prefer sources such as the World Health Organization, national health ministries, public health agencies, university hospitals and registered professional bodies. Be cautious with social media posts, miracle cures and products sold with promises that sound too good to be true.
If you read something that worries you or contradicts the advice you have been given, write it down and discuss it with your nurse or healthcare provider. They can explain how it applies to your own situation and help you separate evidence from rumour.
Questions to ask your nurse or healthcare provider about pyloric stenosis
- Is this pyloric stenosis or reflux?
- Does my baby need an ultrasound?
- How long before surgery?
- How will feeding restart?
- How should I care for the wound?
- When should we come back?
But babies vomit all the time. How do I know if it’s serious?
Small spit-ups are normal. Forceful vomiting that shoots out after every feed, with weight loss or fewer wet nappies, is not. A quick check by a nurse can tell the difference.
Your next step: If your young baby is vomiting forcefully after every feed or has fewer wet nappies, take them to a clinic today.
Related: Intussusception · Hirschsprung disease · Clubfoot
Sources: StatPearls (NCBI Bookshelf): pyloric stenosis; NHS: pyloric stenosis.



Leave a Reply