Green Poop: What It Means and When to Worry

Green poop is almost always harmless. In most cases, it means you ate something green, food moved through your intestines faster than usual, or you’re taking a supplement that changes stool color. Occasionally it signals an infection, but that typically comes with other obvious symptoms like cramping or fever.

How Stool Gets Its Color

Your liver produces bile, a yellow-green fluid that helps break down fats. As bile travels through your intestines, bacteria chemically transform it from green to yellow to brown. This process takes time. The longer digested food sits in your colon, the browner your stool becomes. Anything that speeds up that journey, or floods your system with extra green pigment, can leave you with a green result.

Normal whole-gut transit time ranges from about 10 to 73 hours. When food passes through on the faster end of that range, bile doesn’t fully break down, and stool retains its greenish tint.

Foods That Turn Stool Green

The most common cause is simply eating green things. Leafy vegetables like spinach, kale, and broccoli are loaded with chlorophyll, the pigment that makes plants green. Eat enough of them and your stool will reflect it. This is completely normal and a sign your diet includes plenty of vegetables.

Artificial food coloring does the same thing. Green frosting on a cupcake, brightly dyed candy, grape-flavored drinks (which often contain blue dye that mixes with yellow bile), and green popsicles can all produce stool that looks surprisingly vivid. If you recently ate or drank something with heavy food coloring, that’s likely your answer.

Medications and Supplements

Iron supplements are a well-known culprit. They can turn stool dark green or greenish-black, which sometimes alarms people who mistake it for blood. Bismuth subsalicylate, the active ingredient in Pepto-Bismol, can produce similar color changes. Certain antibiotics also cause green stool by disrupting the gut bacteria responsible for converting bile pigments to brown. If you recently started any of these, the color change is an expected side effect and not a reason for concern.

Fast Transit and Diarrhea

When your digestive system is moving quickly, whether from a stomach bug, food intolerance, or stress, bile doesn’t have time to complete its chemical transformation. The result is stool that stays green. This is why diarrhea often has a greenish color regardless of what you’ve eaten. Once your digestion returns to its normal pace, the brown color comes back.

Conditions like irritable bowel syndrome, food poisoning, and viral gastroenteritis all speed up transit time. In these cases, green stool is a side effect of the faster movement, not a separate problem to worry about.

After Gallbladder Removal

If you’ve had your gallbladder removed, green stool can become more common. The gallbladder normally stores and concentrates bile, releasing it in measured amounts when you eat fat. Without it, your liver sends a slow, steady stream of unconcentrated bile directly into the small intestine. This changes how bile acids circulate and can result in looser, greener stools, especially after fatty meals. For many people this improves over weeks to months as the body adjusts, though some experience ongoing changes.

Green Stool in Babies

Parents often notice green stool in infants, and it’s usually not a problem. In breastfed babies, green poop can happen when a baby doesn’t fully empty one breast before switching sides. The earlier milk (foremilk) is lower in fat, and without enough of the higher-fat hindmilk, digestion changes in a way that produces green stool. Letting the baby finish one breast before offering the other often resolves it.

Babies on protein hydrolysate formula, which is designed for infants with milk or soy allergies, commonly produce green stool as well. So do breastfed newborns whose guts haven’t yet developed a full population of intestinal bacteria. In all of these cases, the green color reflects normal digestive variation, not illness. If the baby also has diarrhea, seems unusually fussy, or isn’t feeding well, that’s worth bringing up with a pediatrician.

When the Color Actually Matters

Green on its own is not a warning sign. The colors that do warrant prompt attention are bright red and black. Bright red stool can indicate bleeding in the lower digestive tract, while black, tarry stool can signal bleeding higher up, such as in the stomach. These are situations that need immediate medical evaluation.

Green stool paired with persistent diarrhea lasting more than a few days, high fever, significant abdominal pain, or signs of dehydration is worth investigating. In that scenario, the concern isn’t the color itself but the underlying infection or inflammatory process driving those symptoms. A stool sample can help identify whether a bacterial or parasitic infection is responsible.

For the vast majority of people who glance into the toilet and see green, the explanation is somewhere in their recent meals, a supplement bottle on the counter, or a day when things just moved through a little faster than usual.