Bilirubin in Stool: What It Says About Your Health

Bilirubin itself normally does not appear in a healthy adult’s stool. Instead, gut bacteria convert it into a group of breakdown products, chiefly urobilinogen, which is then partly oxidized into the brown pigment that gives feces its characteristic color. When actual unconverted bilirubin does show up, or when its downstream products are abnormally high, low, or absent, it points to something worth paying attention to, from disrupted gut bacteria to liver disease, bile duct blockage, or excessive red blood cell destruction.

How Bilirubin Normally Travels From Blood to Bowel

Bilirubin is a waste product of hemoglobin breakdown. When red blood cells reach the end of their roughly 120-day lifespan, the body dismantles their hemoglobin, and a cascade of enzymes converts the heme portion first into biliverdin (a green pigment) and then into bilirubin (a yellow one). This unconjugated bilirubin is not water-soluble, so the liver has to chemically modify it, attaching sugar molecules to make it dissolvable in bile. The modified, or “conjugated,” bilirubin is then secreted into bile and flows through the bile ducts into the small intestine.

Once in the intestine, conjugated bilirubin moves along with food through the small bowel, where most of it passes unabsorbed into the large intestine. There, an entirely different set of players takes over: the resident gut bacteria. The transition from a bright yellow pigment in bile to the brown hue of normal stool is almost entirely a microbial story.

The Gut Bacteria That Give Stool Its Color

Gut microorganisms are solely responsible for reducing bilirubin to urobilinogen, a colorless compound that is further oxidized into urobilin, the pigment behind stool’s brown color.1Nature Microbiology. BilR is a gut microbial enzyme that reduces bilirubin to urobilinogen For decades researchers knew bacteria were involved but could not identify the specific enzyme. Recent work identified a reductase enzyme, dubbed BilR, that catalyzes this reaction, and found that the bacteria capable of performing it all belong to one particular class of gut microbes within the Firmicutes group.2PubMed Central. Discovery of the gut microbial enzyme responsible for bilirubin reduction to urobilinogen Species like certain Clostridium strains carry this enzyme; many other common gut bacteria do not.

A portion of the urobilinogen produced in the colon gets reabsorbed into the bloodstream and cycles back to the liver, where it is re-secreted into bile. A small fraction also reaches the kidneys, which is why urine has a yellow tint. The rest stays in the colon and is oxidized into urobilin and stercobilin, the pigments that make stool brown.3Nature. Enterohepatic Circulation of Urobilinogen This whole loop, known as the enterohepatic circulation, means that what you see in the toilet is really the tail end of a recycling system.

When Unprocessed Bilirubin Shows Up in Stool

In a healthy adult with a normal gut microbiome and normal intestinal transit time, virtually all the bilirubin that arrives in the colon gets reduced to urobilinogen. Finding actual unconverted bilirubin in an adult stool sample is unusual and generally points to one of two problems: the bacteria responsible for the conversion have been depleted, or food is moving through the colon so quickly that bacteria do not have enough time to do the work.

Rapid transit is common in severe diarrhea. When stool rushes through the large intestine, it can retain a greenish or yellowish tinge because bilirubin and its partially converted intermediates have not had time to be fully processed. This is why watery diarrhea sometimes looks green rather than brown. The green color comes from biliverdin and unconverted bilirubin rather than from the usual urobilin.

Conditions that affect the small intestine’s ability to handle bile salts can also shift the balance. When bile salts leak past the small intestine and flood the colon, they can delay the bacterial conversion of bilirubin into urobilinogen, promote reabsorption of unconjugated bilirubin back into the bloodstream, and over time contribute to the formation of pigment gallstones.4PubMed. Enterohepatic cycling of bilirubin as a cause of ‘black’ pigment gallstones in adult life Ileal dysfunction from surgery, Crohn’s disease, or other causes is a common trigger.

What Pale or Clay-Colored Stools Mean

If the problem is not too much bilirubin reaching the colon but too little, the result is pale, clay-colored, or outright white stool, sometimes called acholic stool. Because the brown pigment comes from bilirubin’s bacterial breakdown products, anything that blocks bilirubin from entering the intestine in the first place removes the color.

The most common cause in adults is obstruction of the bile ducts. Gallstones lodged in the common bile duct, tumors of the pancreatic head pressing on the duct, or strictures from chronic inflammation can all prevent bile from flowing into the small intestine. Liver diseases that severely impair bile production or secretion at the cellular level can have the same result. In any of these situations, stool lightens because there is simply no pigment substrate for the gut bacteria to work on.

In newborns, persistently pale stool carries special urgency. Biliary atresia, a condition in which the bile ducts outside the liver are absent or destroyed, affects roughly 1 in 10,000 to 15,000 live births and requires surgery within the first weeks of life for the best outcomes. Taiwan pioneered a nationwide screening program using a simple stool color card given to new parents. In that program, the card identified infants with biliary atresia with about 90% sensitivity and near-perfect specificity.5PubMed. Screening for biliary atresia by infant stool color card in Taiwan Similar programs have been studied in lower-resource settings, where the cards still perform well, with sensitivity around 83% and specificity near 79%.6PubMed Central. Use of stool color card as screening tool for biliary atresia in resource-constraint country The key message for parents is straightforward: consistently pale or white stool in an infant under two months old warrants prompt medical evaluation.

Hemolytic Conditions and Excess Urobilinogen

While pale stool signals too little bilirubin entering the gut, the opposite pattern, abnormally high levels of urobilinogen in stool, points to excessive red blood cell destruction. More hemoglobin being broken down means more bilirubin produced, more bilirubin secreted into bile, and ultimately more urobilinogen formed in the colon. Stool does not necessarily look dramatically different to the naked eye, but laboratory measurement of fecal urobilinogen reveals the excess.

Classic research on malaria patients showed that fecal urobilinogen was consistently elevated during active infection in every case studied, and sometimes it was the only measurable sign of increased red blood cell destruction, appearing even without jaundice or other expected indicators.7Blood. The Excretion of Urobilinogen in the Stools and Urine During Malarial Infection This finding established that fecal urobilinogen output can serve as a sensitive marker of hemolysis. The same principle applies to chronic hemolytic anemias like sickle cell disease, thalassemia, and autoimmune hemolytic anemia, where ongoing destruction of red blood cells continuously feeds extra bilirubin into the gut.

The daily output of urobilinogen in feces has long been used as an index of hemoglobin destruction, providing clinical information about how fast red blood cells are being broken down.8JAMA Internal Medicine. Use of the Daily Fecal Output of Urobilinogen and the Hemolytic Index in the Measurement of Hemolysis While modern clinicians more often rely on blood tests like reticulocyte counts and haptoglobin levels, fecal urobilinogen remains a uniquely direct measure of the total bilirubin that has traveled through the entire hepatic and intestinal pathway.

How Antibiotics Change the Picture

If the bacteria responsible for converting bilirubin are wiped out, unconverted bilirubin can pass through the colon and appear in stool directly. This is exactly what happens during courses of certain antibiotics. A study of healthy volunteers given common oral antibiotics, including bacitracin, vancomycin, clindamycin, erythromycin, and ampicillin, found that all of these drugs significantly suppressed fecal urobilinogen excretion.9PubMed. Influence of antibiotics on the faecal excretion of bile pigments in healthy subjects The effect was pronounced enough to suggest that the antibiotics were killing or inhibiting the specific bacteria needed for bilirubin deconjugation and urobilinogen formation.

In practical terms, this means a person on antibiotics may notice greenish or unusually light-colored stool. The color shift is not dangerous on its own, but it does reflect a real change in the gut’s metabolic activity. The effect is temporary in most cases; once the antibiotic course ends and the relevant bacterial populations recover, normal urobilinogen production resumes and stool color returns to its usual brown. People who take prolonged or repeated courses of antibiotics, or who are on regimens that particularly target Firmicutes (the bacterial class that houses the bilirubin-reducing species), may experience a longer disruption.

Stool Color in the First Weeks of Life

Newborn stool follows a distinct timeline that reflects the gradual colonization of the gut by bacteria. Meconium, the dark greenish-black substance passed in the first day or two, contains bilirubin but in a different chemical form than what is found in mature stool. Studies of meconium pigments show that an unusual isomer of bilirubin predominates in the earliest stools, a form that is gradually replaced as the infant’s gut microbiome establishes itself.10Acta Paediatrica. Bilirubin‐IX α and ‐IX β pigments, coproporphyrins and bile acids in meconium and stools from full‐term and preterm neonates during the first month of life In full-term babies, this transition happens within the first week. In very preterm infants, the shift takes longer because their gut bacterial communities develop more slowly.

This explains the familiar color progression parents observe: dark meconium gives way to transitional greenish-brown stools, then to the mustard-yellow stools typical of breastfed babies or the tan-to-brown stools of formula-fed babies. The yellow color of early breastfed stool is largely due to bilirubin itself, since the infant’s gut does not yet harbor enough of the right bacteria to fully convert it to urobilinogen. As the microbiome matures over the first few months, stool color gradually shifts toward brown.

This natural timeline also means that finding bilirubin in the stool of a young infant is completely normal and expected, unlike in an adult where the same finding would raise questions.

Smartphone Apps for Stool Color Screening

The success of paper stool color cards in catching biliary atresia led researchers to develop smartphone applications that use camera-based color recognition to do the same job. The idea is straightforward: a parent photographs the stool in the diaper, and an algorithm classifies the color as normal, possibly acholic (pale), or uncertain.

Several such apps have been validated in clinical settings. One early app, PoopMD, showed substantial agreement across users and near-perfect agreement across different phone models and lighting conditions in distinguishing acholic from normal-colored stool.11PubMed Central. PoopMD, a Mobile Health Application, Accurately Identifies Infant Acholic Stools Another app, PopòApp, was validated in a large cohort and proved accurate enough that researchers suggested it could serve as an effective screening strategy for early referral of children with acholic stools, potentially improving outcomes for biliary atresia.12PubMed. A novel mobile phone application for infant stool color recognition: An easy and effective tool to identify acholic stools in newborns A third study of an iPhone-based algorithm similarly concluded that smartphone apps integrated with detection algorithms could offer an effective and convenient way to screen for biliary atresia.13PubMed. An iPhone application using a novel stool color detection algorithm for biliary atresia screening

These tools are not diagnostic. They are screening aids meant to flag stools that need follow-up by a clinician. Their value lies in reaching families who might not have access to the paper color cards, or who find a phone-based system easier to use. For parents of newborns, especially in regions where universal stool color card programs do not exist, they represent a practical backup.

What a Lab Actually Measures

When clinicians order stool pigment analysis, what is being measured is usually the urobilinogen content rather than bilirubin itself. The clinical value of estimating stool urobilinogen has historically been recognized as a window into three things: liver function, the openness of the bile ducts, and the rate of red blood cell destruction.14JAMA Internal Medicine. Studies of Urobilinogen: I. A Simple and Rapid Method for Quantitative Determination of Urobilinogen in Stool and in Urine A very low or absent reading suggests a bile duct blockage. An elevated reading suggests hemolysis. A moderately reduced reading with other abnormalities may point to liver disease affecting bilirubin processing.

Modern methods for measuring fecal urobilinogen have improved in both sensitivity and practicality. One approach uses spectrophotometry of a zinc complex, achieving good precision with the ability to detect concentrations as low as about 0.5 micromoles per liter and showing strong reproducibility across repeated measurements.15Clinica Chimica Acta. Quantitation of urobilinogen in feces, urine, bile and serum by direct spectrophotometry of zinc complex That said, stool urobilinogen testing is far less commonly ordered today than it was in mid-twentieth-century medicine. Blood tests for bilirubin, liver enzymes, and hemolysis markers have largely taken over. Still, fecal pigment analysis remains uniquely informative when the question is about the entire bilirubin pathway from production through hepatic processing to intestinal metabolism.

What Stool Color Can and Cannot Tell You

The everyday takeaway from all of this is that stool color is genuinely informative but has limits. Brown stool in a range from light tan to dark brown is normal and reflects healthy bilirubin metabolism. Green stool usually means faster transit time or a diet heavy in green vegetables, and is rarely concerning. Bright yellow stool can signal excess fat (as in malabsorption), or it can simply reflect dietary causes.

The colors that warrant medical attention are at the extremes. Persistently pale, clay-colored, or white stool suggests bile is not reaching the intestine, which points to a blockage or severe liver dysfunction. Black, tarry stool (distinct from dark brown) can indicate bleeding in the upper gastrointestinal tract, where blood is digested and darkened during its passage. Red stool may indicate lower gastrointestinal bleeding, though it can also result from foods like beets.

A single unusual stool is rarely cause for alarm. Many foods, supplements (especially iron), and medications can temporarily change stool color. The signal to act is persistence: if an abnormal color lasts more than a couple of days without an obvious dietary explanation, it is worth mentioning to a doctor. For parents of infants under two months, the threshold is even lower. Any consistently pale stool in that age group should prompt a visit sooner rather than later, since conditions like biliary atresia have a narrow treatment window.

Species Variation and Why Brown Is Not Universal

Humans are not the only animals that process bilirubin, but the details vary across species. Comparative studies show marked differences in which part of the heme molecule gets cleaved, what type of bilirubin conjugates are formed, and how mature the enzyme systems and transport proteins are at birth. Some animals excrete biliverdin (the green precursor) rather than bilirubin as their primary bile pigment, which is why bird droppings often have a conspicuous green component while mammalian feces trend brown. Even among mammals, the balance of pigments and the developmental timeline for the enzymes involved can differ substantially.

This variation is more than a curiosity. It means that findings from animal studies on bile pigment metabolism do not always translate directly to humans, and it partly explains why neonatal jaundice is such a prominent issue in human infants. The human system for processing bilirubin is relatively slow to mature compared to some other species, leaving newborns especially vulnerable to bilirubin accumulation in the blood during the first days of life, long before the gut microbiome is ready to handle the load.