Pyloric Stenosis
General and Gastrointestinal Surgery › Pyloric stenosis
Medically reviewed by Dr. Koushik Herle, MCh, DNB (Paediatric Surgery), Consultant Pediatric Surgeon and Pediatric Urologist, on 31 October 2026
Newborns often spit up a little milk. But your baby, a few weeks old, now vomits forcefully, and the milk shoots across the room or out of the mouth and nose. Straight after, the baby is hungry again. The ultrasound report says pyloric stenosis. What happens now?
Pyloric stenosis is a thickening of the muscle at the exit of the stomach, which blocks milk from passing into the bowel. It cannot be treated with formula changes or medicines. An operation called pyloromyotomy fixes it, and recovery is usually quick.
Key points for parents
Green vomiting is an emergency. Do not wait. Green or yellow-green vomit can mean a blocked or twisted bowel, which is a different problem (see malrotation and volvulus). Take your baby to a hospital with a pediatric surgeon at once. Also seek care promptly if your baby is sleepy, has very few wet nappies or has a sunken soft spot on the head.
The stomach connects to the small bowel through a ring of muscle called the pylorus. It works like a gate that opens to let milk pass. In pyloric stenosis, this muscle grows thick in the first weeks of life, and the gate stays nearly shut. Milk collects in the stomach until the stomach pumps it back up.
The exact cause is not known. It is more common in boys and in first-born babies, and it sometimes runs in families. It is not caused by anything you fed your baby or did.
As this repeats, the baby loses fluid and stomach acid. This leads to dehydration and a salt imbalance (low chloride and low potassium, with the blood becoming too alkaline). These need to be corrected before surgery.
Yes, in almost all cases. Pyloric stenosis in infants is treated by surgery, which is the standard treatment and is very effective. Medical treatment has been tried in some places, but it takes longer and is less reliable, and it is not routinely used.
Pyloric stenosis is urgent, but the operation is not done straight away. The baby first gets fluids through a drip to correct dehydration and the salt balance. A small tube may be placed to drain the stomach. This may take 24 to 48 hours, and it is what makes anaesthesia and surgery safe.
Pediatric surgeons decide the timing by the blood test results, not the clock. Once the salts are back to normal and the baby is well hydrated, the operation goes ahead.
The operation is called the Ramstedt pyloromyotomy, after the German surgeon Conrad Ramstedt, who described it in 1911. Under general anaesthesia, the thickened muscle is split along its length, down to the inner lining, so the outlet opens up. The stomach lining itself is not cut. According to the usual account, Ramstedt began a longer operation, found that splitting the muscle alone was enough, and left out the rest.
The operation usually takes under an hour. Our page on keyhole surgery in children explains more.
| When | What to expect |
|---|---|
| About 6 to 8 hours after surgery | Small volumes of clear saline feeds. |
| About 12 to 16 hours | Small volumes of breast milk or formula. |
| About 24 hours | Most babies are back to full feeds. If the bowel is slow to settle (a mild, short-lived ileus), this can take a little longer. |
| Going home | Most babies go home within 24 to 48 hours, once feeding well. |
Plans differ between hospitals and babies, and the team explains the schedule for your baby. A little spitting up for a day or two after surgery is common as the stomach settles.
| When | What to expect |
|---|---|
| Days 1 to 2 | A little vomiting is common and usually settles. Feed as advised. Paracetamol for pain if needed. |
| Days 3 to 7 | Normal feeds. Keep the small wounds clean and dry. Sponge bath until the wounds are sealed. |
| Week 2 | Normal baths. Weight gain should pick up quickly. |
| Follow-up | A wound check and weight review at the clinic. |
Call the surgical team the same day if: your baby vomits green, vomiting becomes forceful again, the tummy swells, there is a fever, or a wound turns red or leaks.
Complications are uncommon. They include wound infection, the muscle not being split fully so that vomiting continues, and very rarely a small tear in the lining of the stomach outlet, which is repaired during the same operation. The surgeon explains these before the operation.
The muscle heals normally and does not affect future eating or growth. Once split, it does not usually thicken again, and there are no long-term diet restrictions. Babies go on to feed and grow normally.
Pyloromyotomy is an operation on a baby only a few weeks old. It needs a surgeon, anaesthetist and nursing team trained in the care of newborns and young infants, including correcting fluids and salts safely beforehand. It belongs to children’s gastrointestinal surgery.
No. Most babies bring up small amounts of milk, called posseting or reflux, and grow well. Pyloric stenosis causes forceful vomiting after most feeds, in a hungry baby who is not gaining weight. See also reflux in children.
Surgery is the standard treatment and is very effective. Medical treatment is slower and less reliable, so it is not routinely used.
Vomiting drains fluid and salts. Operating before these are corrected makes anaesthesia less safe, so fluids come first.
Very rarely. Babies go on to feed and grow normally.
Yes, once fluids and salts have been corrected. Anaesthesia and nursing are planned for the baby’s size and age.
Yes. Breastfeeding usually restarts within hours of surgery.
Consult your pediatric surgeon early to understand your options. Rest assured, most babies feed normally within days of this operation.
Appointments: +91 8217553785
This page is educational information and is not a substitute for individual medical advice. Drafted with AI assistance and medically reviewed by Dr. Koushik Herle.