Green poop usually means one of two things: you ate something green, or food moved through your digestive system faster than normal. In most cases, it’s completely harmless and resolves on its own within a day or two.
To understand why, it helps to know that your stool starts out green. Your liver produces bile, a green digestive fluid, every time you eat. As bile travels through your digestive tract, enzymes chemically alter it, gradually shifting the color from green to the familiar brown. When something interrupts or speeds up that process, the bile doesn’t fully break down, and your stool comes out green.
Foods That Turn Stool Green
The most common cause of green poop is simply your diet. Chlorophyll, the pigment that makes plants green, can tint your stool when you eat enough of it. Spinach, kale, and broccoli are the usual suspects, but the list also includes avocados, fresh herbs, matcha, pistachios, and even blueberries (which can produce green rather than blue). If you’ve been eating salads or green smoothies, your stool color is almost certainly reflecting your plate.
Artificial food coloring is another culprit. Brightly frosted cupcakes, colored candy, or drinks with green or blue dyes continue tinting whatever they touch as they pass through your system. The green color typically shows up within a day of eating the food and disappears once you stop.
Diarrhea and Fast Transit
When food moves through your large intestine too quickly, bile doesn’t have time to complete its chemical transformation from green to brown. This is why a bout of diarrhea, whatever its cause, often produces green stool. The faster things move, the greener the result.
This also explains why green stool sometimes appears during stomach bugs, food poisoning, or any illness that sends you to the bathroom more frequently than usual. The color itself isn’t the problem. It’s just a visible sign that your gut is working in a hurry.
Infections That Cause Green Stool
Certain infections speed up digestion enough to produce noticeably green diarrhea. Salmonella (commonly from undercooked poultry or contaminated produce), the parasite giardia (often picked up from contaminated water), and norovirus all cause your gut to flush its contents faster than normal. The green tinge comes from that same incomplete bile breakdown, not from the pathogen itself.
If your green stool comes with watery diarrhea, cramping, fever, or vomiting, an infection is more likely than a dietary cause. Staying hydrated matters most during these episodes, since the rapid fluid loss from diarrhea can lead to dehydration quickly.
Medications and Supplements
Iron supplements are well known for turning stool dark green, sometimes so dark it looks almost black. This is normal and some physicians actually consider it a sign the supplement is being absorbed properly. If the color bothers you, a lower dose may help while still providing the iron you need.
Some antibiotics can also shift stool color to green or yellow. Antibiotics alter the balance of bacteria in your gut, which can change how bile is processed during digestion. The color change typically resolves after you finish the course of medication.
Green Poop in Babies
Green stool in babies is common and usually not a concern, but the causes differ from adults. Newborns pass meconium, a dark greenish-black stool, in their first few days of life. This is normal and transitions to yellow or mustard-colored stool as breastfeeding gets established.
In breastfed babies, green, frothy, or explosive stools can signal lactose overload. This happens when breastmilk moves through the baby’s system too quickly for all the lactose to be digested. Fat in breastmilk normally slows digestion and gives the baby’s body time to break down lactose. When feeds are short or milk supply is very high, the baby may get less of the fat-rich milk that comes later in a feeding. The result is that lactose passes through partially undigested, causing gas, tummy pain, and green runny poop.
Dark green stool in small amounts can sometimes mean a baby isn’t getting enough milk overall. Green poop on its own, without fussiness or feeding problems, is often perfectly normal.
When Green Stool Signals Something More
Occasional green poop after a big salad or a stomach bug is nothing to worry about. It becomes worth paying attention to when it persists for more than a few days without an obvious dietary explanation.
Chronic, unexplained green diarrhea can occasionally point to bile acid malabsorption, a condition where excess bile acids pass into the colon instead of being reabsorbed in the small intestine. This causes ongoing watery diarrhea that may appear green or yellow. Current guidelines recommend screening for bile acid malabsorption in anyone with chronic diarrhea that doesn’t have a clear cause.
The combination of green stool with dehydration symptoms (dizziness, dry mouth, dark urine, or in children, fewer wet diapers) warrants prompt medical attention. Green stool accompanied by significant abdominal pain, blood, or high fever also deserves a closer look. But on its own, green poop is one of those things that looks alarming and almost never is.

