Green poop is almost always harmless. In most cases, it means you ate something green, took a supplement that changed the color, or food moved through your intestines a bit faster than usual. If it goes back to brown within a day or two, there’s nothing to worry about.
Why Poop Is Brown in the First Place
Your liver produces bile, a fluid that starts out green. Bile gets released into your small intestine to help digest fats, and as it travels through the rest of your digestive tract, bacteria break it down into new compounds that are orange-yellow after oxidation. That’s what gives stool its typical brown color. The process takes time, so anything that speeds up digestion or disrupts gut bacteria can leave bile partially unprocessed, and your poop stays green.
Foods That Turn Your Stool Green
This is the most common cause. 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 avocados, fresh herbs, matcha, and even pistachios (which get their color from chlorophyll) can have the same effect.
Artificial food dyes are another frequent culprit. Brightly frosted cupcakes, colored candy, green sports drinks, and similar products keep tinting whatever they touch as they pass through your system. If you recently ate or drank something with vivid coloring, that’s likely your answer.
Medications and Supplements
Iron supplements are a well-known cause. They can darken stool and give it a green or even blackish hue. Bismuth subsalicylate, the active ingredient in some over-the-counter anti-diarrheal medications, reacts with sulfur in your digestive tract and can turn poop dark green or black. Antacids containing aluminum hydroxide can produce greenish stool as a side effect.
Antibiotics deserve a separate mention. They don’t color your stool directly, but they disrupt the normal balance of gut bacteria. Since those bacteria are responsible for converting green bile into brown pigments, killing them off can leave bile partially intact, resulting in green poop for the duration of your course and sometimes a few days after.
Rapid Transit and Digestive Issues
When food moves through your intestines faster than normal, bile doesn’t have enough time to fully break down. The result is stool that retains a green tint. This can happen with a simple bout of diarrhea from a stomach bug, stress, a high-caffeine day, or even just eating a large meal that gets things moving quickly.
Bacterial infections can cause green diarrhea because the infection itself speeds up transit time and disrupts the gut environment. Irritable bowel syndrome (IBS) can do this too, particularly during flare-ups when your intestines contract more frequently. If green stool shows up alongside cramping, bloating, and loose bowel movements that keep recurring, a digestive condition could be the underlying factor.
Green Poop in Babies
If you’re a parent checking your baby’s diaper, green is completely normal. A newborn’s very first stools (called meconium) are thick, black, and tarry. Once breastfeeding or formula feeding begins, poop transitions to green or yellow with a more liquid consistency. Dark green poop in babies is usually just bile doing its job before their gut bacteria are fully established. It’s not a sign of illness.
When Green Poop Signals Something More
A single green bowel movement, or even a few days of green stool after a big salad or a round of antibiotics, is not a concern. The key question is whether it goes back to brown. If green stool persists for more than a few days without an obvious dietary explanation, or if it comes with fever, persistent diarrhea, cramping, or unintended weight loss, it’s worth getting checked out. These accompanying symptoms can point to an infection or an ongoing digestive issue that needs attention.
Bright red or black stool is a different situation entirely. These colors can indicate bleeding in the digestive tract and warrant prompt medical attention. Green, by contrast, sits in the “probably fine, keep an eye on it” category for the vast majority of people.

