Why Is Your Poop Green? Causes and When to Worry

Green poop is almost always harmless. The most common reasons are eating green foods, taking certain supplements, or having food move through your digestive system faster than usual. To understand why, it helps to know that your stool starts out green in the first place.

Why Stool Is Normally Brown

Your liver produces bile, a digestive fluid that begins its journey through your intestines as a yellow-green color. As bile travels through the digestive tract, enzymes chemically alter it, gradually shifting the color from green to yellow to brown. That final brown shade is what most people see on a regular day.

When anything disrupts that process, whether by speeding it up, overwhelming it with green pigments, or changing the bacterial environment in your gut, the result is stool that stays closer to its original green.

Foods That Turn Stool Green

The simplest explanation is your diet. Chlorophyll, the pigment that makes plants green, can do the same to your stool when you eat enough of it. Spinach, kale, and broccoli are the usual suspects, but the list also includes avocados, fresh herbs, pistachios, and matcha (powdered green tea). Blueberries can also produce shades of green, which surprises most people.

Artificial food dyes are another common cause. Brightly colored frosting, candy, sports drinks, or anything with synthetic green or blue dye keeps tinting whatever it touches even after you swallow it. If you recently ate something with vivid coloring, that’s likely your answer.

Iron Supplements and Antibiotics

Iron supplements are well known for changing stool color. They can turn it dark green or even blackish, which can look alarming but is a normal side effect of the iron passing through your system. If you recently started an iron supplement and noticed the change, you can safely connect the dots.

Some antibiotics also tint stool yellow or green. Antibiotics alter the bacterial balance in your gut, and those bacteria play a role in the chemical conversion of bile from green to brown. Fewer of the right bacteria means bile doesn’t fully break down, and the green color persists. This typically resolves once you finish the course of medication and your gut bacteria recover.

Fast Transit Time and Diarrhea

When food moves through your large intestine too quickly, bile doesn’t have time to complete its color transformation. This is why diarrhea often produces green stool regardless of what you’ve eaten. Any illness, infection, or trigger that speeds up digestion, including food poisoning, stomach viruses, or stress, can have this effect.

If you’ve had a bout of loose stools and noticed a green color, the two are directly connected. Once your digestion returns to its normal pace, the brown color comes back.

Green Stool in Babies

Parents often worry about green poop in infants, but it’s rarely a problem. Newborns pass meconium in their first few days, a dark, tarry substance that can have a greenish tint. After that clears, breastfed and formula-fed babies produce stool in varying shades of yellow, brown, and green, all of which are considered normal. The color can shift from one diaper to the next based on feeding patterns and how quickly milk moves through the baby’s system.

Digestive Conditions That Cause It

Less commonly, persistently green stool can signal a digestive condition that affects how your body absorbs nutrients or processes bile. Conditions like celiac disease, Crohn’s disease, and other inflammatory bowel disorders can speed up transit time or impair the normal breakdown of bile, leading to chronically green or unusually colored stool. In these cases, green poop wouldn’t be your only symptom. You’d also likely notice ongoing diarrhea, abdominal pain, bloating, or unintentional weight loss.

Problems with the biliary system (the drainage network connecting your liver, gallbladder, and pancreas) can also affect stool color. When bile flow is blocked or reduced, stool may turn pale, clay-colored, or unusually light rather than green. That’s a different situation and one worth paying attention to.

When Green Stool Matters

A single green bowel movement, or even a few days of it after eating a big salad or starting a new supplement, is not a concern. The color change you should pay attention to is one that persists for several days without an obvious dietary explanation, especially if it comes with other symptoms like fever, persistent diarrhea, blood in the stool, or significant abdominal pain.

Pale or clay-colored stool lasting more than a few days also warrants attention, as it can point to issues with bile production or flow. Green on its own, though, is one of the least worrisome color changes your stool can make.