Dark green poop is almost always caused by something you ate, drank, or took as a supplement. It rarely signals a serious problem. The most common culprits are green vegetables, iron supplements, and food dyes, though occasionally it points to food moving through your digestive system faster than usual.
How Bile Gives Stool Its Color
Your liver produces bile, a yellow-green fluid that helps digest fats. As bile travels through your intestines, bacteria break it down and gradually change its color from green to yellow to brown. That familiar brown color you expect in the toilet is simply the end result of bile being fully processed during digestion.
When something interrupts that process, whether it’s a flood of green pigment from food or a speed increase in digestion, stool can come out dark green instead of brown. Understanding this helps make sense of nearly every cause on the list below.
Foods That Turn Stool Dark Green
Leafy greens are the single most common reason for dark green stool. Spinach, kale, and broccoli are packed with chlorophyll, the pigment that makes plants green. Eat enough of them and the green color survives digestion and shows up in your stool. This is especially noticeable after a large salad, a green smoothie, or a meal heavy on cooked greens.
Other green-colored foods can do the same thing: avocados, fresh herbs, matcha (powdered green tea), and pistachios. Even blueberries, despite being purple, can produce shades of green as their pigments interact with bile during digestion.
Artificial food dyes are another frequent cause. Brightly frosted cupcakes, colored candy, sports drinks, and ice cream with vivid coloring can all tint your stool green. If you recently ate something unnaturally colorful, that’s likely your answer.
Iron Supplements and Medications
Iron supplements commonly turn stool a very dark green that can look almost black. This is normal and some physicians actually consider it a sign the supplement is being absorbed properly. If the color bothers you, your doctor can adjust the dose, but the discoloration itself isn’t harmful.
Chlorophyll supplements, which have become popular as a health trend, work similarly to eating large amounts of green vegetables and can produce noticeably green stool. Other supplements containing green algae like spirulina or chlorella have the same effect.
Fast Digestion and Diarrhea
When food moves through your large intestine too quickly, bile doesn’t have time to fully break down. Since bile starts out green, rapid transit means stool keeps that greenish color instead of turning brown. This is why diarrhea often comes out green regardless of what you ate.
Anything that speeds up digestion can cause this: a stomach bug, food poisoning, stress, antibiotics disrupting gut bacteria, or even a particularly large or rich meal that overwhelms your system. The green color in these cases isn’t from the food itself. It’s from your own bile being rushed through before bacteria can finish processing it.
Infections and Gut Conditions
Bacterial and parasitic infections sometimes produce green diarrhea because they irritate the intestinal lining and accelerate transit time. Salmonella, a common cause of food poisoning, is one well-known example. Parasitic infections like giardia, typically picked up from contaminated water, can also turn stool green.
With infections, green stool rarely appears alone. You’ll usually also have watery diarrhea, cramping, nausea, or fever. If your green stool is accompanied by those symptoms and doesn’t resolve within a day or two, it’s worth getting checked out.
Green Stool in Babies
Green poop in infants has its own set of causes and is usually harmless. Newborns pass meconium in their first few days, a thick, dark green-black substance that’s completely normal. After that, several things can keep stool green:
- Not finishing one breast before switching. When a baby doesn’t fully empty one breast during feeding, they may miss the higher-fat milk that comes toward the end. This affects how the milk is digested and can produce green stool.
- Specialized formula. Protein hydrolysate formulas, used for babies with milk or soy allergies, commonly cause green stool.
- Immature gut bacteria. Breastfed infants sometimes lack the full range of intestinal bacteria needed to process bile into its typical brown color.
- Diarrhea. Just like in adults, fast-moving digestion in babies produces greener stool.
Dark Green vs. Black: How to Tell the Difference
Very dark green stool can look black under bathroom lighting, and the distinction matters. True black, tarry stool (called melena) can indicate bleeding in the upper digestive tract, which is a medical concern. Here’s how to tell them apart:
Melena is jet black, not dark green, and has a tarry, sticky consistency. It also produces a distinctly strong, offensive odor that’s different from normal stool. That smell comes from blood being digested as it travels through the GI tract. If your dark stool wipes clean without that sticky, tar-like texture and doesn’t have an unusually foul smell, it’s far more likely to be dark green from food, supplements, or dyes rather than melena.
Iron supplements can also produce very dark or black-looking stool without any blood being involved. If you’re taking iron and notice dark stool, that’s the most probable explanation.
How Long It Lasts
If your green stool is diet-related, it typically resolves within one to three days after you stop eating the trigger food or supplement. Your colon needs time to clear out what’s already in there, so don’t expect an instant change. If green stool from a dietary cause persists beyond a few days after removing the trigger, something else may be going on.
Green stool tied to a stomach bug or food poisoning usually clears up as the illness resolves. Staying hydrated is the priority during any bout of diarrhea, since fluid loss is the main risk. For both adults and children, if green stool persists for more than a few days or is accompanied by signs of dehydration like dizziness, dry mouth, or reduced urination, that warrants a call to your doctor.

