This is a condition where the opening from your stomach to your small intestine (the pylorus) gets squeezed shut, usually in babies. This makes it hard for food to pass through.
Every report comes from a Lived member, sent anonymously.
Have you had Pyloromyotomy for Pyloric Stenosis?
Pyloric stenosis is a narrowing of the pylorus, the muscular valve where the stomach empties into the small intestine. In babies, the muscle around this opening gradually thickens in the first weeks of life until milk can no longer pass through easily. The stomach keeps filling, contracts harder and harder, and eventually forces its contents back up. The result is forceful, projectile vomiting after feeds, usually beginning around 3 to 5 weeks of age. The vomit is milk or curdled milk, not green, and the baby is typically hungry again soon afterward. Because little food reaches the intestine, babies stop gaining weight, have fewer dirty diapers and can become dehydrated. Pyloric stenosis is very treatable, but it does need medical care rather than waiting it out. This page describes the infant form, often called infantile hypertrophic pyloric stenosis. Narrowing of the stomach outlet in older children and adults is a different problem with different causes, such as scarring from ulcers.
Babies are not thought to be born with pyloric stenosis; the thickening develops after birth, and why it happens is still not fully understood. It affects roughly 3 in 1,000 babies in the United States and is about four times more common in boys, particularly firstborn boys. It also runs in families: a baby whose parent had pyloric stenosis has a noticeably higher chance of developing it. Other factors linked to higher risk include premature birth, bottle feeding, delivery by cesarean section and smoking during pregnancy. Erythromycin, an antibiotic, given in the first couple of weeks of life has also been associated with pyloric stenosis. Doctors weigh this risk when choosing an antibiotic for a very young baby, for example preferring azithromycin for whooping cough in the first month of life. These are associations rather than causes, and nothing a parent did or could have done is known to prevent the condition.
Doctors start with the feeding history: when the vomiting began, how forceful it is, what it looks like and whether the baby is gaining weight. On examination they look for signs of dehydration and may feel a firm, movable lump about the size of an olive in the upper belly, which is the thickened muscle. They may also see ripples moving across the belly after a feed as the stomach strains against the blockage. Many babies are now diagnosed before the lump can be felt. An abdominal ultrasound usually confirms the diagnosis. It is painless, uses no radiation and measures the pyloric muscle directly. A wall thickness of about 3 millimeters or more points strongly to pyloric stenosis. If ultrasound is unclear, a barium swallow (X-rays of the stomach and upper intestine taken after the baby swallows a chalky liquid called barium) can show the narrowed outlet. Blood tests are also important. Repeated vomiting of stomach acid drains the body of fluid and of salts such as chloride and potassium, and these levels guide how the baby is prepared for surgery. Doctors also consider look-alikes, such as reflux (frequent spitting up without forceful vomiting), milk protein allergy and stomach infections, which usually bring diarrhea.
Treatment has two steps. First, the baby is admitted to the hospital and given fluids through a vein (IV fluids) to correct dehydration and rebalance the body's salts. This often takes about a day. Surgery waits until blood tests are back in a safe range, because anesthesia is riskier while those levels are off. The operation itself is not usually an emergency once the baby is being cared for in the hospital. The second step is an operation called a pyloromyotomy. The surgeon cuts through the thickened outer muscle along its length and spreads it apart, leaving the inner lining intact, so the channel opens and food can pass. It can be done through one small incision (open surgery) or with a camera and small instruments through tiny cuts near the belly button (laparoscopic surgery). Both approaches work well. Studies comparing them suggest laparoscopy may carry a slightly higher chance of an accidental hole in the stomach lining or of not cutting the muscle far enough, while differences in recovery time are uncertain. The surgeon's experience with either approach matters. For the small number of babies who cannot safely have surgery, doctors may try tube feeding past the stomach or a medicine that relaxes the pyloric muscle, but surgery remains the standard treatment.
Recovery is usually quick. Feeding typically restarts within a few hours of surgery, beginning with small amounts and building up. Many babies still spit up or vomit small amounts for a day or two while swelling settles, and this usually fades without further treatment. Most babies go home within 24 to 48 hours once they are feeding well, and breastfeeding can continue, with the hospital helping parents pump in the meantime. At home, the incision needs to be kept clean and dry, and tub baths are usually avoided for about a week or until the surgeon says otherwise. Follow-up visits check that the wound is healing and that the baby is feeding well and gaining weight. The long-term outlook is excellent. Once the muscle is opened, babies do not need a special feeding schedule, and the surgery has no known lasting effects on digestion or growth. Pyloric stenosis rarely comes back, in fewer than 1 in 100 babies. Vomiting that continues for weeks after surgery usually points to another cause, such as reflux, and is worth raising with the care team.
Call your baby's doctor the same day if your baby has forceful or projectile vomiting after feeds, vomiting that is getting more frequent, or is not gaining weight or is losing weight. Pyloric stenosis worsens over days, so it is better assessed early. Your baby needs to be seen promptly, today, if there are signs of dehydration: more than 4 to 6 hours without a wet diaper, a sunken soft spot on the head, sunken eyes, or being unusually sleepy. Get emergency care right away if your baby is hard to wake, floppy or unresponsive, which can mean severe dehydration. Green or yellow-green vomit also needs emergency care right away: it is not typical of pyloric stenosis and can mean the intestine itself is twisted or blocked. After surgery, contact the surgeon or pediatrician if your baby vomits after every feed or has large vomits more than twice a day, has a fever, or has redness, swelling or bad-smelling drainage at the incision.
Last reviewed • Oct 2026
Educational content, not medical advice.
Share what living with Pyloric Stenosis is like, what's helped you, or ask the community a question.