Green stool is almost always harmless. In most cases, it means you ate something green, your food moved through your intestines faster than usual, or you’re taking a supplement that changes stool color. Occasionally, it signals an infection worth paying attention to.
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 color is what most people see day to day. Anything that interrupts this process, whether by adding green pigment to the mix or by speeding food through your gut before bile has time to fully change color, can leave you with green stool.
Foods That Turn Stool Green
The most common reason for green stool is simply eating green foods. Chlorophyll, the pigment that makes plants green, passes through your digestive system and can color your stool on the way out. Spinach, kale, and broccoli are the usual suspects, but avocados, fresh herbs, matcha, and even pistachios contain enough chlorophyll to have the same effect. Blueberries can also push stool into greenish shades.
Artificial food dyes are another frequent cause. Brightly colored frosting, drink mixes, ice pops, and candy continue tinting whatever they touch as they move through your gut. If you ate something with vivid green or blue dye in the last day or two, that’s likely your answer.
Iron Supplements and Medications
Iron supplements are well known for changing stool color, typically to dark green or black. This is a normal side effect of unabsorbed iron passing through your system and not a sign of a problem. Some medications can also upset your stomach enough to cause loose stools that move quickly through your intestines, and that rapid transit can give stool a greenish tint from unprocessed bile.
Fast Transit: When Food Moves Too Quickly
This is the mechanism behind most non-food-related green stool. When something causes diarrhea or speeds up digestion, bile doesn’t have enough time to complete its color change from green to brown. The result is stool that looks green simply because it passed through too fast.
Several things can trigger this rapid transit. A stomach bug (viral, bacterial, or parasitic) is one of the more common causes. Salmonella, E. coli, norovirus, and the waterborne parasite giardia can all cause your intestines to flush contents through quickly, producing green, watery diarrhea. Stress, food intolerances, and conditions like irritable bowel syndrome can also speed things up enough to affect stool color.
People who’ve had their gallbladder removed sometimes notice greenish diarrhea afterward. Without the gallbladder to store and release bile gradually, more bile flows directly into the intestines at once. This usually improves over time as the body adjusts.
Green Stool in Babies
Green stool in infants has its own set of causes and is usually nothing to worry about. Newborns pass meconium, a dark greenish-black stool, in their first few days of life. This is completely normal.
Beyond that initial period, breastfed babies may produce green stool if they don’t fully finish feeding on one side before switching. The earlier milk in a feeding is lower in fat, and missing the higher-fat milk that comes later can affect how the baby digests it, leading to greener output. Babies on protein hydrolysate formula (used for milk or soy allergies) also tend to have green stool. Breastfed infants who haven’t yet developed a full population of gut bacteria may see green stool as well. And just like in adults, diarrhea in babies speeds up transit time and can turn stool green.
When Green Stool Needs Attention
A single episode of green stool, or even a few days of it after eating a big salad or starting iron supplements, is not a concern. Your stool color naturally varies based on what you eat, and green falls well within the normal range.
Green stool paired with other symptoms is a different situation. If you’re also experiencing persistent diarrhea lasting more than a few days, fever, severe abdominal cramping, or signs of dehydration like dizziness and reduced urination, an infection may be at play. Blood in your stool, regardless of color, also warrants prompt evaluation. These combinations suggest something beyond diet is going on and are worth bringing to a healthcare provider.
If your stool is consistently green for weeks with no obvious dietary explanation, that’s also worth mentioning at your next appointment. It could point to a malabsorption issue or a change in how your gut processes bile that’s worth investigating.