Green poop usually means food moved through your intestines faster than normal, or you recently ate something with strong green pigments. In most cases, it’s harmless and resolves on its own within a day or two.
How Stool Gets Its Normal Color
Your liver produces bile, a green fluid that helps digest fats. As bile travels through your intestines, gut bacteria convert its main pigment (bilirubin) into a series of compounds that are initially light-colored. Only after these compounds contact oxygen do they transform into stercobilin, the pigment responsible for the familiar brown color of stool. This entire conversion process takes time, and anything that shortens that window can leave your stool green.
Fast Digestion Is the Most Common Cause
When food moves through your intestines too quickly, bacteria don’t have enough time to fully convert bile pigments. The result is stool that still carries bile’s original green color. This rapid transit can happen for a number of reasons: a stomach bug, food poisoning, anxiety, too much caffeine, or simply a meal that didn’t agree with you. Diarrhea of any kind tends to be greener than normal stool for exactly this reason.
Foods That Turn Stool Green
Eating large amounts of chlorophyll-rich foods is one of the most straightforward explanations. Spinach, kale, broccoli, avocados, fresh herbs, and matcha can all tint your stool green, especially if you eat them in quantity. Blueberries can also produce green-tinged stool, which surprises people expecting a darker shade.
Artificial food dyes are another common culprit. Brightly frosted cupcakes, flavored drink mixes, ice pops, and candy continue tinting whatever they touch as they pass through your digestive tract. A single birthday party can produce a startlingly green diaper or toilet bowl the next morning.
Supplements and Medications
Iron supplements frequently cause dark green or even blackish-green stool. This is a well-known side effect and not a sign of a problem. Bismuth subsalicylate, the active ingredient in some over-the-counter antidiarrheal medications, reacts with sulfur in your digestive system and can turn stool dark green or black. Antacids containing aluminum hydroxide can also produce a greenish tint.
Antibiotics deserve a separate mention. They can disrupt the balance of gut bacteria responsible for converting bile pigments, which means the normal brown-making process gets interrupted. If you notice green stool while on antibiotics, this is the likely explanation, and it typically resolves once you finish the course.
Green Stool in Babies
Green poop in newborns and infants is extremely common and rarely concerning. Meconium, the first stool a newborn passes, is dark greenish-black. In the days that follow, stool color shifts as the baby’s gut bacteria establish themselves.
In breastfed babies, green stool sometimes happens when the baby doesn’t finish feeding on one side before switching. The earlier milk is lower in fat, and missing the higher-fat hindmilk can affect how the milk is digested, producing greener stool. Breastfed infants may also have green stool simply because they haven’t yet developed the full range of intestinal bacteria needed to complete bile conversion. Babies on protein hydrolysate formula (used for milk or soy allergies) and iron-fortified formulas also tend to produce greener stool.
After Gallbladder Removal
If you’ve had your gallbladder removed, your body no longer stores and concentrates bile between meals. Instead, bile flows directly and continuously into your small intestine. This can send more bile acids into the large intestine than usual, which acts as a mild laxative, speeds transit, and can give stool a greenish color. For some people this effect is temporary, lasting a few weeks after surgery. For others, it persists longer and may come and go.
When Green Stool Signals a Problem
A single green bowel movement, or even a few in a row after a big salad or a stomach bug, is nothing to worry about. The color alone is not a red flag. What matters more is the context around it. Green stool accompanied by persistent diarrhea lasting more than a few days, fever, severe abdominal pain, or blood in the stool points to something that needs medical attention, such as a bacterial infection or an inflammatory condition.
Stool that is consistently pale, white, or clay-colored is more concerning than green, because it can indicate a blockage in bile flow. Black, tarry stool (when you’re not taking iron or bismuth) can signal bleeding in the upper digestive tract. Green, on its own, is almost always the least worrisome color change your stool can make.