Why Is My Poop Green? Causes and When to Worry

Green poop is almost always harmless. The most common cause is something you ate, whether that’s a big spinach salad, a bright blue sports drink, or an iron supplement. Less often, green stool signals that food moved through your intestines faster than usual, which can happen during a stomach bug or a round of antibiotics.

How Stool Gets Its Normal Color

Your liver produces bile, a yellow-green fluid that helps break down fats. As bile travels through your intestines, bacteria chemically transform it from green to its familiar brown. Anything that speeds up digestion or changes the bacterial balance in your gut can interrupt that process, leaving stool with a greenish tint. The shade can range from bright lime green to a deep, almost-black green depending on the cause.

Leafy Greens and Chlorophyll-Rich Foods

The single most common reason for green poop is eating a lot of green vegetables. Spinach, kale, and broccoli are packed with chlorophyll, the same pigment that makes plants green. Your body doesn’t fully break down chlorophyll during digestion, so when you eat enough of it, the color passes straight through. Pistachios, avocados, fresh herbs, and matcha (powdered green tea) all contain enough chlorophyll to have the same effect.

You don’t need to eat an unusual amount. A large kale smoothie or a bowl of pesto pasta can be enough to turn things noticeably green. The color change typically lasts one to two bowel movements and resolves on its own once the food clears your system.

Food Dyes and Processed Foods

Green food coloring found in flavored drink mixes, ice pops, frosted cakes, and candy is another frequent culprit. Blue and purple dyes can also produce green stool because they mix with the yellow bile in your intestines. If you recently ate or drank something with vivid artificial coloring, that’s likely your answer. Kids are especially prone to this after birthday parties, holidays, or any event involving brightly colored treats.

Iron Supplements

Iron supplements often turn stool a very dark green that can look almost black. This happens because unabsorbed iron reacts with compounds in your digestive tract. The color change is a well-known, expected side effect. It doesn’t mean the supplement is harming you, and it doesn’t mean you’re taking too much. That said, if the color bothers you or comes with stomach discomfort, your doctor can adjust your dose.

Fast-Moving Digestion

When food moves through your intestines faster than normal, bile doesn’t have enough time to be broken down from green to brown. This is why green stool often shows up alongside diarrhea. Several things can speed up transit time:

  • Stomach viruses and food poisoning. Any infection that triggers diarrhea can produce green, watery stools.
  • Antibiotics. These medications kill off helpful gut bacteria along with the harmful ones. Without enough beneficial bacteria to process bile normally, stool can turn green. Antibiotics can also directly irritate the lining of the large intestine, further disrupting digestion.
  • Stress and anxiety. The gut-brain connection is real. High stress can accelerate intestinal contractions, pushing food through before bile fully breaks down.

In these cases, the green color is a side effect of the speed, not a separate problem. Once your digestion returns to its normal pace, the brown color comes back.

Green Poop in Babies

Green poop in infants is common and rarely a concern. Yellow-brown, orange, and green tints are all considered normal for babies. Breastfed babies typically produce soft, seedy, mustard-yellow stools, while formula-fed babies tend to have thicker, peanut-butter-consistency stools in tan or brown shades. But green poop pops up regularly in both groups.

One specific cause in breastfed babies involves the balance of foremilk and hindmilk. Foremilk is the thinner, more watery milk that comes at the start of a feeding. It quenches thirst but is lower in fat. Hindmilk follows toward the end of the feeding and is richer and more filling. If a baby gets more foremilk than hindmilk (from short or frequent feedings, for example), stools can turn green. Teething is another common trigger. Once the feeding pattern adjusts or the tooth breaks through, the color usually shifts back.

When Green Stool Needs Attention

A single green bowel movement, or even a few in a row after a big salad or a stomach bug, is not a reason to worry. The Mayo Clinic recommends contacting a healthcare professional if green stool persists for more than a few days without a clear dietary explanation. Green stool paired with diarrhea deserves extra attention because of dehydration risk. Drink plenty of fluids, and seek immediate care if you notice signs of dehydration like dizziness, dry mouth, or dark urine.

Stool color that should prompt a quicker call: black and tarry (which can indicate bleeding in the upper digestive tract), bright red (possible lower digestive bleeding), or pale white and clay-colored (which may signal a bile duct issue). Green, on its own, is almost never in that category.