Normal poop is brown because of a pigment called stercobilin, which forms when bacteria in your gut break down bile. Bile starts out yellow-green when your liver releases it, then gets chemically transformed as it travels through your intestines. Anything that disrupts this process, from the speed of digestion to a blockage in your bile ducts, changes the final color. Most color shifts are harmless and diet-related, but a few signal something that needs medical attention.
Why Poop Is Brown
The color starts with old red blood cells. When your body recycles them, it breaks down their hemoglobin into a green pigment called biliverdin, which is then converted into bilirubin. Your liver makes bilirubin water-soluble by attaching it to a sugar molecule, then ships it into your small intestine through your bile ducts.
Once bilirubin reaches your gut, bacteria go to work on it. A specific bacterial enzyme called bilirubin reductase converts it into urobilinogen, which is then further broken down into stercobilin, a dark orange-brown pigment. That’s what gives healthy stool its characteristic color. The exact shade varies from person to person and day to day, ranging from light tan to dark brown depending on diet, hydration, and how long food spends in the intestines.
Green Poop
Green stool usually means one of two things: you ate a lot of green stuff, or food moved through your intestines faster than usual. Bile is naturally yellow-green. Gut bacteria need time to convert it into that brown pigment. When you have diarrhea or anything else that speeds up transit, bile passes through without being fully broken down, and your stool stays green.
Common harmless causes include leafy greens like spinach and kale, green food coloring in drink mixes or ice pops, and iron supplements. If you can trace the color to something you ate in the last day or two, it’s almost certainly nothing to worry about. Green stool that persists for more than a few days without an obvious dietary explanation is worth mentioning to your doctor, since ongoing rapid transit can sometimes point to an underlying digestive issue.
Yellow or Greasy Poop
Yellow stool that looks oily, floats, and smells unusually bad points to fat malabsorption, a condition called steatorrhea. It means your digestive system isn’t breaking down or absorbing fats properly, so excess fat ends up in your stool instead.
Several conditions can cause this. When the pancreas can’t produce enough digestive enzymes (a problem called exocrine pancreatic insufficiency, often caused by chronic pancreatitis), fats pass through undigested. Diseases that damage the lining of the small intestine, like celiac disease, Crohn’s disease, or small intestinal bacterial overgrowth (SIBO), can also prevent fat absorption. Liver conditions like cirrhosis are another possible cause.
An occasional yellowish stool after a very high-fat meal is not concerning. But if your poop is consistently yellow, greasy, or unusually foul-smelling, that pattern suggests something is interfering with digestion and warrants testing.
Pale, White, or Clay-Colored Poop
This is one of the colors that always deserves attention. Pale or clay-colored stool means bile isn’t reaching your intestines. Since bile pigments are what eventually become brown stool color, no bile means no color.
The most common reasons bile flow gets blocked include gallstones lodged in a bile duct, narrowing of the bile ducts (biliary strictures), and tumors of the liver, bile ducts, or pancreas. Liver infections like viral hepatitis can also reduce bile production enough to lighten stool color. Alcoholic hepatitis and biliary cirrhosis are additional causes. Some medications can temporarily cause pale stools as well.
If you notice a single pale stool, monitor the next few. If the color persists, or if it comes with dark urine, yellowing skin or eyes, or abdominal pain, those are signs of a biliary problem that needs prompt evaluation.
Black Poop
Black stool falls into two very different categories: harmless and potentially serious. The key difference is texture and smell.
Harmless black stool comes from foods and supplements. Iron pills, bismuth-based medications like Pepto-Bismol, activated charcoal, black licorice, blueberries, and blood sausage can all turn stool dark black. This type of black stool is typically firm and normal-smelling.
The concerning version is called melena: black, tarry, sticky stool with a distinctly foul smell. Melena indicates bleeding in the upper digestive tract, usually the esophagus, stomach, or the first section of the small intestine. The blood appears black rather than red because it gets partially digested as it travels through the GI tract. Peptic ulcers are a common cause. A simple chemical test can confirm whether blood is present, so if you’re unsure whether your black stool is from iron pills or something more serious, a doctor can check quickly.
Bright Red Poop
Red stool can come from food or from bleeding in the lower digestive tract. Beets, red food dye, tomato soup, and red gelatin are frequent culprits that produce alarming-looking but completely harmless red stool. If you ate any of these in the past 24 to 48 hours, that’s likely the explanation.
When the cause is bleeding, it typically originates somewhere in the colon, rectum, or anus. Hemorrhoids are the most common source, producing bright red blood on the surface of stool or on toilet paper. Anal fissures (small tears in the tissue lining the anus) cause similar bright red streaks, often with pain during bowel movements. Deeper in the colon, diverticular disease (small pouches that form in the intestinal wall) and colon polyps can also bleed. Blood that’s mixed throughout the stool rather than just on the surface generally suggests bleeding higher up in the colon.
A small amount of bright red blood from a known hemorrhoid is common and usually not dangerous, but rectal bleeding that recurs, worsens, or can’t be explained by a known condition should be evaluated.
Stool Color in Babies
Infant stool goes through a predictable color progression that looks nothing like adult poop, and most of the colors are perfectly normal.
A newborn’s first bowel movements are meconium: a sticky, tar-like substance that’s dark green to black. This clears within the first couple of days. After that, color depends largely on how the baby is fed. Breastfed babies typically produce mustard yellow, loose, slightly runny stool. Formula-fed babies tend to have darker yellow poop that’s slightly firmer. Dark green stool in formula-fed babies is common and usually just a response to the iron in the formula.
Once solid foods are introduced, expect a wider range of colors, including green-brown and shades that reflect whatever the baby ate. The colors that raise concern in infants are the same as in adults: white or pale (suggesting a bile flow problem), black after the meconium stage has passed, and red that isn’t from food. These warrant a call to your pediatrician.
Foods and Medications That Change Stool Color
Diet is the single most common reason for an unexpected stool color. Here’s a quick reference:
- Green: Spinach, kale, green food dye, iron supplements
- Black: Iron pills, Pepto-Bismol, activated charcoal, black licorice, blueberries
- Red: Beets, tomato products, red food dye, red gelatin
- Yellow/orange: Carrots, sweet potatoes, turmeric, high-fat meals
These color changes are temporary and resolve once the food or supplement clears your system, typically within one to three days. If a color change persists beyond that window and you can’t connect it to anything in your diet, that’s when the color itself becomes a useful diagnostic clue worth investigating.

