Green poop usually means one of two things: you ate something very green, or food moved through your digestive system faster than normal. In most cases, it’s harmless and resolves on its own within a day or two.
To understand why, it helps to know where your stool’s normal brown color comes from. Your gallbladder releases bile, a yellow-green fluid that helps digest fats. When bile first enters your intestines, it’s green. As it travels through your digestive tract, enzymes chemically break it down, gradually shifting the color from green to yellow to brown. If anything disrupts that process, the green pigment sticks around.
Green Vegetables and Chlorophyll
The most common and least worrisome cause is simply eating a lot of green food. Spinach, kale, broccoli, avocados, herbs, pistachios, and matcha (powdered green tea) all contain high levels of chlorophyll, the pigment that makes plants green. Eat enough of it, and that same pigment colors your stool. This is completely normal and stops once you cut back or vary your diet. No treatment needed.
Artificial food dyes can do the same thing. Blue or purple dyes in candy, frosting, ice cream, or drinks can mix with the yellow-green bile in your gut and produce a surprisingly vivid green result. If your stool turned green after a birthday party or a brightly colored sports drink, that’s likely the explanation.
Rapid Transit: When Food Moves Too Fast
When food rushes through your large intestine faster than usual, bile doesn’t have enough time to complete its chemical breakdown from green to brown. The result is green stool, often loose or watery. This is called rapid transit, and it’s the mechanism behind most non-dietary cases of green poop.
Anything that speeds up digestion can trigger it. Diarrhea from a stomach bug, food intolerance, stress, too much coffee, or even a particularly large meal can push things through before bile is fully processed. If the green color shows up alongside diarrhea and then disappears when your digestion returns to normal, rapid transit was almost certainly the cause.
Infections That Cause Green Stool
Certain infections cause a rapid, forceful flush of unabsorbed bile through the intestines, resulting in green diarrhea. The most common culprits are bacterial infections like Salmonella and E. coli, viral infections like norovirus (the classic “stomach flu”), and the parasite Giardia, which is often picked up from contaminated water.
With an infection, green stool won’t be your only symptom. You’ll typically also have cramping, nausea, fever, or watery diarrhea that lasts several days. If you’re experiencing these symptoms together, the color is a clue that your gut is moving everything through too quickly for normal digestion to occur. Staying hydrated matters more than worrying about the color itself, since diarrhea-related dehydration is the real risk.
Medications and Supplements
Iron supplements are a well-known cause of dark green (sometimes almost black) stool. This is actually considered a sign that your body is processing the iron. It’s harmless, though it can be startling if you’re not expecting it. Lowering the dose typically lightens the color if it bothers you.
Antibiotics can also turn stool green by disrupting the balance of bacteria in your gut. Your intestinal bacteria play a role in breaking down bile pigments, so when antibiotics wipe out some of those bacteria, bile passes through less fully processed. The green tint usually resolves after you finish the course of medication and your gut bacteria recover.
Gallbladder removal is another trigger. Without a gallbladder to regulate bile release, more bile can flood into the digestive tract at once, sometimes causing greenish diarrhea. This is typically temporary as your body adjusts over weeks to months.
Digestive Conditions
Chronic green stool that comes and goes over weeks or months can sometimes point to an underlying digestive condition. Irritable bowel syndrome, Crohn’s disease, and ulcerative colitis can all cause episodes of rapid transit that leave stool green. In these cases, the color change is usually accompanied by other persistent symptoms like abdominal pain, bloating, mucus in the stool, or alternating bouts of diarrhea and constipation.
Green Poop in Babies
Green stool in infants is common and usually not a concern. Newborns pass dark green-black meconium in their first few days, which is entirely normal. After that transition, breastfed babies may occasionally produce green poop for several reasons.
One common cause in breastfed babies is lactose overload, which happens when milk moves through the baby’s system too quickly for all the lactose to be digested. This can produce frequent, large, runny stools that may be green, frothy, or explosive. Dark green poop in small amounts, on the other hand, can sometimes indicate a baby isn’t getting enough milk. Formula-fed babies on iron-fortified formula may also produce greenish stool, for the same reason iron supplements affect adults.
When Green Stool Needs Attention
A single green bowel movement, or even a few days of green stool after eating a big salad or recovering from a stomach bug, is not a medical concern. The color alone is rarely meaningful without other symptoms.
Green stool that persists for more than a few days without an obvious dietary explanation is worth investigating, especially if it comes with fever, persistent diarrhea, blood or mucus, significant abdominal pain, or signs of dehydration like dark urine, dizziness, or (in children) fewer wet diapers than usual. In those situations, the green color is pointing to something that needs its own evaluation, whether that’s an infection, a food intolerance, or an inflammatory condition.