When a baby poops in the womb during labor, the dark, sticky first stool (called meconium) mixes into the amniotic fluid. This happens in roughly 10 to 15% of term deliveries and up to 27% of post-term pregnancies. In most cases, the baby is fine. The main concern is whether the baby breathes in the stained fluid, which can cause lung problems in a small percentage of affected births.
Why Babies Pass Stool Before Birth
Meconium is a thick, greenish-black substance that builds up in a baby’s intestines throughout pregnancy. It contains swallowed amniotic fluid, shed skin cells, bile, and other materials the baby’s gut has processed over months of development. Most babies pass this stool for the first time after birth, but some release it while still inside the uterus.
The traditional explanation is that fetal distress, specifically low oxygen, triggers the baby’s bowels to release meconium. While that can happen, the picture is more nuanced than it sounds. Animal studies have found that simply reducing oxygen to the fetus doesn’t reliably cause meconium passage. Instead, changes in the baby’s nervous system, particularly shifts in the balance between the “fight or flight” and “rest and digest” nerve signals, appear to play a larger role. The baby’s nervous system can relax the anal sphincter and increase gut movement even without true oxygen deprivation.
The most common reason is simply maturity. As a baby approaches full term, hormones that stimulate gut movement rise sharply. Gut contractions increase with gestational age, which is why meconium in the fluid is rare before 34 weeks but becomes progressively more common as pregnancies go past their due date. In many cases, passing meconium is a sign of a mature digestive system rather than a baby in trouble.
How the Medical Team Detects It
Meconium-stained fluid is usually discovered the moment the membranes rupture, whether that happens naturally or when a provider breaks the water. Instead of the normal clear or slightly yellowish fluid, the liquid comes out tinged green, yellow-brown, or dark green depending on the amount of meconium present. Clinicians describe the staining in grades: grade I is translucent with a light green or yellowish tint, grade II is cloudier with a deeper green or brown color, and grade III is thick, opaque, and dark green, sometimes described as having the consistency of pea soup.
Thin staining is far more common and less concerning. Thick, particulate meconium is the type most closely linked to complications because the heavier material is more likely to block a baby’s airways if inhaled.
Once meconium is spotted, the delivery team pays close attention to the baby’s heart rate on the fetal monitor. A normal heart rate pattern, with a baseline between 110 and 160 beats per minute and healthy variability, is reassuring even when meconium is present. Abnormal patterns, such as repeated late decelerations, prolonged slow heart rate, or minimal variability, raise concern that the baby may be under stress. In one study, abnormal heart tracings were present in 43% of deliveries with meconium-stained fluid compared to about 18% without it. When both meconium staining and abnormal heart patterns occur together, the risk of complications is higher than either factor alone.
The Main Risk: Meconium Aspiration Syndrome
The real danger isn’t the meconium sitting in the fluid. It’s what happens if the baby inhales it deeply into the lungs, either during gasping movements in the womb or with the first breaths after birth. This can lead to meconium aspiration syndrome (MAS), a condition that affects the lungs in three ways.
First, chunks of meconium can physically block airways. A complete blockage causes sections of the lung to collapse. A partial blockage creates a one-way valve effect where air gets in during a breath but can’t escape, overinflating parts of the lung. Second, meconium triggers an intense inflammatory response. It attracts immune cells into the lung tissue within hours, and the chemicals it carries damage the delicate lining of the air sacs. Third, meconium interferes with surfactant, the slippery coating that keeps air sacs open. Fatty acids, cholesterol, and bile acids in meconium break down surfactant, making it harder for the lungs to stay inflated and exchange oxygen efficiently.
The good news is that MAS develops in only about 2 to 7% of babies born through meconium-stained fluid. Of those, roughly a third develop a severe form requiring breathing support with a ventilator or pressurized air. In the overall birth population, severe MAS affects fewer than 1 in 1,000 babies.
What Happens in the Delivery Room
If your water breaks and the fluid is stained with meconium, you’ll likely notice the delivery team calling in additional staff. A neonatal team is typically brought to the room so they’re ready the moment the baby arrives. The approach to the baby depends entirely on how the newborn looks and acts at birth.
If the baby comes out crying, breathing well, and has good muscle tone, the team generally proceeds with normal newborn care. Routine suctioning of the mouth and nose is no longer recommended just because meconium is present. Previous guidelines called for aggressive suctioning of the airway, including inserting a tube into the windpipe to suction out meconium, but this practice was found to offer no benefit for vigorous babies and could cause harm.
If the baby is limp, not breathing, or has a very slow heart rate, the team moves quickly to clear the airway and provide assisted breathing. In these cases, suctioning the mouth and potentially the windpipe may be performed before starting ventilation, though the priority is always getting the baby breathing as quickly as possible. The baby’s response to these initial steps guides everything that follows.
Recovery and Possible Complications
Most babies born through meconium-stained fluid need nothing more than standard monitoring and go home on a normal schedule. Babies who develop mild MAS may need supplemental oxygen for a few days and are typically watched in a special care nursery. More severe cases can require mechanical ventilation, and in rare situations, a treatment that temporarily takes over the work of the lungs while they heal.
For babies who recover from mild MAS, the outlook is excellent, with no lasting lung or developmental effects in most cases. Severe MAS is a different story. A large national study in Taiwan that followed children for at least three years found that those with severe MAS were significantly more likely to need breathing support during later hospital admissions and had more than double the risk of neurodevelopmental problems compared to unaffected infants. Moderate MAS also carried an elevated risk, though less pronounced. These findings underscore why delivery teams take thick meconium seriously, even though the vast majority of cases resolve without long-term consequences.
What Increases or Decreases the Risk
The single biggest risk factor is gestational age. A baby born at 37 weeks is less likely to have passed meconium than one born at 41 or 42 weeks, simply because the gut becomes more active over time. Pregnancies that go past the due date have meconium-stained fluid in roughly one out of every four deliveries.
Other factors that raise the likelihood include any condition that reduces blood flow or oxygen to the baby during labor, such as placental problems, cord compression, or prolonged labor. Infections and certain maternal health conditions can also play a role. On the flip side, preterm babies almost never pass meconium because their digestive systems haven’t matured enough to produce strong gut contractions.
The thickness of the meconium matters more than its mere presence. Thin staining with an otherwise reassuring fetal heart pattern carries a low risk profile. Thick, particulate meconium combined with signs of fetal distress on the heart monitor is the combination that prompts the most urgent response, and may lead to a decision to expedite delivery through emergency cesarean section or assisted vaginal delivery.

