Green poop is almost always normal. In most cases, it simply means you ate something green or your food moved through your digestive system a little faster than usual. The color of your stool falls on a spectrum from green to yellow to brown, and all of those shades are considered healthy.
That said, there are a few situations where green stool signals something worth paying attention to. Here’s what’s actually going on inside your body and when the color matters.
Why Stool Is Brown in the First Place
Your stool gets its color from bile, a digestive fluid your liver produces to help break down fats. Bile starts out green because it contains a pigment called biliverdin, which is derived from old red blood cells your body is recycling. As bile travels through your intestines, bacteria break it down into brown-colored compounds. That’s what gives stool its typical color.
When food moves through your gut at a normal pace, bacteria have plenty of time to complete that green-to-brown conversion. But if anything speeds up the process, bile doesn’t fully break down, and your stool comes out green. This is the single most common explanation for green poop that isn’t diet-related.
Foods That Turn Your Stool Green
The most straightforward cause is simply eating green things. Chlorophyll, the pigment that makes plants green, can do the same to your stool. Spinach, kale, and broccoli are the usual suspects, but avocados, fresh herbs, matcha, and pistachios all contain enough chlorophyll to shift your stool color. You don’t have to eat an unusual amount. A big salad or a green smoothie can be enough.
Blueberries can also produce greenish shades, which surprises people since the fruit itself is dark blue. And artificial food coloring is a powerful stool-tinter. Brightly frosted cupcakes, rainbow candy, or drinks with green or blue dye can easily change your poop color for a day or two. If you ate or drank anything with noticeable coloring in the last 24 to 48 hours, that’s likely your answer.
Supplements and Medications
Iron supplements are one of the most common pill-related causes of green (or very dark green) stool. Bismuth subsalicylate, the active ingredient in several over-the-counter anti-diarrheal medications, can react with sulfur in your digestive tract and 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 from green to brown. If your stool turns green while you’re on a course of antibiotics, the medication is the likely cause, and the color typically returns to normal after you finish.
Fast Digestion and Diarrhea
Anything that speeds up your digestion can produce green stool, because bile doesn’t have enough time to complete its color transformation. Stress, a stomach bug, food that didn’t agree with you, too much coffee, or even intense exercise can all accelerate transit time. You’ll often notice this alongside loose stools or outright diarrhea.
A single episode of green diarrhea after a questionable meal is not alarming. It usually resolves on its own within a day. Staying hydrated is the main priority, especially if you’re losing fluids through frequent loose stools.
Infections That Cause Green Stool
When green stool comes with fever, cramping, vomiting, or lasts more than a couple of days, an infection could be the cause. Several common gut infections produce green diarrhea because they push food through your intestines so quickly that bile stays unprocessed.
- Salmonella and E. coli are bacterial infections typically caused by contaminated food. Both cause stomach cramps and diarrhea, and E. coli can sometimes produce bloody stool.
- Norovirus and rotavirus are highly contagious viral infections that cause stomach pain, diarrhea, and vomiting. They tend to resolve within one to three days.
- Giardia is an intestinal parasite often picked up from contaminated water. It produces foul-smelling, greasy stools along with gas, bloating, and dehydration.
The green color itself isn’t what makes these concerning. It’s the accompanying symptoms: persistent diarrhea, fever, blood in the stool, or signs of dehydration like dizziness and dark urine.
Green Stool in Babies
Green poop in newborns and infants is extremely common and rarely a problem. In the first few days of life, babies pass meconium, which is dark green to black. After that, breastfed babies can have a wide range of stool colors, including green, yellow, and mustard brown.
A few specific situations produce green stool in babies. If a breastfed infant doesn’t finish nursing on one side, they may get more of the lower-fat foremilk and less of the higher-fat hindmilk, which can affect digestion and produce greener stool. Babies on protein hydrolysate formula (used for milk or soy allergies) also tend to have green poop. And breastfed infants who haven’t yet developed a full population of gut bacteria may produce green stool simply because those bacteria aren’t there yet to complete the bile conversion process.
Diarrhea in infants can also cause green stool for the same transit-time reasons it does in adults. If your baby has green diarrhea with signs of dehydration (fewer wet diapers, no tears when crying, unusual fussiness), that’s worth a call to your pediatrician.
When Green Stool Needs Attention
A day or two of green poop after a big spinach salad, a course of antibiotics, or a mild stomach bug is nothing to worry about. The Mayo Clinic advises contacting a healthcare provider if green stool persists for more than a few days without an obvious dietary explanation, or if it’s accompanied by diarrhea severe enough to cause dehydration. Blood in the stool, high fever, or significant abdominal pain alongside green diarrhea also warrant a call.
For the vast majority of people who notice green in the toilet bowl, the explanation is something they ate, something they took, or a temporary speed-up in digestion. It resolves on its own, usually within one to two bowel movements.

