Green poop is almost always harmless. In most cases, it means you ate something green, took a supplement that changed your stool color, or food moved through your intestines faster than usual. Understanding why it happens can help you figure out whether to shrug it off or pay closer attention.
Why Poop Is Normally Brown
Your liver produces bile, a yellow-green fluid that helps digest fats. When bile enters your intestines, it starts out green. As it travels through, bacteria in your gut break it down through several chemical stages, eventually converting it into a brown pigment called stercobilin. That pigment is what gives healthy stool its characteristic brown color.
Anything that disrupts this process, whether it’s speeding up digestion, overwhelming the color with green food, or changing your gut bacteria, can leave your stool looking green instead.
Fast Digestion Is the Most Common Cause
When food moves through your large intestine too quickly, bile doesn’t have time to fully break down. The green pigment stays intact, and your stool comes out green. This is why diarrhea often produces green stool, regardless of what you ate. Any bout of stomach illness, food intolerance reaction, or stress-related digestive upset that speeds up transit time can have this effect. Once your digestion returns to its normal pace, the brown color comes back.
Foods That Turn Stool Green
The chlorophyll in green vegetables is a powerful pigment, and eating large amounts of spinach, kale, or broccoli can turn your stool bright green. Avocados, fresh herbs, and matcha (powdered green tea) do the same thing. This is purely cosmetic and actually a sign you’re eating well.
Some less obvious foods can also be responsible:
- Blueberries and blackberries: These naturally blue foods can shift brown stool into green shades.
- Artificial food coloring: Brightly frosted cupcakes, candy, fruit snacks, freeze pops, and colored drinks contain dyes that keep tinting everything they touch as they pass through your system. Green and blue dyes are especially common culprits.
If you notice green stool a day or two after eating any of these, you’ve found your answer.
Supplements and Medications
Iron supplements are one of the most frequent non-food causes of green stool. They can turn your poop dark green or even blackish-green, which can look alarming but is a normal side effect of the iron passing through your system. Some antibiotics also tint stool yellow or green by altering the balance of gut bacteria that would normally complete the bile conversion process.
If you recently started a new supplement or medication and noticed the color change, that’s likely the explanation. The color typically returns to normal after you stop taking it.
Green Stool in Babies
Green poop in infants is common and usually not a problem, but it has some baby-specific causes worth knowing about. Newborns pass meconium in their first few days, which is a dark greenish-black stool that’s completely normal.
Beyond that early stage, green stool in breastfed babies sometimes happens when a baby doesn’t finish feeding on one side. This means they get more of the thinner, lower-fat milk at the start of a feeding and miss the higher-fat milk that comes later, which can affect how the milk is digested. Babies on protein hydrolysate formula (used for milk or soy allergies) also tend to have greener stools. And like adults, babies with diarrhea will often produce green stool simply because of faster transit time.
After Gallbladder Removal
If you’ve had your gallbladder removed, green stool may show up more often than it used to. Without a gallbladder to store and regulate bile, more bile acids flow directly into your large intestine. This extra bile can act as a laxative, speeding up transit time and preventing complete breakdown of the green pigment. For some people this settles down over weeks or months as the body adjusts. For others, it becomes an occasional recurring pattern.
When Green Stool Deserves Attention
A single green bowel movement, or even a few days of green stool after a big salad or a stomach bug, is not concerning. The color change you should actually worry about is red or black. Bright red stool or black, tarry stool can indicate bleeding somewhere in the digestive tract and warrants prompt medical attention.
Green stool becomes worth mentioning to a doctor if it persists for several weeks without any obvious dietary explanation, if it’s accompanied by ongoing diarrhea, fever, or abdominal pain, or if you notice mucus or other unusual changes alongside it. Persistent green diarrhea can occasionally signal a bacterial or parasitic gut infection that needs treatment. But for the vast majority of people who glance into the toilet and see green, the answer is somewhere in their last few meals.

