Why Is My Poop Green? Causes and When to Worry

Green poop is almost always harmless. The most common reason is something you ate, whether that’s a big spinach salad or a cupcake with bright frosting. The second most common reason is that food moved through your intestines faster than usual, which changes the color of a digestive fluid called bile before your body can finish processing it.

How Bile Makes Your Poop Brown (or Green)

Your liver produces bile, a greenish fluid that helps you digest fats. As bile travels through your intestines, bacteria break it down and gradually change its color from green to yellow to brown. That process takes time. When everything moves at a normal pace, your stool ends up the familiar brown color by the time it reaches the exit.

When food moves through your large intestine too quickly, bile doesn’t have time to break down completely. The result is stool that still carries that original green tint. This is why diarrhea and green poop so often show up together: rapid transit means less time for color conversion.

Foods That Turn Stool Green

Leafy greens are the most obvious culprit. Spinach, kale, and broccoli are packed with chlorophyll, the pigment that makes plants green, and it can do the same to your stool. Other green foods have the same effect: avocados, fresh herbs, and matcha (powdered green tea) can all shift the color noticeably.

Artificial food dyes are another common cause, and they don’t even need to be green themselves. Blue and purple dyes in candy, frosting, sports drinks, and ice cream can mix with the yellow of your bile and produce a vivid green. If your poop turned green a day after eating something with bright, unnatural coloring, that’s likely your answer.

Iron supplements are worth mentioning too. They can turn stool dark green or even black. If you recently started taking iron, the color change is expected and not a concern on its own.

Infections and Rapid Transit

Bacterial infections like Salmonella and E. coli, viral infections like norovirus, and parasites like Giardia can all cause green diarrhea. These pathogens trigger a rapid “gush” through the intestines, pushing food and bile through so fast that the normal color change never happens. You’ll usually know the difference between diet-related green stool and an infection because infections come with other symptoms: cramping, nausea, fever, or watery diarrhea that lasts more than a day.

Conditions that affect how well you absorb nutrients can also play a role. Celiac disease and Crohn’s disease both speed up transit time or interfere with digestion in ways that alter stool color. If green stool keeps recurring alongside bloating, weight loss, or greasy stools that float, a digestive condition may be worth investigating.

Green Poop in Babies

A newborn’s very first bowel movements are a sticky, greenish-black substance called meconium. This is completely normal and clears within the first few days of life.

Breastfed babies sometimes produce bright, frothy green poop. This often happens when a baby gets more of the thinner milk at the start of a feeding (foremilk) and less of the fattier milk that comes later (hindmilk). Letting the baby finish one breast completely before switching to the other can help balance this out.

Formula-fed babies may have green stool simply because their formula contains added iron. If the color concerns you, check the label for iron content. Switching formulas is an option, but it’s worth discussing with a pediatrician first since iron is important for development.

When Green Stool Needs Attention

A single green bowel movement, or even a few days of green stool after a dietary binge, is not a medical concern. The Mayo Clinic recommends contacting a healthcare professional if green stool persists for more than a few days without an obvious dietary explanation.

Green stool paired with diarrhea raises the risk of dehydration, especially in young children and older adults. If diarrhea accompanies the color change, staying on top of fluid intake matters. Seek prompt medical attention if you notice signs of dehydration: dry mouth, dizziness, dark urine, or in infants, fewer wet diapers than usual. Blood in the stool, high fever, or severe abdominal pain alongside green stool also warrant a call to your doctor rather than a wait-and-see approach.