Dark green poop is almost always normal. The most common causes are everyday things: leafy greens, iron supplements, food dyes, or food simply moving through your gut a little faster than usual. In most cases, the color shift is temporary and harmless, resolving on its own within a day or two once the trigger passes.
Why Stool Is Brown in the First Place
Your liver produces bile, a yellow-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 transformation is what gives stool its typical brownish shade. Bile levels naturally fluctuate day to day, which means slight color variations are completely routine, even without any dietary change.
Foods That Turn Stool Dark Green
Chlorophyll, the pigment that makes plants green, can do the same to your stool. Spinach, kale, and broccoli are the most common culprits, but avocados, fresh herbs, matcha, and even pistachios carry enough green pigment to change things noticeably. The more you eat, the deeper the green.
Artificial food dyes are another frequent cause. Brightly frosted cupcakes, flavored drink mixes, ice pops, and candy all contain dyes that continue tinting whatever they touch as they move through your system. Blueberries can also push stool into green territory, sometimes with a blue-green tint.
Iron Supplements and Medications
Iron supplements are one of the most reliable producers of dark green (sometimes nearly black) stool. This color change is not only harmless, it’s often considered a sign the supplement is being absorbed properly. If the dark color bothers you, a lower dose will typically lighten things up, but it’s worth knowing the change is expected.
Certain antibiotics can also tint stool yellow or green by altering the bacterial balance in your gut, which affects how bile gets processed.
When Fast Digestion Is the Cause
Sometimes dark green stool has nothing to do with what you ate. When food moves through your large intestine faster than normal, bile doesn’t have enough time to fully break down from green to brown. The result is stool that comes out green, often looser than usual. Anything that speeds up transit can trigger this: a stomach bug, a stressful day, too much coffee, or a sudden increase in fiber. If you’ve had diarrhea recently, that alone explains the color.
Infections That Cause Green Stool
Bacterial infections like Salmonella and E. coli, viral infections like norovirus, and parasites like Giardia can all produce green diarrhea. These pathogens cause a rapid “gush” of unabsorbed bile through your intestines, which doesn’t have time to change color. The key difference from a dietary cause is context: infection-related green stool almost always comes with other symptoms like cramping, fever, nausea, or watery diarrhea that lasts more than a couple of days.
Green Stool in Babies
Green poop in infants is extremely common and rarely a concern. Newborns pass meconium in their first few days, which is naturally dark green to black. After that transition, several things can keep stool green:
- Foremilk imbalance: If a breastfed baby doesn’t finish nursing on one side, they may get less of the higher-fat hindmilk. This changes how the milk is digested and can produce green stool.
- Specialty formulas: Protein hydrolysate formulas, used for babies with milk or soy allergies, often cause green poop.
- Developing gut bacteria: Breastfed infants sometimes lack certain intestinal bacteria in their early weeks, which affects bile processing.
- Diarrhea: Just like in adults, faster transit in a baby’s gut means bile stays green.
After Gallbladder Removal
If you’ve had your gallbladder removed, green stool may show up more often in the weeks and months afterward. Without the gallbladder to store and regulate bile release, more bile acids flow directly into the large intestine. This excess bile can act as a laxative, speeding transit and giving stool a green tint. For most people this gradually improves as the body adapts, though some experience looser, greener stools intermittently for longer.
Dark Green vs. Black and Tarry
This is the distinction worth paying attention to. Dark green stool from food or supplements is firm or normal in consistency and doesn’t smell unusually foul. Black, tarry stool with a sticky texture and strong odor is a different situation entirely. That appearance, called melena, can indicate bleeding in the upper digestive tract, such as the stomach or upper small intestine. Iron supplements can sometimes make stool dark enough to cause confusion, but truly tarry, sticky black stool that you can’t trace to iron or bismuth-containing medications (like Pepto-Bismol) warrants prompt medical attention.
Green stool that persists for more than a few days without an obvious dietary explanation, or that comes alongside fever, severe abdominal pain, or blood, is also worth getting checked. But if you had a big spinach salad last night or just started an iron supplement, you already have your answer.

