Green poop usually means one of two things: something you ate was packed with green pigment, or food moved through your intestines too quickly for the normal color change to happen. In most cases, it’s harmless and resolves on its own within a day or two.
How Poop Gets Its Normal Brown Color
Your liver constantly produces bile, a yellow-green fluid that helps break down fats. Bile gets its color from a green pigment called biliverdin, which is made when your body recycles old red blood cells. As bile travels through your intestines, gut bacteria gradually convert that green pigment into a brownish compound called fecobilinogen. That’s what gives stool its characteristic brown color.
This conversion takes time. If anything speeds up digestion, whether it’s a stomach bug, stress, or a large coffee, food passes through before bacteria can finish the job. The bile pigment stays partially green, and so does your stool. This “rapid transit” explanation accounts for the majority of unexplained green poop episodes.
Foods That Turn Stool Green
The most straightforward cause is eating a lot of green foods. Spinach, kale, broccoli, avocados, herbs, and pistachios all contain chlorophyll, the pigment that makes plants green. Eat enough of it, and that pigment passes through your system largely intact. Matcha (powdered green tea) is a particularly concentrated source and can produce a vivid green result.
Blueberries can also cause green stool, which surprises most people. The deep blue and purple pigments in the fruit can mix with yellow-green bile during digestion and come out looking green rather than the dark blue you might expect. The same thing happens with artificial food dyes. Brightly colored frosting, drink mixes, ice pops, and candy contain dyes that keep tinting whatever they touch all the way through your digestive tract. Blue or purple dyes are especially likely to produce green stool once they combine with bile.
Medications and Supplements
Several common over-the-counter products can change your stool color to green or dark green:
- Iron supplements darken stool and often give it a green or blackish-green hue. This is one of the most common supplement-related causes.
- Antidiarrheal medications containing bismuth subsalicylate react with sulfur in your digestive system, producing dark green or even black stool.
- Antacids with aluminum hydroxide can cause greenish poop as a side effect.
- Antibiotics disrupt the normal balance of gut bacteria. Since those bacteria are responsible for converting green bile pigment to brown, a course of antibiotics can temporarily leave your stool green until your gut flora recovers.
If you recently started any of these, the timing is probably not a coincidence. The color change typically resolves once you stop the medication or your body adjusts to it.
Diarrhea and Infections
Any illness that causes diarrhea can produce green stool, simply because everything is moving through your gut faster than normal. Food poisoning, viral stomach bugs, and parasitic infections all speed up transit time dramatically. When your intestines are pushing contents through in hours rather than the usual day or more, bile barely gets processed at all.
Bacterial infections like Salmonella and parasites like Giardia are known to cause watery, green-tinged diarrhea. In these cases, the green color isn’t the main concern. Pay attention to whether you also have fever, cramping, blood in your stool, or diarrhea lasting more than a few days. Those symptoms point to an infection that may need treatment rather than simple dietary color change.
Green Stool in Babies
Green poop in infants is extremely common and usually normal. Newborns pass dark green-black meconium in their first few days, which gradually transitions to lighter colors. Beyond that initial period, several things can keep a baby’s stool green:
- Foremilk/hindmilk imbalance: If a breastfed baby doesn’t fully finish one breast before switching, they may get more of the thinner, lower-fat milk at the start of a feeding. This can speed digestion and produce green stool.
- Immature gut bacteria: Breastfed infants sometimes lack the full range of intestinal bacteria needed to convert bile pigments to brown. Their stool stays green until those bacterial colonies establish themselves.
- Specialty formulas: Protein hydrolysate formulas, used for babies with milk or soy allergies, commonly produce green stool.
- Diarrhea: Just like in adults, any illness that speeds up digestion can cause green poop in babies.
Occasional green diapers in an otherwise happy, feeding-well baby are rarely a problem. Persistent green, watery, or mucus-filled stools in a baby who seems uncomfortable or isn’t gaining weight are worth bringing up with a pediatrician.
When Green Poop Signals a Problem
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 medical concern. The color alone tells you very little about your health. What matters more is the full picture: how you feel, how long it lasts, and what else is going on.
Green stool that persists for more than a few days without an obvious dietary explanation, or that comes with fever, significant abdominal pain, blood, or ongoing diarrhea, is worth investigating. These combinations can indicate an infection, inflammatory bowel disease, or a malabsorption issue where your intestines aren’t processing nutrients properly. In those situations, the green color is just one piece of a larger pattern your doctor can evaluate.