Bright green poop is almost always harmless. The most common cause is something you ate, whether that’s a pile of leafy greens, a brightly dyed sports drink, or a handful of pistachios. The second most common cause is food moving through your digestive system faster than usual, which prevents bile from completing its normal color change from green to brown.
How Bile Makes Poop Green
Your liver produces bile, a yellow-green fluid that helps break down fats. As bile travels through your intestines, bacteria gradually convert it into brown pigments. That process is what gives stool its typical brown color. When food passes through your large intestine too quickly, bile doesn’t have time to fully break down, and it stays green. This is why diarrhea often has a green tint. Anything that speeds up digestion, from a stomach bug to stress to a strong cup of coffee, can produce this effect.
Foods That Turn Stool Green
Chlorophyll, the pigment that makes plants green, passes through your digestive tract largely intact. If you eat enough of it, the color shows up in the toilet. Spinach, kale, and broccoli are the usual suspects, but the list goes further than most people expect: avocados, fresh herbs, matcha, and pistachios all contain enough chlorophyll to visibly change your stool color. The brighter or darker green the food, the more likely the effect.
Artificial food dyes are another frequent cause, and they can produce an especially vivid green. Blue and green dyes used in candy, ice cream, frosting, sports drinks, and flavored cereals mix with the yellow of your bile and create a striking bright green. If you ate or drank something with an unusual color in the past day or two, that’s probably your answer.
Infections and Stomach Bugs
Bacterial infections like Salmonella and E. coli, viral infections like norovirus, and parasites like Giardia can all cause green diarrhea. These infections trigger a rapid “gush” of unabsorbed bile through your intestines, and the speed of transit keeps everything green. You’ll usually know an infection is the cause because it comes with other symptoms: cramping, nausea, fever, or watery diarrhea that lasts more than a day. Green stool on its own, without these symptoms, is rarely an infection.
Medications and Supplements
Iron supplements are one of the most reliable producers of dark green (sometimes nearly black) stool. This is a normal chemical reaction between iron and your digestive enzymes, not a sign of a problem. Antibiotics can also cause green stool by disrupting the gut bacteria responsible for converting bile to its usual brown color. If you recently started a new medication or supplement and noticed the change, the timing is probably not a coincidence. The color typically returns to normal once you finish the course or your gut bacteria rebalance.
Green Poop in Babies
Bright, frothy green poop in breastfed babies often means they’re getting more foremilk (the thinner milk at the beginning of a feeding) and less hindmilk (the fattier milk that comes later). This can happen when a parent switches breasts too quickly during a feed. Letting the baby fully drain one breast before offering the other usually resolves it.
For formula-fed babies, green stool is commonly caused by the iron added to many formulas. It’s not harmful, but if you’re concerned, checking the iron content on the label and discussing alternatives with a pediatric nurse or doctor is a reasonable step.
When Green Stool Signals Something Deeper
Conditions that interfere with nutrient absorption, like celiac disease or Crohn’s disease, can change stool color because the damaged intestinal lining doesn’t process bile normally. Celiac disease, for instance, flattens the tiny finger-like projections in the small intestine that absorb nutrients, leading to malabsorption. These conditions typically produce other noticeable symptoms over time: bloating, gas, weight loss, fatigue, or foul-smelling stools. A single episode of green poop without other symptoms is not a sign of these conditions.
Stool color alone is rarely a cause for alarm. Green is benign in the vast majority of cases. The colors that do warrant immediate attention are bright red and black, both of which can indicate bleeding in the digestive tract. If your stool is green but you feel fine otherwise, the most likely explanation is something you ate or a temporary change in how fast food moved through your system. It will almost certainly return to brown within a day or two.

