Poop gets its brown color from stercobilin, a pigment created when gut bacteria break down bilirubin from bile in the large intestine.
Most people never stop to wonder about it. You eat a burrito, some salad, or a bowl of cereal. What comes out is reliably brown, regardless of what went in. That consistency is puzzling when you think about it: the body somehow turns a rainbow of food into a single shade of brown.
Poop doesn’t inherit its color from food. The color comes from a biological process deep in your digestive tract, one that starts with old red blood cells and ends with a pigment called stercobilin. Here’s how that chain works and what it means when the color shifts.
Where The Brown Actually Comes From
Your liver produces a yellow-green fluid called bile that helps digest fats. That bile contains bilirubin — a yellow waste product created when old red blood cells are broken down. Both facts are well established by Mayo Clinic and McGill University.
Bile flows into the small intestine, where its bilirubin meets billions of gut bacteria. Those microbes chemically convert bilirubin into urobilinogen, which is then transformed into stercobilin. Stercobilin is the specific molecule responsible for the brown color.
The longer stercobilin is exposed to oxygen inside the gut, the darker the stool becomes. Fresher stool is lighter brown; older stool darkens. This process, per Live Science, explains why the shade varies from one bowel movement to the next.
Why The Color Stays Predictable
People often assume food dye or plant pigments determine stool color. That’s only partly true. Beets turn stool red, and leafy greens can cause green tinges. But the dominant brown comes from the bilirubin-to-stercobilin pathway.
The key ingredients in this pigment pipeline:
- Bilirubin production: Old red blood cells break down in the spleen and liver, releasing bilirubin as a byproduct. The body must get rid of it.
- Bile secretion: Bilirubin is packaged into bile and released into the small intestine after meals, especially fatty ones.
- Gut bacteria conversion: The large intestine houses trillions of microbes that transform bilirubin into urobilinogen and then stercobilin.
- Pigment oxidation: Stercobilin darkens with oxygen exposure over time inside the colon, which adds the final brown hue.
- Bacterial health: If the gut microbiome is disrupted (by antibiotics or illness), the conversion process slows, and stool can lose its brown color temporarily.
Healthy brown stool signals that all these steps are working in sequence. It’s essentially a sign your liver, gallbladder, pancreas, and gut bacteria are cooperating.
What Happens When Bile Doesn’t Get Converted
When the digestive process speeds up, bilirubin doesn’t hang around long enough for bacteria to finish their work. The result is green stool — the bilirubin passes through before it’s been fully converted to stercobilin. ScitechDaily’s doctor-reviewed explanation notes this is common with diarrhea, food poisoning, or stress.
Green stool can also come from eating leafy greens or foods with green dye. But if there’s no obvious dietary cause, rapid transit is the likely explanation. The Bile and Bilirubin Mix happens fast, and the color stays greenish for a day or two until things slow down.
Babies often have green or yellow stool because their gut bacteria are still developing. Adults who take antibiotics or have a stomach bug may see the same thing. It’s usually harmless and resolves once digestion returns to normal.
Other Stool Colors and What They Point To
Not every color change is tied to bilirubin conversion speed. Some shifts reflect what’s entering the digestive system, and others signal a problem with the organs that produce or deliver bile.
| Stool Color | Common Cause | When To Pay Attention |
|---|---|---|
| Light to dark brown | Normal stercobilin from bile breakdown | No concern; this is healthy |
| Green | Rapid transit, leafy greens, green food dye | Usually harmless; resolves in 1-2 days |
| Yellow or greasy | Fat malabsorption, possibly pancreatitis | If foul-smelling and persistent, see a doctor |
| Clay-colored or pale | Bile duct blockage, liver or gallbladder issue | Warrants medical evaluation within days |
| Dark or tarry | Iron supplements, dark foods, or internal bleeding | If blood is suspected, contact your provider |
| Red | Beets, red dye, or lower GI bleeding | If not diet-related, see a doctor promptly |
Pale or clay-colored stool is the most concerning because it means bile isn’t reaching the intestines at all. Cleveland Clinic identifies this as a potential sign of bile duct, gallbladder, liver, or pancreas problems. If you see this, you should contact your doctor within a few days.
When Brown Is a Sign of Health — and When It’s Not
Normal brown stool is a reassuring signal that your digestive system is functioning. But the shade alone doesn’t tell the full story. Consistency, smell, and frequency also matter for assessing overall gut health.
Hard, pellet-like stool often indicates constipation or low fiber intake. NYGA Health notes this shape suggests the stool spent too long in the colon, where excess water was absorbed. Soft, fluffy pieces or diarrhea signal the opposite problem.
Foul-smelling, greasy, or floating stool can indicate fat malabsorption. UF Health points to chronic pancreatitis as one possible cause, especially if the stool is pale or orange alongside the greasy texture. The brown color may still be present, but the texture and odor offer separate clues.
For a deeper look at how bile transforms through the digestive tract, Bile Changes Color as enzymes chemically alter it from green to brown. The Mayo Clinic page also lists specific warning colors to watch for.
| Stool Characteristic | Potential Implication |
|---|---|
| Hard, pellet-like | Constipation, low fiber, or dehydration |
| Soft, mushy, or liquid | Rapid transit, infection, or food intolerance |
| Floating, greasy, foul-smelling | Fat malabsorption; possible pancreatic issue |
| Narrow, pencil-thin | Bowel obstruction or narrowing |
The Bottom Line
Poop is brown because old red blood cells break down into bilirubin, which gut microbes convert into the pigment stercobilin. That process depends on healthy liver function, a working gallbladder, and a balanced gut microbiome. The color is a reliable indicator that your digestive organs are communicating properly.
If your stool changes color significantly and stays that way for more than a few days, a gastroenterologist or your primary care doctor can run basic lab work and imaging to check your bile duct, pancreas, and liver function. One stool color snapshot isn’t a diagnosis — but it’s a useful starting point for a conversation about your digestive health.
References & Sources
- Healthline. “Why Is Poop Brown” The brown color of poop is mostly due to bile and bilirubin mixing with digested food, bacteria, and old red blood cells in the digestive tract.
- Mayo Clinic. “Faq 20058080” As bile travels through the digestive tract, enzymes chemically alter it, changing its color from green to brown.
Mo Maruf
I created WellFizz to bridge the gap between vague wellness advice and actionable solutions. My mission is simple: to decode the research and give you practical tools you can actually use.
Beyond the data, I am a passionate traveler. I believe that stepping away from the screen to explore new environments is essential for mental clarity and physical vitality.