Green poop is almost always caused by something you ate. Leafy greens, artificial food coloring, blueberries, and iron supplements are the most common culprits. Less often, green stool signals that food moved through your digestive system faster than usual, leaving bile pigments without enough time to break down into their normal brown color.
How Stool Gets 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 chemically transform it from green to yellow to brown. That final brown is what most people see in the toilet on a typical day. Anything that disrupts this process, whether it’s a food that adds its own pigment or a condition that speeds digestion, can leave your stool looking green.
Foods That Turn Stool Green
Chlorophyll is the pigment that makes plants green, and it can do the same to your stool. Spinach, kale, and broccoli are the usual suspects, but avocados, fresh herbs, matcha, and pistachios all carry enough chlorophyll to cause a noticeable color shift. You don’t need to eat an unusual amount. A large salad or a green smoothie can be enough.
Blueberries and blackberries can also produce green stool, which surprises people who expect a blue or purple tint. The interaction between these naturally blue pigments and bile creates a greenish result instead. Artificial food coloring, especially blue and green dyes found in candy, frosting, freeze pops, and brightly colored drinks, does the same thing and tends to produce even more vivid shades.
Iron Supplements and Medications
Iron supplements are one of the most common non-food causes of green stool. Unabsorbed iron reacts with other compounds in the gut and often turns stool dark green or even black. This is harmless and expected. If you’ve recently started an iron supplement and noticed the change, that’s the likely explanation.
Some antibiotics can also shift stool color toward green or yellow. Antibiotics alter the balance of gut bacteria, which are responsible for converting bile from green to brown. When those bacterial populations are disrupted, bile pigments pass through less fully processed, and the green shows through. The color typically returns to normal once you finish the course of medication and your gut bacteria recover.
Rapid Transit Through the Gut
When food moves through your intestines faster than normal, bile doesn’t have time to complete its color transformation. The result is stool that retains bile’s original green tint. This is why green poop frequently accompanies diarrhea, regardless of the underlying cause. Food poisoning, stomach viruses, food intolerances, and even stress-related gut motility changes can all speed transit time enough to produce green stool.
Gallbladder removal can also contribute. Without a 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 things along and giving stool a greenish color. Some people experience this for weeks or months after surgery before their digestive system adjusts.
Green Stool in Babies
Green poop in newborns is normal and expected. A baby’s first bowel movements (meconium) are dark greenish-black. Over the first few days, stool transitions through shades of green before settling into the yellow or mustard color typical of breastfed infants, or the tan-brown common with formula.
After that initial period, green stool in breastfed babies sometimes happens when a baby doesn’t finish feeding on one side before switching. The earlier milk in a feeding session is lower in fat, and when a baby gets mostly this lower-fat milk, it can affect digestion and produce greener stool. Babies on protein hydrolysate formula, which is designed for milk or soy allergies, also commonly have green stool. Diarrhea in infants produces green stool for the same reason it does in adults: faster transit means less bile breakdown.
When Green Stool Is Worth Watching
A single green bowel movement, or even a few days of green stool after eating something obvious, is not a concern. The color change is cosmetic, not medical. Most people can trace it back to a specific food or supplement without much difficulty.
Green stool that persists for more than a few days without a clear dietary explanation is worth mentioning to a doctor. The same goes for green stool paired with diarrhea that lasts long enough to risk dehydration. Signs of dehydration include dark urine, dizziness, dry mouth, and in infants, fewer wet diapers than usual. In these cases, the concern isn’t the color itself but the underlying cause of the prolonged digestive disruption.