What Does Green Poop Mean? Causes and When to Worry

Green poop is almost always harmless. It typically means food moved through your digestive system faster than usual, or you ate something with strong green pigment. In most cases, your stool will return to its normal brown color within a day or two without any intervention.

Why Poop Is Brown in the First Place

The brown color of stool actually starts with the red of your blood. Your body constantly breaks down old red blood cells, converting the oxygen-carrying protein hemoglobin into a yellowish substance called bilirubin. Your liver uses bilirubin to make bile, a greenish fluid that gets released into your small intestine to help digest fats. As bile travels through your colon, bacteria break it down further and add a final pigment that turns everything brown.

When that process gets cut short, you see green. Green stools contain significantly more bile acids than brown ones, which means the bile didn’t have enough time to complete its chemical transformation. Anything that speeds up digestion or overwhelms the system with green pigment can shift the color.

Foods That Turn Stool Green

The most common culprit is simply eating a lot of green vegetables. Spinach, kale, broccoli, avocados, fresh herbs, and matcha all contain chlorophyll, the pigment that makes plants green. Eat enough of it, and that pigment passes through to your stool largely intact. Pistachios can do the same thing, since their green color also comes from chlorophyll and related plant compounds. Even blueberries can occasionally produce green shades.

Artificial food coloring is another frequent cause. Brightly frosted cupcakes, green-dyed drinks, and rainbow-colored candy can all tint your stool in unexpected ways. The dye keeps its color through digestion. If you ate or drank something with vivid coloring in the past 24 to 48 hours, that’s likely your answer.

Supplements and Medications

Iron supplements are well known for turning stool dark green, sometimes so dark it looks nearly black. This is normal and some doctors actually consider it a sign the iron is being absorbed properly. If the color change bothers you, your doctor can adjust the dose, but it isn’t a sign of a problem.

Antibiotics can also cause green stool by disrupting the balance of bacteria in your colon. Those bacteria are responsible for the final step that turns bile pigments brown. When antibiotics reduce their numbers, the conversion doesn’t happen completely, and stool stays green. This usually resolves once you finish the course of medication and your gut bacteria recover.

Rapid Transit: The Diarrhea Connection

In a healthy digestive system, food takes about 30 to 40 hours to travel through the colon, with anything up to 72 hours still considered normal. That timeframe gives bacteria plenty of opportunity to break down bile into its final brown form. When something causes diarrhea, whether it’s a stomach bug, food intolerance, or stress, transit time drops sharply. The bile rushes through before bacteria can finish processing it, and the result is green.

This is the reason green stool so often accompanies illness. Viral gastroenteritis (the most common type, caused by norovirus or rotavirus), bacterial food poisoning from contaminated food or water, and parasitic infections can all trigger rapid transit and green diarrhea. In these cases, the green color is a side effect of the speed, not a separate problem.

Digestive Conditions That Affect Bile

Certain chronic conditions interfere with how your body reabsorbs bile. Normally, your small intestine recycles most bile acids before they reach the colon. In people with Crohn’s disease affecting the lower small intestine, those with a history of intestinal surgery, or those who’ve had their gallbladder removed, bile acids can flood into the colon in excess. This causes watery, urgent diarrhea that may appear green, along with cramping and sometimes fecal incontinence.

Celiac disease and other malabsorption conditions can produce similar effects. If your green stools are persistent, accompanied by greasy or foul-smelling stool, unexplained weight loss, or chronic diarrhea, those patterns point toward something your body isn’t digesting or absorbing properly rather than a simple dietary cause.

Green Stool in Babies

Green poop is especially common in infants, and it’s rarely a concern. Newborns pass meconium, a dark greenish-black stool, in the first few days of life. As they transition to breast milk or formula, stool color shifts through various shades of green and yellow before settling into a more consistent pattern.

Breastfed babies sometimes produce green stool when they don’t fully finish feeding on one side. The earlier milk in a feeding session is lower in fat, and when a baby switches breasts too soon or doesn’t empty one side, the lower-fat milk digests differently and can turn stool green. Babies on protein hydrolysate formula, used for milk or soy allergies, also commonly have green stool. So do breastfed infants who haven’t yet developed a full population of gut bacteria, since those bacteria are what finishes the color conversion.

When Green Stool Needs Attention

A single green bowel movement, or even a few days of green stool after a big salad or a stomach bug, is not a concern. The situations worth paying attention to are the ones where green stool persists for more than a few days without an obvious dietary explanation, or where it comes with other symptoms: prolonged diarrhea, fever, significant abdominal pain, or signs of dehydration like dark urine, dizziness, or dry mouth. In children, dehydration can develop faster, so persistent green diarrhea in a baby or toddler warrants quicker attention.

Green stool that keeps recurring over weeks or months, especially paired with urgency, weight loss, or greasy stools, may signal bile acid malabsorption or an inflammatory condition worth investigating. But for the vast majority of people searching this question, the answer is simple: something you ate, something you’re taking, or a temporary bout of faster digestion. It will pass.