Green poop is almost always harmless, and getting rid of it usually comes down to identifying what caused the color change and removing that trigger. In most cases, your stool will return to its normal brown shade within one to three days once the cause is gone. Here’s what’s behind it and what you can do.
Why Poop Is Normally Brown
Your liver produces bile, a bright green fluid that helps digest fats. As bile travels through your digestive tract, enzymes chemically break it down and gradually shift its color from green to brown. That’s why healthy stool is typically some shade of brown. Anything that interrupts this process, whether it’s food moving too fast, a dye overriding the natural color, or a supplement adding its own pigment, can leave you with green stool instead.
The Most Common Dietary Causes
The single biggest reason for green poop is food. Chlorophyll, the pigment that makes plants green, can do the same to your stool when you eat enough of it. Spinach, kale, broccoli, avocados, fresh herbs, matcha, and even pistachios are all rich in chlorophyll. Blueberries can also produce green shades. None of this is a problem. It just means you’re eating a lot of pigment-rich foods.
Artificial food dyes are another frequent culprit. Brightly frosted cupcakes, colored candy, sports drinks, and novelty snacks can tint your stool surprising shades of green because the dye continues coloring whatever it touches as it moves through your gut. If you recently ate something with vivid coloring, that’s likely your answer.
Supplements and Medications
Iron supplements commonly turn stool dark green or even blackish green. Some physicians actually consider this a sign the supplement is being absorbed properly, so it’s not a cause for concern. If the color bothers you, talk to your doctor about adjusting the dose. Certain antibiotics can also tint stool yellow or green by disrupting the normal balance of gut bacteria and altering how bile gets processed.
When Rapid Digestion Is the Cause
If your green stool comes with diarrhea, the explanation is straightforward: food is moving through your large intestine too quickly for bile to fully break down. The bile stays green because enzymes don’t have enough time to convert it to brown. This can happen with a stomach bug, food intolerance, stress, or anything else that speeds up digestion.
Infections from bacteria like Salmonella or E. coli, viruses like norovirus, or parasites like Giardia can all cause this rapid-transit green diarrhea. In these cases, the green color is a side effect of the illness, not a separate problem. Treating the underlying infection or letting the virus run its course will resolve the stool color too.
How to Get Your Stool Back to Normal
The fix depends on what’s causing the green color:
- Green vegetables and chlorophyll-rich foods: You don’t need to stop eating them. If the color bothers you, simply reduce portion sizes or spread your intake across multiple meals. Your stool should shift back to brown within a day or two.
- Artificial food dyes: Stop eating the dyed food. The color will clear once the dye passes through your system, typically within one to two bowel movements.
- Iron supplements: Lowering your dose will likely lighten the color. Don’t stop taking iron without checking with your provider first, since you may need it for a medical reason.
- Antibiotics: The green tint should resolve after you finish your course. Don’t stop antibiotics early just because of stool color.
- Diarrhea or fast transit: Focus on staying hydrated and letting your digestion slow back to its normal pace. As stool transit time normalizes, the brown color returns. Eating bland, easy-to-digest foods can help your gut settle.
Green Poop in Babies
If you’re a parent searching this, know that green poop in infants is almost always normal. Newborns start with thick, black, tarry stools called meconium. Once breastfeeding or formula begins, their poop transitions to green or yellow with a more liquid consistency. Dark green baby poop is typically just bile doing its job and is nothing to worry about.
The one exception: bright green poop or a complete absence of stool in the first few days of life can be a warning sign of a bowel blockage or narrowing. This is rare but requires prompt medical attention.
Signs That Warrant Attention
Green stool that lasts more than a few days without an obvious dietary explanation is worth mentioning to your doctor. The same goes if green stool is paired with diarrhea that leads to dehydration, which you can recognize by dark urine, dizziness, dry mouth, or in children, fewer wet diapers than usual. Dehydration from persistent diarrhea needs prompt care regardless of stool color.
Outside of those situations, green poop is one of the least worrying color changes your stool can make. It’s far more likely to be last night’s spinach salad than anything requiring treatment.

