What Makes Poop Brown: Bile, Bacteria, and Blood Cells

Poop is brown because of a pigment that comes from old red blood cells. Your body constantly recycles these cells, and the waste products from that process travel through your liver and gut, changing color along the way until they produce the familiar brown tone. The specific pigment responsible is called stercobilin, and its journey from bloodstream to toilet bowl involves your liver, your bile, and trillions of gut bacteria.

It Starts With Old Red Blood Cells

Your body destroys and replaces millions of red blood cells every day. When a red blood cell reaches the end of its roughly 120-day lifespan, your spleen and liver break it down and salvage what they can. The iron gets recycled. The protein gets reused. But the heme molecule at the center of hemoglobin, the part that carried oxygen, becomes waste that needs to be disposed of.

That disposal process creates a green pigment first. Special enzymes crack open the heme ring, releasing a molecule of carbon monoxide (which you quietly exhale) and producing a green substance called biliverdin. Another enzyme then converts that green pigment into an orange-yellow one: bilirubin. This is the same compound that causes jaundice when it builds up in the blood, turning skin and eyes yellow.

How Bilirubin Gets Into Your Gut

Your liver packages bilirubin into bile, a digestive fluid it produces in impressive quantities. The liver generates roughly 800 to 1,000 milliliters of bile per day, about a quart. Bile’s primary job is helping you digest fats, but it also serves as the body’s main route for excreting bilirubin. After a meal, bile flows from the liver and gallbladder into your small intestine, carrying bilirubin along with it.

At this stage, your stool isn’t brown yet. Bilirubin is orange-yellow, and bile itself is greenish. The final color change happens lower in the digestive tract, and it depends entirely on your gut bacteria.

Gut Bacteria Do the Final Color Change

When bilirubin reaches the lower part of your small intestine and colon, bacteria get to work on it. They convert bilirubin into a group of colorless compounds collectively called urobilinogen and stercobilinogen. These colorless molecules then oxidize, meaning they react with oxygen, and turn into the brownish pigments that give stool its color.

A 2023 study published in Nature Microbiology identified the specific bacterial enzyme responsible for this conversion, naming it BilR. The enzyme is primarily produced by bacteria in the Firmicutes group, one of the most common bacterial families in the human gut. Several well-known species carry the gene, including strains of Clostridium and Bacteroides. Without these bacteria doing their job, bilirubin wouldn’t fully break down, and stool color would change noticeably.

This same process also explains why your urine is yellow. Some of the urobilinogen produced in the gut gets reabsorbed into the bloodstream, filtered by the kidneys, and converted into a pigment called urobilin. So the brown of your stool and the yellow of your urine both trace back to the same source: old red blood cells.

Why Stool Isn’t Always Brown

Because brown stool depends on a specific chain of events, anything that disrupts that chain can change the color. Here’s what different colors typically indicate:

  • Green: Food moved through the colon too quickly (often during diarrhea), so bile didn’t have time to be fully broken down by bacteria. Green is essentially an earlier stage in the pigment’s journey.
  • Pale, white, or clay-colored: Bile isn’t reaching the intestine at all. This points to a blockage in the bile duct system and is one of the more medically significant color changes. Without bilirubin entering the gut, stool loses its pigment entirely.
  • Yellow and greasy: Excess fat in the stool, which can result from conditions that impair fat absorption, like celiac disease.
  • Black: Bleeding in the upper digestive tract, such as the stomach. Blood that has been partially digested turns dark black and tarry.

Of these, clay-colored and black stools are the most important to pay attention to. Clay-colored stool signals that the bilirubin pathway is blocked before it even begins, while black stool suggests bleeding that’s being digested on its way through.

Why Newborn Stool Looks Different

If you’ve ever changed a newborn’s diaper, you know their first stools look nothing like a typical brown. A baby’s earliest stool, called meconium, is thick, sticky, and greenish-black. It’s made up of materials swallowed in the womb: amniotic fluid, mucus, and shed cells. Over the first few days, stools transition from greenish-black to green, then to yellow or yellowish-brown by the end of the first week. This shift reflects the gut beginning to process bile and, crucially, the colonization of the intestines by bacteria that can convert bilirubin into its final brown pigments. Newborns are essentially building the microbial workforce that will color their stool for the rest of their lives.

The Brown Is a Sign of a Healthy System

The ordinary brown color of stool is actually evidence that several body systems are working in coordination. Your spleen is clearing old red blood cells. Your liver is processing the waste and producing bile. Your gallbladder and bile ducts are delivering that bile to your intestine. And your gut bacteria are converting the pigments into their final form. A consistent brown color means all of those steps are functioning. When the color shifts persistently, especially to very pale or very dark, it often means one link in that chain has broken down.