Green poop is almost always harmless. The most common causes are eating green vegetables, consuming foods with artificial dyes, taking certain supplements, or having food move through your digestive system faster than usual. In most cases, the color returns to normal within a day or two without any action on your part.
How Stool Gets Its Color
Your liver produces bile, a yellow-green fluid that helps break down fats in your small intestine. As bile travels through your digestive tract, bacteria and enzymes gradually transform it from green to yellow to brown. That final brown color is what most people see in the toilet on a typical day.
When something speeds up digestion, food passes through your large intestine too quickly for that full chemical conversion to happen. The bile stays partly green, and so does your stool. This is why diarrhea often comes out greenish. It’s not a sign of damage. It simply means transit was too fast for the normal color change to finish.
Green Foods and Food Dyes
Chlorophyll, the pigment that makes plants green, can do the same thing to your stool. The more you eat, the more vivid the effect. Common culprits include spinach, kale, broccoli, pistachios, avocados, fresh herbs, and matcha. If you had a large salad or a green smoothie in the past day or two, that’s likely your answer.
Artificial food coloring is another frequent cause. Brightly frosted cupcakes, flavored drink mixes, ice pops, and rainbow candy can all tint your stool in unexpected shades. The dye continues coloring whatever it touches as it moves through your gut. If you ate or drank something with intense coloring recently, especially blue or green dyes, that’s enough to explain it.
Supplements and Medications
Iron supplements are one of the most common non-food causes of green stool. They can darken your stool and give it a greenish or even black hue. This is a well-known side effect and not a reason for concern on its own.
Several over-the-counter medications can also change stool color. Bismuth subsalicylate, the active ingredient in some antidiarrheal products, reacts with sulfur in your digestive system and can turn stool dark green or black. Antacids containing aluminum hydroxide sometimes produce greenish stool as a side effect. Antibiotics can disrupt the normal balance of gut bacteria, which alters how bile gets processed and may shift stool color toward green.
Rapid Transit and Digestive Upset
Any condition that speeds up digestion can result in green stool, because bile doesn’t have enough time to complete its transformation to brown. Stomach bugs, food poisoning, and intestinal infections all cause rapid transit. Bacterial infections like Salmonella and parasitic infections like Giardia are known to produce green, watery stools alongside other symptoms like cramping, nausea, and fever.
Stress and anxiety can also accelerate gut motility. If you’ve been under significant stress and notice looser, greener stools, the two are likely connected. The same applies to heavy caffeine or alcohol intake, both of which can push food through your system faster than normal.
Green Stool in Babies
If you’re a parent searching this for your infant, green poop is extremely common in newborns and breastfed babies. In the first few days of life, babies pass meconium, a dark greenish-black stool that’s completely normal. Breastfed babies may continue to have greenish stools depending on the mother’s diet and how quickly milk moves through the baby’s system. Formula-fed babies sometimes produce green stool as well, particularly when switching formulas. In healthy, growing babies, green poop on its own is rarely a problem.
When Green Stool Signals a Problem
Green stool by itself, with no other symptoms, is typically nothing to worry about. It becomes worth paying attention to when it shows up alongside other signs. Persistent diarrhea lasting more than a few days, fever, significant abdominal pain, blood or mucus in your stool, or unexplained weight loss all warrant a closer look from a healthcare provider. These combinations can point to infections, inflammatory bowel conditions, or other digestive issues that need treatment.
If your stool is green for a day or two after a big plate of spinach or a course of antibiotics, you can expect it to resolve on its own. If the color persists for more than a few days with no obvious dietary explanation, or if you feel genuinely unwell, that’s a reasonable time to get it checked out.