Pyloric Stenosis
Pyloric stenosis is a treatable cause of forceful vomiting in infants. Learn symptoms, diagnosis, treatment and when to seek care.

Quick answer
Pyloric stenosis is a narrowing of the passage between the stomach and small intestine that blocks food from leaving the stomach, usually causing forceful vomiting and dehydration in infants. Treatment focuses on stabilizing the baby with fluids and correcting salts, followed by a surgical procedure to relieve the blockage; at Acibadem, diagnosis and care are provided by pediatric specialists using…
What is pyloric stenosis?
Pyloric stenosis is a condition in which the pylorus — the muscular valve at the lower end of the stomach that lets food pass into the small intestine — becomes abnormally thickened and narrowed. When this muscle thickens, the opening between the stomach and the intestine becomes too tight for milk or food to pass through normally. As a result, the stomach empties poorly or not at all, and its contents are forced back up, causing forceful vomiting.
The condition described by the medical code Q40.0 is congenital hypertrophic pyloric stenosis, meaning it appears in infancy. Despite the word “congenital,” most babies with pyloric stenosis are not born with obvious symptoms. The muscle usually thickens gradually during the first weeks of life, and signs typically appear between roughly two and eight weeks of age. It is one of the more common surgical conditions of early infancy, and it occurs more often in boys than in girls. Firstborn children appear to be affected somewhat more often, and a family history of the condition increases the chance that a baby will develop it.
Many parents searching for “what is pyloric stenosis” worry that vomiting in a newborn means something is seriously wrong. Occasional spitting up is very common in healthy infants and is usually harmless. Pyloric stenosis is different: the vomiting is typically forceful, becomes more frequent over days, and the baby often remains hungry and eager to feed again immediately afterward. With timely diagnosis and treatment, the outlook for infants with pyloric stenosis is generally very good.
A related but much rarer problem, sometimes called adult hypertrophic pyloric stenosis, can occur later in life, and narrowing of the pylorus in adults can also result from ulcers, scarring, or tumors. This article focuses on the infantile form, which is what most people mean when they use the term.
Symptoms of pyloric stenosis
Pyloric stenosis symptoms usually begin gradually and then worsen as the pyloric muscle continues to thicken. In the early stage, a baby may simply spit up more than usual after feeds, which can look like ordinary reflux. Over days to weeks, the vomiting typically becomes more forceful and more frequent, and the pattern becomes harder to mistake for normal spitting up.
Common signs and symptoms include:
- Projectile vomiting: forceful vomiting that may travel some distance, usually occurring shortly after a feed. The vomit is typically milk or formula and is usually not green (not bile-stained), because the blockage is above the point where bile enters the intestine.
- Persistent hunger: the baby often wants to feed again right after vomiting, because little milk is actually reaching the intestine.
- Weight loss or poor weight gain: as feeds fail to stay down, the baby may stop gaining weight or begin to lose it.
- Fewer wet diapers and fewer stools: signs that the baby is taking in less fluid and nutrition than needed.
- Dehydration: a dry mouth, sunken eyes, a sunken soft spot on the head, sleepiness, or crying with few or no tears.
- Visible stomach waves: in some babies, rippling movements can be seen across the upper belly after feeding, as the stomach muscle works hard to push milk through the narrowed pylorus.
- Irritability: the baby may seem fussy and unsettled, especially around feeds.
How the symptoms look often depends on how long the condition has been present. In the early stage, vomiting may be intermittent and the baby may still appear well between feeds. In the later stage, when the narrowing is more severe, vomiting occurs after most or all feeds, dehydration develops, and the baby may become listless. Repeated vomiting causes the body to lose stomach acid and important salts, which can lead to a chemical imbalance in the blood. This imbalance can make a baby drowsy and unwell and is one of the reasons prompt medical assessment matters.
It is worth repeating the contrast with ordinary infant reflux: reflux tends to be effortless dribbling or small spit-ups, the baby usually keeps gaining weight, and the pattern does not steadily worsen. Vomiting in pyloric stenosis is typically forceful, progressive, and accompanied over time by hunger, weight problems, and signs of dehydration.
Causes and risk factors
The exact cause of pyloric stenosis is not fully understood. What is known is that the circular muscle of the pylorus becomes enlarged (a process called hypertrophy, meaning overgrowth of muscle tissue), which narrows the channel through which stomach contents must pass. Researchers believe the condition develops from a combination of genetic tendencies and environmental influences rather than from any single identifiable cause. Importantly, pyloric stenosis is not caused by anything a parent did or failed to do during pregnancy or in caring for the baby.
Factors that appear to increase the likelihood of pyloric stenosis include:
- Sex: the condition is considerably more common in boys than in girls.
- Family history: babies whose parent or sibling had pyloric stenosis are more likely to develop it, and the risk appears especially notable when the mother was affected.
- Birth order: firstborn infants seem to be affected somewhat more often.
- Certain antibiotics: exposure to some macrolide antibiotics (such as erythromycin) in the first weeks of life has been associated with a higher risk. Use of these antibiotics late in pregnancy or during breastfeeding has also been studied as a possible factor. Parents should never stop a prescribed antibiotic on their own; any concern should be discussed with the prescribing doctor.
- Smoking during pregnancy: maternal smoking has been linked to an increased risk of pyloric stenosis in the infant.
- Prematurity and bottle feeding: some studies suggest these may be associated with a modestly higher risk, though the evidence is less firm.
When people search for “pyloric stenosis causes,” they are often looking for something they can prevent. At present, there is no reliable way to prevent the condition, and having one or more risk factors does not mean a baby will develop it. Equally, many affected babies have no identifiable risk factors at all.
Diagnosis of pyloric stenosis
Pyloric stenosis diagnosis begins with a careful history and physical examination. The doctor will ask about the pattern of vomiting — when it started, how forceful it is, its color, and how it relates to feeds — as well as feeding behavior, wet diapers, stools, and weight changes. During the examination, the doctor checks the baby’s hydration and weight and gently feels the upper abdomen. In some infants, the thickened pylorus can be felt as a small, firm, olive-shaped lump in the upper belly, classically easiest to detect after the baby has vomited or when the stomach is empty and the baby is calm. Doctors may also look for visible waves of stomach contraction across the abdomen after a feed.
To confirm the diagnosis, doctors rely on the following:
- Abdominal ultrasound: this is the standard confirmatory test. Ultrasound is painless, involves no radiation, and allows the examiner to measure the thickness and length of the pyloric muscle. When the muscle is thicker and longer than accepted normal limits for age, and milk is seen failing to pass through the narrowed channel, the diagnosis is confirmed. Your doctor or radiologist will interpret the measurements in the context of the baby’s age and size.
- Blood tests: repeated vomiting of stomach acid can cause a characteristic imbalance of salts and acidity in the blood (often described as hypochloremic, hypokalemic metabolic alkalosis — low chloride, low potassium, and blood that is less acidic than normal). Blood tests identify this imbalance and guide the fluids given to correct it before any operation.
- Upper gastrointestinal contrast study: if the ultrasound findings are unclear, doctors may occasionally order an X-ray study in which the baby swallows a small amount of contrast liquid. In pyloric stenosis, this may show a narrowed, elongated pyloric channel and delayed emptying of the stomach. This test is used less often now that ultrasound is widely available.
Because forceful vomiting in infancy can have other causes — including gastroesophageal reflux, milk protein intolerance, infections, and other structural problems of the intestine — doctors also consider and rule out these possibilities. Green (bile-stained) vomiting is not typical of pyloric stenosis and points toward other conditions that need urgent evaluation in their own right.
Treatment options for pyloric stenosis
Pyloric stenosis treatment is one of the clearest success stories in pediatric surgery, but honesty about the options matters: this is not a condition that resolves with feeding changes, thickened formula, or anti-reflux medicines, and watchful waiting is not an appropriate strategy once the diagnosis is confirmed. Left untreated, the obstruction leads to worsening dehydration, chemical imbalance, and malnutrition.
Stabilization first
Before any operation, the baby is admitted and given fluids through a vein (intravenous fluids) to correct dehydration and restore normal salt and acid balance in the blood. Feeds are usually paused during this time. Correcting the imbalance first makes anesthesia and surgery safer, so the operation is typically scheduled once blood test results have normalized — often within a day or two of admission, depending on how dehydrated the baby was.
Pyloromyotomy — the standard operation
The definitive treatment is a surgical procedure called pyloromyotomy. In this operation, the surgeon cuts through the thickened outer muscle layer of the pylorus, without opening the inner lining of the stomach or intestine. Splitting the tight muscle allows the channel to open, so milk can pass into the intestine normally. The operation can be performed either laparoscopically (through a few very small incisions using a camera, sometimes called keyhole surgery) or through a single small open incision near the navel or upper abdomen. Both approaches are well established; your surgical team will recommend the technique that suits your baby’s situation and the center’s experience.
Most babies can begin feeding again within hours of surgery, starting with small amounts that are gradually increased. Some vomiting in the first day or two after the operation is common and usually settles as the stomach recovers. Many infants go home within a few days. As with any operation, there are risks — including bleeding, infection, an incomplete muscle split (which can occasionally require a second procedure), or a small tear in the intestinal lining that is repaired if recognized — but serious complications are uncommon in experienced hands.
Medication — a limited alternative
In selected situations where surgery is not possible or is declined, doctors in some centers have used a medicine called atropine, given intravenously and then by mouth, to relax the pyloric muscle. This approach requires a prolonged hospital stay, does not work in all infants, and is generally considered less reliable than surgery. It is not the standard of care in most settings, but your medical team can discuss whether it has any role in your baby’s specific circumstances.
Care for infants with pyloric stenosis is usually coordinated between pediatricians and pediatric surgeons. At Acibadem, initial evaluation of infant feeding and vomiting problems is typically managed through the Pediatrics department, with referral to pediatric surgery when a structural problem such as pyloric stenosis is confirmed.
Living with pyloric stenosis and outlook
The long-term outlook after treatment for pyloric stenosis is generally excellent. Pyloromyotomy fixes the underlying mechanical problem, and once the pylorus can open normally, feeding, weight gain, and growth usually return to the expected pattern within a short time. The condition does not typically come back after a successful operation, and most children who had pyloric stenosis in infancy grow up with no digestive problems related to it and no dietary restrictions.
In the first days and weeks after surgery, parents may notice occasional spitting up or mild vomiting as the stomach adjusts; this usually improves on its own. The surgical scars are small and tend to fade considerably as the child grows. Follow-up visits allow the care team to confirm that feeding is going well and that weight gain is back on track.
Honest caveats apply, as with any medical condition. A small number of infants have persistent vomiting after surgery, which may need further assessment to check whether the muscle split was complete or whether another condition, such as reflux, is contributing. Babies who were significantly dehydrated or malnourished before diagnosis may take a little longer to catch up on weight. No outcome can be guaranteed for an individual child, but in many cases parents can reasonably expect a full recovery. Because the condition can run in families, parents who had pyloric stenosis themselves may wish to mention this to their pediatrician when they have children, so that early vomiting can be assessed promptly.
Frequently asked questions
What is pyloric stenosis in simple terms?
Pyloric stenosis is a thickening of the muscle at the outlet of the stomach that blocks milk from passing into the small intestine. Because the stomach cannot empty, the baby vomits forcefully, often shortly after feeding, and remains hungry. It typically appears in the first two months of life and is treated with a short operation that opens the tight muscle.
Can pyloric stenosis heal on its own?
In infants, confirmed pyloric stenosis does not reliably resolve on its own, and waiting is not considered safe because ongoing vomiting leads to dehydration and chemical imbalances. The standard and highly effective treatment is a surgical procedure called pyloromyotomy. Medication has been used in rare, selected cases, but it is less dependable than surgery and is not the usual approach in most centers.
How serious is pyloric stenosis?
Untreated, pyloric stenosis can become serious because persistent vomiting causes dehydration, salt imbalances, and weight loss in a very young infant. However, once it is recognized and treated, the outlook is generally very good. The operation is well established, most babies feed normally soon afterward, and lasting problems are uncommon. The key is timely diagnosis, which is why worsening forceful vomiting in a young baby should always be assessed by a doctor.
How do doctors confirm pyloric stenosis?
Doctors usually confirm the diagnosis with an abdominal ultrasound, a painless scan that measures the thickness and length of the pyloric muscle and shows whether milk can pass through. Blood tests check for the salt and acid imbalances caused by repeated vomiting. Occasionally, a contrast X-ray study of the stomach is used when ultrasound findings are unclear. A careful feeding history and physical examination guide which tests are done.
What are the earliest pyloric stenosis symptoms parents notice?
Early pyloric stenosis symptoms can look like ordinary spitting up, which is why the condition is sometimes missed at first. The pattern that should raise concern is vomiting that becomes progressively more forceful and more frequent over days, a baby who seems hungry right after vomiting, fewer wet diapers, and poor weight gain. The vomit is usually milk-colored rather than green. Any of these changes deserves a medical review.
How long is recovery after pyloric stenosis surgery?
Recovery is usually quick. Many babies start small feeds within hours of the operation and go home within a few days, once they are feeding well and gaining fluid normally. Mild vomiting in the first day or two afterward is common and typically settles on its own. Your surgical team will give specific instructions on feeding, wound care, and follow-up, and timelines can vary from baby to baby.
Will my next baby also get pyloric stenosis?
Having one child with pyloric stenosis, or having had it yourself, does increase the chance that a future child could develop it, because the condition tends to run in families. That said, most siblings of affected babies do not develop it. It is helpful to mention the family history to your pediatrician so that any early vomiting in a new baby can be checked without delay.
When to see a doctor
Contact a doctor promptly if your baby’s vomiting is becoming more forceful or more frequent, if your baby is not gaining weight, or if feeds are consistently not staying down. Trust your instincts: parents are often the first to sense that a pattern of vomiting is not ordinary spitting up.
Seek urgent medical care — the same day, or emergency care if your baby seems very unwell — if you notice any of the following red flags:
- Projectile vomiting after most or all feeds.
- Green (bile-stained) or bloody vomit, which suggests a different problem that needs urgent evaluation.
- Signs of dehydration: fewer wet diapers than usual, dry mouth, crying with few or no tears, sunken eyes, or a sunken soft spot on the head.
- Unusual drowsiness, floppiness, or difficulty waking your baby.
- Weight loss or no weight gain despite frequent feeding.
- A swollen, hard, or very tender belly, or a baby who cries inconsolably.
- Fever in a young infant alongside vomiting.
Vomiting in a baby under three months old should always be taken seriously when it is forceful, persistent, or accompanied by any of the signs above. Early assessment allows doctors to confirm or rule out pyloric stenosis quickly, correct any dehydration, and, when needed, arrange treatment before complications develop.
Medically reviewed by the Acıbadem International Medical Board — September 2, 2026
See our medical review board →
Update history
- PublishedJune 8, 2026
- Medical review approvedSeptember 2, 2026
- Last content updateSeptember 2, 2026





