Do Babies Poop and Pee in the Womb?

Understand the complex fetal physiology governing waste: how urine sustains the amniotic fluid and why meconium is usually retained until birth.

Babies do pee in the womb, and they do it a lot. By the end of pregnancy, a fetus produces roughly 500 to 700 milliliters of urine per day. Pooping, on the other hand, is a different story: under normal circumstances, a fetus does not pass stool before birth. The first bowel movement, called meconium, is typically saved for after delivery. When it does happen early, it can be a sign of trouble, which is why the distinction matters far more than it might seem at first glance.

When Fetal Urination Starts and How Much There Is

A developing baby begins urinating surprisingly early. Urine has been observed in the fetal bladder as early as nine weeks via transvaginal ultrasound and around eleven weeks on a standard abdominal scan. At that stage the volume is tiny, but output ramps up steadily. At 20 weeks, the average hourly urine production rate is about 5 milliliters. By 40 weeks, it climbs to roughly 51 milliliters per hour. That adds up to around 500 to 700 milliliters a day at term, which is a remarkable volume for someone who weighs only six or seven pounds.

Despite those large daily totals, the rate does not keep climbing forever. Research looking specifically at the late weeks of pregnancy found no significant change in hourly urine production between 38 and 42 weeks, even after accounting for the baby’s estimated weight. The kidneys appear to plateau in output as the fetus approaches full term.

Interestingly, fetal urination is not a constant trickle. It happens almost exclusively during periods when the fetus is awake. During sleep states, the bladder still fills at a similar rate, but the actual act of emptying it is linked to wakefulness. So even before birth, there is already a connection between sleep cycles and bladder control.

Why All That Urine Is Actually Essential

Fetal urine is not waste being dumped into an inconvenient holding tank. It is the primary source of amniotic fluid from the second trimester onward. Early in pregnancy, amniotic fluid comes partly from water moving across the baby’s thin, permeable skin. But once the skin thickens and becomes waterproof around mid-pregnancy, the fetus contributes to the fluid volume almost entirely through urination.

Amniotic fluid volume depends on a balance between what goes in and what gets reabsorbed. The two main sources are fetal urine and fluid secreted by the fetal lungs. The two main exits are fetal swallowing and a process called intramembranous absorption, where fluid crosses the membranes lining the amniotic sac and enters the fetal bloodstream. Because urine is the largest contributor, anything that disrupts fetal urine production can quickly lead to too little amniotic fluid. Beginning around the 16th week, fetal urination accounts for more than half the total amniotic fluid volume, so a malfunction in urine production can lead rapidly to dangerously low fluid levels.

The composition of fetal urine also seems to play a role in regulating how much fluid stays in the sac. In animal studies, when fetal urine was replaced with a standard salt solution, intramembranous absorption dropped by about 40 percent and amniotic fluid volume doubled. This suggests that something in the urine itself, still unidentified, actively stimulates the membranes to reabsorb fluid at the right rate. So the urine is not just filling a pool; it is chemically tuning the system.

The Swallow-and-Pee Cycle

If the baby is producing all this urine, where does it go? Mostly, the fetus swallows it. A developing baby regularly drinks amniotic fluid, and that fluid is then processed through the gut and kidneys, filtered, and urinated back out. This creates a continuous recycling loop that keeps the fluid volume in a healthy range.

This swallowing is not just about fluid management. The proteins in amniotic fluid are digested as they move through the fetal gut. Amino acids released from that digestion are absorbed and used for actual protein synthesis, contributing to fetal growth. Research tracking labeled protein injected into amniotic fluid showed progressive breakdown along the fetal digestive tract, with the resulting amino acids appearing in fetal plasma and eventually equilibrating with the mother’s blood. In other words, the baby is not just passively floating in urine-tinged fluid. It is extracting nutrition from what it swallows.

This also explains why fetuses with gastrointestinal obstructions that prevent them from swallowing amniotic fluid are frequently growth-restricted. When the cycle is broken, the baby loses both a fluid-regulation mechanism and a nutritional source.

If the Baby Pees So Much, Why Doesn’t It Get Toxic?

This is the part people often wonder about: if the baby is urinating into the fluid it also drinks, how is that not a problem? The answer is that the placenta does the heavy lifting of waste removal, not the fetal kidneys.

The truly dangerous metabolic byproducts, things like excess nitrogen from protein metabolism, carbon dioxide, and other waste products the adult kidneys normally handle, pass through the umbilical cord to the placenta. There, they cross into the mother’s bloodstream and are cleared by her kidneys and liver. The fetal kidneys are practicing, essentially. They filter blood and produce urine, which helps amniotic fluid turnover, but the urine itself is dilute compared to adult urine. Fetal urine is hypotonic, meaning it is less concentrated than the surrounding fluid, with an osmolality of about 80 to 140 milliosmoles per liter. As the kidneys mature, the urine does contain increasing concentrations of urea, uric acid, and creatinine, but the overall amniotic fluid remains relatively dilute near term.

So the urine the baby produces is not comparable to what you or I would produce. It is a much milder liquid that helps maintain the amniotic environment rather than contaminating it.

What About Poop? The Meconium Question

While the fetus freely urinates throughout pregnancy, bowel movements are a different matter. The baby’s intestines do accumulate waste material called meconium throughout gestation. Meconium is a dark, sticky substance made up of things the fetus has ingested and processed: swallowed amniotic fluid, shed skin cells, mucus, bile, and other intestinal secretions. Under normal conditions, meconium stays put inside the intestines until after birth.

Two mechanisms keep it there. First, the fetal gut has low levels of motilin, a hormone that triggers intestinal contractions. Without much motilin, there is little peristalsis pushing the meconium along. Second, the anal sphincter stays tonically contracted, physically preventing passage. These two safeguards together mean that the vast majority of babies hold their first bowel movement until they are breathing air.

That said, some research has noted that small amounts of meconium passage during gestation may be more common than previously thought and could even be considered a normal physiological event rather than always a red flag. The picture is still incomplete, but the traditional view that any meconium in the womb equals distress is more nuanced than many textbooks suggest.

When Meconium Passes Early and Why It Worries Doctors

When significant meconium passage does happen before birth, the most common trigger is fetal distress, particularly oxygen deprivation. Hypoxia causes the anal sphincter to relax and stimulates gut contractions, pushing meconium into the amniotic fluid. The result is what clinicians call meconium-stained amniotic fluid, which can range from lightly tinted to thick and dark.

The concern is not about the fluid being “dirty.” It is about what happens if the baby gasps or breathes deeply before or during delivery and inhales the meconium particles. This can lead to meconium aspiration syndrome, a condition where the thick, sticky material clogs the airways, triggers inflammation in the lungs, and can interfere with the exchange of oxygen. Hypoxia itself can also provoke gasping movements in the fetus, which increases the risk of aspiration even before delivery begins.

Meconium-stained fluid is relatively common, occurring in a sizable percentage of deliveries, especially those that go past the due date. Most babies born through meconium-stained fluid do fine and never develop aspiration syndrome. But it remains one of the things delivery teams watch for closely, because when aspiration does happen, it can be serious.

Detecting Meconium Before Delivery

One practical challenge is that doctors cannot always tell whether meconium has been passed just by looking at the amniotic fluid during routine prenatal monitoring. Researchers have explored biomarkers that might flag it earlier. One candidate is carcinoembryonic antigen, a protein found in gut secretions. In one study, the average concentration of this protein was more than ten times higher in meconium-stained amniotic fluid than in clear fluid, and a specific cutoff level was able to distinguish the two with 96 percent sensitivity and 100 percent specificity. This kind of test is not yet a standard clinical tool, but it illustrates the effort to catch the problem sooner.

In cases where doctors already know that a baby has a urinary tract obstruction severe enough to cut off urine flow, the concern shifts to dangerously low amniotic fluid. Fetal surgery to relieve a lower urinary tract blockage can sometimes restore urine production, improve fluid levels, and prevent ongoing damage to the kidneys and bladder. These interventions are rare and reserved for severe cases, but they underscore how central fetal urination is to a healthy pregnancy.

What Meconium Is Actually Made Of

Meconium is not really “poop” in the way most people think of it. Adult stool is largely composed of undigested food, bacteria, and water. Meconium is different because the fetus does not eat food in the traditional sense. Instead, meconium accumulates from everything the fetus processes during months of swallowing amniotic fluid.

Chemical analysis shows that meconium contains bile acids, including cholic acid, chenodeoxycholic acid, deoxycholic acid, and lithocholic acid. During fetal development, more chenodeoxycholic acid is formed than cholic acid, and secondary bile acids are not present in significant amounts in the newborn’s stool or fetal bile. Meconium also contains characteristic bilirubin pigments. One form, bilirubin-IX beta, predominates in meconium, along with zinc coproporphyrin, both of which are considered signature compounds of the substance.

All of this accumulates over weeks and months. By the time the baby is born, meconium has been sitting in the intestines for quite a while, which is why it has that distinctive dark greenish-black color and tar-like consistency that surprises many new parents at the first diaper change.

Bacteria in the Womb and in First Stool

For a long time, the womb was assumed to be sterile, with the baby’s first exposure to bacteria happening during birth. That view has been challenged. Multiple studies have detected bacterial DNA in first-pass meconium and in amniotic fluid samples. In one investigation, all meconium samples and most amniotic fluid samples contained bacterial DNA, along with short-chain fatty acids that could potentially influence the developing fetal immune system.

Whether those bacteria are alive and actively colonizing the fetal gut, or whether the detected DNA is simply material that has crossed the placenta, remains an open and genuinely contentious debate in microbiology. If the fetus is exposed to bacteria before birth, it would reshape the understanding of how the gut microbiome first forms and potentially how the immune system is primed before the baby ever encounters the outside world. The evidence is accumulating but far from settled, and some researchers have questioned whether contamination during sample collection explains some of the findings. Either way, the composition of meconium is turning out to be more interesting than its reputation as just a baby’s first dirty diaper would suggest.