Health Library Logo

Health Library

What is Pyloric Stenosis? Symptoms, Causes, & Treatment

Created at:10/10/2025

Question on this topic? Get an instant answer from August.

Pyloric stenosis is a condition where the muscle around the opening between the stomach and small intestine becomes too thick. This thickened muscle blocks food from moving normally through your baby's digestive system.

Think of it like a doorway that's become too narrow for things to pass through easily. When this happens, milk or formula can't flow from the stomach into the small intestine, causing your baby to vomit forcefully after feeding.

What is Pyloric Stenosis?

Pyloric stenosis affects the pylorus, which is the valve-like opening at the bottom of the stomach. In babies with this condition, the muscle surrounding this opening grows abnormally thick and tight.

This thickening creates a narrow passage that prevents food from moving forward into the small intestine. As a result, milk or formula builds up in the stomach and gets forcefully expelled through vomiting.

The condition typically develops in the first few weeks of life, most commonly between 3 to 5 weeks of age. It affects about 2 to 3 out of every 1,000 babies, making it relatively uncommon but not extremely rare.

What are the Symptoms of Pyloric Stenosis?

The main symptom you'll notice is projectile vomiting that becomes progressively worse over time. This isn't the typical spit-up that many babies have after feeding.

Here are the key signs to watch for in your baby:

  • Forceful vomiting that shoots several feet away from your baby
  • Vomiting that happens 15 to 30 minutes after every feeding
  • Constant hunger even after vomiting
  • Weight loss or failure to gain weight normally
  • Fewer wet diapers than usual
  • Fussiness and irritability, especially around feeding time
  • Small, hard stools or constipation

You might also notice that your baby seems constantly hungry and eager to feed again right after vomiting. This happens because the food never reaches the small intestine where nutrients get absorbed.

In some cases, you may be able to feel a small, olive-shaped lump in your baby's upper abdomen. This is the thickened pyloric muscle, though it's not always easy to detect.

What Causes Pyloric Stenosis?

The exact cause of pyloric stenosis isn't fully understood, but doctors believe it develops from a combination of genetic and environmental factors. The muscle around the pylorus simply grows thicker than normal during the first weeks of life.

Several factors may contribute to this condition developing:

  • Family history of pyloric stenosis increases the risk
  • Being male (boys are 4 times more likely to develop it)
  • Being firstborn
  • Premature birth
  • Bottle feeding rather than breastfeeding
  • Taking certain antibiotics during pregnancy

It's important to understand that nothing you did or didn't do during pregnancy caused this condition. It's a developmental issue that occurs as your baby's digestive system continues forming after birth.

Some research suggests that babies exposed to certain antibiotics either in the womb or shortly after birth may have a slightly higher risk. However, this connection isn't completely proven.

When to See a Doctor for Pyloric Stenosis?

You should contact your pediatrician immediately if your baby starts having forceful, projectile vomiting after feedings. This type of vomiting is different from normal baby spit-up and requires prompt medical attention.

Don't wait if you notice these warning signs:

  • Vomiting that shoots out with force rather than gentle dribbling
  • Your baby isn't gaining weight or is losing weight
  • Fewer than 6 wet diapers in 24 hours
  • Signs of dehydration like dry mouth, sunken eyes, or lethargy
  • Your baby seems constantly hungry despite frequent feeding attempts

Early diagnosis and treatment are crucial because untreated pyloric stenosis can lead to serious dehydration and nutritional problems. Your baby's body needs proper nutrition to grow and develop normally.

Trust your instincts as a parent. If something seems wrong with your baby's feeding patterns or if the vomiting seems more severe than typical infant reflux, it's always better to have it checked out.

What are the Risk Factors for Pyloric Stenosis?

Certain factors make some babies more likely to develop pyloric stenosis than others. Understanding these risk factors can help you know what to watch for, though having risk factors doesn't mean your baby will definitely develop the condition.

The most significant risk factors include:

  • Being male (affects boys 4 times more often than girls)
  • Having a parent or sibling who had pyloric stenosis
  • Being the firstborn child
  • Being born prematurely
  • Being of Northern European or Caucasian descent
  • Formula feeding rather than breastfeeding

Some studies also suggest that maternal smoking during pregnancy and taking certain medications might slightly increase the risk. However, these connections are still being researched.

Even if your baby has several risk factors, remember that pyloric stenosis is still relatively uncommon. Most babies with these risk factors never develop the condition.

What are the Possible Complications of Pyloric Stenosis?

When pyloric stenosis isn't treated promptly, it can lead to several serious complications that affect your baby's health and development. The good news is that with proper medical care, these complications are completely preventable.

The main complications you should be aware of include:

  • Dehydration from repeated vomiting and inability to keep fluids down
  • Electrolyte imbalances that can affect heart rhythm and muscle function
  • Failure to thrive due to inadequate nutrition absorption
  • Gastric distension where the stomach becomes abnormally stretched
  • Aspiration pneumonia if vomited milk enters the lungs

Dehydration is often the most immediate concern because babies lose fluids rapidly through vomiting. Signs include fewer wet diapers, dry mouth, sunken eyes, and unusual sleepiness or fussiness.

The electrolyte imbalances can be particularly concerning because they affect how your baby's muscles and nerves function. This is why doctors often need to correct these imbalances with IV fluids before surgery.

How is Pyloric Stenosis Diagnosed?

Your doctor will start by asking detailed questions about your baby's feeding patterns and vomiting episodes. They'll want to know when the vomiting started, how forceful it is, and whether your baby seems hungry afterward.

During the physical examination, your doctor will gently feel your baby's abdomen while they're calm and relaxed. Sometimes they can detect the thickened pyloric muscle, which feels like a small olive-shaped lump.

If the diagnosis isn't clear from the physical exam, your doctor may order imaging tests:

  • Ultrasound of the abdomen to measure the pyloric muscle thickness
  • Upper GI series where your baby drinks a contrast solution that shows up on X-rays
  • Blood tests to check for dehydration and electrolyte imbalances

The ultrasound is usually the preferred test because it's safe, painless, and very accurate at showing the thickened muscle. The technician will apply gel to your baby's belly and use a special wand to create images.

Blood tests help your medical team understand if your baby has become dehydrated or developed any chemical imbalances that need correction before treatment.

What is the Treatment for Pyloric Stenosis?

The treatment for pyloric stenosis is a surgical procedure called pyloromyotomy. This surgery is highly successful and permanently fixes the problem by cutting through the thickened muscle fibers.

Before surgery, your medical team will first address any dehydration or electrolyte imbalances your baby may have developed. They'll give IV fluids to restore proper hydration and chemical balance.

The surgical procedure itself involves these steps:

  1. Your baby receives general anesthesia to sleep comfortably during surgery
  2. The surgeon makes a small incision in the abdomen or uses minimally invasive laparoscopic techniques
  3. The outer muscle fibers of the pylorus are carefully cut to widen the opening
  4. The inner lining remains intact, so there's no leakage
  5. The incision is closed with dissolvable stitches

The surgery typically takes about 30 to 60 minutes, and most babies can start feeding again within 6 to 12 hours afterward. You'll likely stay in the hospital for 1 to 2 days to make sure your baby is feeding well.

Recovery is usually very smooth, and the success rate is nearly 100%. Once the muscle is cut, it can't grow back together, so the problem is permanently solved.

How to Provide Home Care After Treatment?

After your baby comes home from surgery, you'll need to watch for signs of proper healing and make sure feeding goes smoothly. Most babies recover quickly and return to normal feeding patterns within a few days.

Here's what you can do to support your baby's recovery:

  • Start with smaller, more frequent feedings as your doctor recommends
  • Keep the incision site clean and dry during diaper changes
  • Watch for signs of infection like redness, swelling, or unusual drainage
  • Give pain medication exactly as prescribed
  • Avoid lifting your baby under the arms for the first week
  • Contact your doctor if vomiting returns or feeding problems persist

It's normal for your baby to have some mild discomfort for the first few days, but this should improve quickly. You might notice some small amount of spit-up initially, which is different from the forceful vomiting that occurred before surgery.

Most babies can return to their normal activities within a week or two. The incision will heal completely within a few weeks, leaving only a small scar that often becomes barely visible over time.

How Should You Prepare for Your Doctor Appointment?

Preparing well for your appointment helps your doctor make an accurate diagnosis quickly. Keep detailed notes about your baby's symptoms, especially the vomiting patterns and feeding behaviors.

Before your visit, gather this important information:

  • When the vomiting started and how it has changed over time
  • Whether the vomiting happens after every feeding or just some
  • How forceful the vomiting is and how far it travels
  • Your baby's current weight and recent weight changes
  • How many wet diapers your baby has had in the last 24 hours
  • Any family history of pyloric stenosis

Try to bring your baby to the appointment when they're as calm as possible, ideally before a feeding time. This makes the physical examination easier and more comfortable for everyone.

Write down any questions you have beforehand so you don't forget to ask them. It's also helpful to bring a support person with you who can help remember the information discussed.

What's the Key Takeaway About Pyloric Stenosis?

Pyloric stenosis is a treatable condition that, while concerning for parents, has an excellent outcome when diagnosed and treated promptly. The key is recognizing the symptoms early and seeking medical attention.

Remember that projectile vomiting in a baby who seems constantly hungry is not normal and requires immediate medical evaluation. Trust your parental instincts if something seems wrong with your baby's feeding patterns.

The surgery to fix pyloric stenosis is highly successful, with nearly 100% success rates and minimal complications. Most babies recover quickly and go on to feed and grow normally without any long-term effects.

While this diagnosis can feel overwhelming, know that thousands of babies undergo this surgery each year with excellent results. Your medical team has extensive experience treating this condition and will guide you through every step of the process.

Frequently asked questions about Pyloric Stenosis

No, pyloric stenosis cannot resolve on its own and always requires surgical treatment. The thickened muscle will not return to normal size naturally, and the condition will worsen without intervention. While this might sound scary, the surgery is very safe and highly effective, with excellent long-term outcomes for babies.

The vast majority of babies have no long-term effects after pyloric stenosis surgery and grow up to be completely healthy children and adults. Once the surgery is complete, the digestive system functions normally, and there are typically no dietary restrictions or ongoing medical concerns. Your baby should be able to eat, play, and develop just like any other child.

Yes, breastfeeding is not only safe but often encouraged after pyloric stenosis surgery. Many babies can return to breastfeeding within hours of the procedure, though your doctor may recommend starting with small, frequent feeds initially. Breast milk is actually ideal during recovery because it's easy to digest and provides important nutrients and antibodies that support healing.

Once treated with surgery, pyloric stenosis cannot recur in the same child because the muscle is permanently altered and cannot grow back together. However, if you have more children in the future, there is a slightly increased risk that they could develop pyloric stenosis, especially if there's a family history of the condition. This doesn't mean it will definitely happen, just that you should be aware of the symptoms to watch for.

Most babies recover remarkably quickly from pyloric stenosis surgery. They often start feeding again within 6 to 12 hours after the procedure and can usually go home within 1 to 2 days. Full recovery at home typically takes about 1 to 2 weeks, during which time your baby will gradually return to normal feeding patterns and activity levels. The incision heals within a few weeks, and most babies are back to their happy, healthy selves very quickly.

Health Companion

trusted by

6Mpeople

Get clear medical guidance
on symptoms, medications, and lab reports.