Why Is My Poop Different Colors and When to Worry

Your poop gets its normal brown color from a pigment called stercobilin, which forms when your body breaks down old red blood cells. When something disrupts that process, whether it’s the food you ate, how fast things moved through your gut, or a problem with your liver or bile ducts, the color shifts. Most color changes are harmless and temporary, but a few are worth paying attention to.

How Poop Gets Its Brown Color

The journey starts with bilirubin, a yellowish compound your body produces when it recycles old red blood cells. Your liver packages bilirubin into bile and sends it into your intestines, where bacteria get to work on it. Gut microbes use specialized enzymes to strip bilirubin down and convert it first into a compound called urobilinogen, then further into stercobilin, a dark orange-brown pigment. That pigment is what gives healthy stool its characteristic color.

Anything that changes the amount of bile reaching your intestines, speeds up or slows down digestion, or introduces strong pigments from food can override that natural coloring process.

Green Stool

Green poop is one of the most common color changes, and it’s almost always harmless. The most frequent cause is simply eating a lot of leafy greens like spinach or kale. Green food coloring in drink mixes, ice pops, or frosted baked goods can do the same thing.

The other major cause is speed. Bile starts out green before gut bacteria convert it into brown stercobilin. If food moves through your large intestine too quickly, often because of diarrhea, bile doesn’t have time to fully break down. The result is greenish stool that reflects the original color of bile rather than its finished product. Iron supplements can also turn stool dark green, sometimes dark enough to look almost black.

Yellow, Greasy Stool

Stool that’s yellow, oily, and unusually foul-smelling points to fat malabsorption. Your body needs two things to properly digest fat: enzymes from your pancreas and bile from your liver. If either one is in short supply, or if the small intestine itself can’t do its job, undigested fat passes through and gives stool a pale yellow, greasy appearance. You might also notice it floats or is difficult to flush.

Several conditions can cause this. Exocrine pancreatic insufficiency means your pancreas isn’t producing enough digestive enzymes. Celiac disease damages the lining of the small intestine so it can’t absorb fats properly. Crohn’s disease and small intestinal bacterial overgrowth (SIBO) can have similar effects. Persistent yellow, greasy stools are worth investigating, especially if you’re also losing weight or feeling fatigued.

Pale, White, or Clay-Colored Stool

This is one of the color changes that always deserves attention. Pale or clay-colored stool means bile isn’t reaching your intestines at all, so there’s no bilirubin to create that normal brown pigment. The problem is usually a blockage somewhere in the bile ducts, the tiny tubes that carry bile from the liver and gallbladder into the small intestine.

Gallstones are the most common culprit. They can lodge in a bile duct and physically block the flow. Tumors of the bile ducts or pancreas, inflammation of the bile ducts, and cysts can also cause obstruction. When bile backs up into the liver instead of flowing into the intestines, bilirubin accumulates in the blood. This often produces jaundice (yellowing of the skin and eyes) alongside the pale stools. If your stool turns white or clay-colored and stays that way, that combination signals a problem that needs diagnosis.

Bright Red Stool

Bright red in the toilet bowl is alarming, but the cause is often something minor. Beets, tomato soup, red gelatin, and foods with red dye can all tint stool red. If you recently ate any of these, that’s likely your answer, and the color should return to normal within a day or two.

When the red color comes from blood rather than food, it typically means bleeding somewhere in the lower digestive tract: the colon, rectum, or anus. Hemorrhoids are the single most common cause. They’re swollen veins that often bleed after straining during a bowel movement, and the blood is usually bright red and noticed on toilet paper or the surface of the stool. Anal fissures, which are small tears in the lining of the anal canal, cause a similar pattern.

More serious causes include inflammatory bowel disease (Crohn’s disease and ulcerative colitis), diverticulitis (infected pockets in the colon wall), and bacterial infections like E. coli. These conditions typically come with other symptoms like abdominal pain, diarrhea, or fever. Rectal bleeding that recurs, won’t stop, or accompanies other symptoms warrants evaluation.

Black or Tarry Stool

Black stool has two very different explanations, and telling them apart matters. The harmless version comes from something you swallowed. Iron supplements, bismuth subsalicylate (the active ingredient in Pepto-Bismol), activated charcoal, black licorice, blueberries in large quantities, and blood sausage can all stain stool black. This type of black stool has a normal consistency and no unusual smell.

The concerning version is melena: jet black stool that’s sticky, tarry, and has a distinctively strong, foul odor. Melena signals bleeding in the upper digestive tract, usually the stomach or upper small intestine. As blood travels down through the GI tract, digestive chemicals break it down and change its color from red to black, giving it that tar-like appearance. The longer the blood has been in the system, the darker and smellier it gets.

If you’re taking iron or bismuth, black stool is expected and not dangerous. But if black, tarry stool appears without an obvious dietary explanation, especially alongside dizziness, weakness, vomiting blood (or vomit that looks like coffee grounds), or shortness of breath, that’s a sign of significant bleeding that needs emergency care.

Food Dyes and Unexpected Colors

Artificial food coloring is surprisingly powerful in the digestive tract. Brightly frosted cupcakes, candy, sports drinks, and colored cereals can all pass their pigments straight through. Blue frosting can turn stool green or blue-green. Red dye can mimic the look of blood. If you eat enough rainbow-colored candy at once, the colors can actually mix together and produce black stool, which can be particularly confusing.

These changes are temporary and pass within 24 to 48 hours. If you’re puzzled by an unusual stool color, think back to what you ate in the last day or two before assuming something is wrong.

Stool Color in Babies

Infant stool follows its own color timeline, and the range of normal is much wider than in adults. Nearly all newborns pass meconium as their first stool: a thick, black, tarry substance that’s completely normal and clears within a few days. Once a baby starts breastfeeding or drinking formula, stool transitions to green or yellow with a more liquid consistency.

Breastfed babies typically stay in the green-yellow-brown range for as long as they’re nursing. Formula-fed babies produce similar colors, often slightly lighter. The one color that’s always a concern in infants is the same as in adults: white or clay-colored stool, which suggests bile isn’t reaching the intestines. Red and black stools (after the meconium phase) also warrant prompt evaluation in babies.

Color Changes That Are Harmless vs. Concerning

  • Usually harmless: Green from leafy vegetables, food dye, or fast transit. Black from iron supplements, Pepto-Bismol, or dark foods. Red from beets or red-dyed foods. Odd colors from brightly colored candy or frosting.
  • Worth investigating: Persistent yellow, greasy stools that smell unusually bad. Red stool with no dietary explanation, especially with pain or recurring episodes.
  • Need prompt attention: White or clay-colored stool, particularly with yellowing skin. Black, tarry, foul-smelling stool without an obvious dietary cause. Any stool color change paired with dizziness, weakness, vomiting blood, or unexplained weight loss.

A one-time color change that lines up with something you ate is rarely a problem. Color changes that persist for several days, repeat over time, or arrive alongside other symptoms are the ones that point to something your body needs help with.