What If You Poop Green? Causes and When to Worry

Green poop is almost always harmless. In most cases, it means you ate something with a lot of green pigment, or food moved through your digestive system faster than usual. Occasionally it points to a medication side effect or a mild stomach bug. Rarely is it a sign of something serious.

Why Poop Is Normally Brown

Your liver produces bile, a greenish-yellow fluid that helps digest fats. When bile enters your intestines, bacteria go to work on it, chemically converting the green pigment (bilirubin) into an orange-brown pigment called stercobilin. This conversion requires time. The bacteria need to add hydrogen molecules to bilirubin through a multi-step reduction process, and that only happens if food spends long enough in your colon.

When something speeds up digestion, whether it’s a stomach virus, a spicy meal, or stress, food passes through before bacteria can fully complete that color change. The result is stool that still carries the original green tint of bile. This is the single most common explanation for green poop that catches people off guard.

Foods That Turn Stool Green

Chlorophyll, the pigment that makes plants green, passes through your digestive tract largely intact. Spinach, kale, broccoli, avocados, fresh herbs, and matcha are all common culprits. You don’t need to eat a massive salad for this to happen. A green smoothie or a generous serving of pesto can be enough.

Artificial food dyes can do the same thing. Brightly colored frosting, candy, sports drinks, and flavored cereals contain synthetic dyes that keep tinting whatever they touch long after you swallow them. Blue and purple dyes are particularly notorious because they mix with the yellow-green of bile to produce a vivid green in your stool. If you recently ate something with an unnaturally bright color, that’s likely your answer.

Iron Supplements and Medications

Iron supplements commonly cause a very dark green stool that can look almost black. This is normal. Some doctors actually consider it a sign the supplement is being absorbed properly. If the color bothers you, lowering your dose (with your doctor’s input) will usually lighten things up.

Antibiotics can also trigger green stool by disrupting the gut bacteria responsible for converting bile pigments to brown. Without enough of those bacteria doing their job, bile passes through with its green color intact. This typically resolves once you finish the course of antibiotics and your gut flora rebounds.

Green Poop in Babies

Green stool is especially common in infants, and parents tend to worry about it more than they need to. According to the Mayo Clinic, several baby-specific causes include not finishing a full feeding on one breast (which means the baby gets more of the thinner, lower-fat milk and less of the fat-rich milk that slows digestion), protein hydrolysate formulas used for milk or soy allergies, and the simple fact that breastfed infants haven’t yet developed a full population of intestinal bacteria.

Diarrhea in babies also produces green stool for the same reason it does in adults: rapid transit means bile doesn’t have time to change color. If your baby seems comfortable, is feeding well, and is gaining weight, green diapers on their own are not a concern.

After Gallbladder Removal

If you’ve had your gallbladder removed, green or yellowish stool may become more frequent. Without the gallbladder storing and concentrating bile, a more constant stream of bile flows directly into your intestines. This extra bile can act as a laxative, speeding up transit time. Research suggests roughly half of people who undergo gallbladder removal experience some degree of post-surgical diarrhea, and that faster movement through the gut means less time for bile to convert to its typical brown.

For most people, this improves over weeks to months as the body adjusts. Eating smaller, more frequent meals and reducing high-fat foods can help slow things down in the meantime.

When Color Actually Matters

Green stool is far less concerning than pale or clay-colored stool. If your poop is white, gray, or very light tan, that suggests bile isn’t reaching your intestines at all, which can signal a blockage in the bile duct or a problem with the liver, pancreas, or gallbladder. A single pale stool isn’t necessarily alarming, but if it happens repeatedly over more than a few days, it warrants a call to a healthcare provider. Pale stool combined with yellowing of the skin or eyes and dark urine needs prompt medical attention.

Green, by contrast, means bile is present and flowing. It just hasn’t had time to finish its chemical transformation. The same goes for yellow-green shades. As long as you’re not experiencing severe abdominal pain, bloody stool, high fever, or symptoms lasting more than a few days, green poop on its own is a cosmetic surprise, not a medical emergency.

How Long Green Stool Lasts

If the cause is dietary, your stool color should return to normal within one to two days after you stop eating the offending food. If rapid transit from a stomach bug is to blame, expect green stool to clear up once the illness passes, usually within a few days. Supplement-related color changes persist for as long as you take the supplement. After stopping or adjusting the dose, normal color returns within a couple of bowel movements.