What Does It Mean If My Poop Is Bright Green?

Bright green poop is almost always harmless and usually comes down to something you ate or how quickly food moved through your system. Your stool gets its normal brown color from a pigment called stercobilin, which forms when gut bacteria break down bile over the course of digestion. When that process gets interrupted or overridden by something green in your diet, the result shows up in the toilet.

Why Poop Is Normally Brown

Your liver produces bile, a greenish-yellow fluid that helps you digest fats. When bile enters your intestines, bacteria go to work on it, gradually converting a compound called bilirubin into stercobilin, an orange-brown pigment. This conversion requires time and bacterial activity. If either of those is disrupted, bile pigments stay closer to their original green color instead of shifting to brown. That’s the core reason behind nearly every case of green stool: either something added green color, or bile didn’t have enough time to fully break down.

Foods That Turn Stool Green

The most common culprit is chlorophyll, the pigment that makes plants green. Spinach, kale, broccoli, avocados, fresh herbs, and matcha (powdered green tea) all contain enough chlorophyll to tint your stool bright green, especially if you eat a large serving. Pistachios get their green color from the same pigment and can have the same effect. Even blueberries can occasionally produce greenish shades.

Artificial food coloring is another frequent cause. Bright frosting on cupcakes, green-dyed drinks, candy, and ice cream can all pass through your system with their color surprisingly intact. If your green stool appeared within a day or two of eating something vividly colored, that’s very likely your answer. Diet-related green poop typically resolves within one to two bowel movements after you stop eating the food in question.

Fast Digestion and Bile

When food moves through your intestines faster than normal, bile doesn’t have time to complete its chemical transformation from green to brown. The result is stool that comes out greenish, often loose or watery. This rapid transit can happen for a number of reasons: a stomach bug, food that didn’t agree with you, stress, a large coffee, or even intense exercise. You’ll usually notice the green color alongside diarrhea, since both stem from the same fast-moving process.

Certain digestive conditions can cause chronically faster transit times. Irritable bowel syndrome, Crohn’s disease, and ulcerative colitis all affect how quickly material passes through the gut, which means people with these conditions may see green stool more often during flare-ups.

Infections That Cause Green Stool

Bacterial infections like Salmonella and E. coli, viral infections like norovirus, and parasites like Giardia can all trigger a rapid “gush” of unabsorbed bile through the intestines, producing green diarrhea. In these cases, the green color is a side effect of how fast everything is moving rather than the infection itself coloring the stool. You’ll typically have other symptoms too: cramping, nausea, fever, or watery diarrhea that comes on suddenly.

The key difference between infection-related green stool and a dietary cause is what accompanies it. If you feel fine and simply noticed a color change, food is the likely explanation. If the green stool comes with diarrhea, fever, or abdominal pain that lasts more than a couple of days, an infection is more plausible.

Medications and Supplements

Iron supplements are one of the most common medication-related causes of green stool. They can turn stool a dark green that looks almost black. This is considered normal and some doctors even view it as a sign the supplement is being absorbed properly. If the color bothers you, lowering the dose (with your doctor’s input) will usually lighten it.

Certain antibiotics can also produce green or yellowish-green stool. They do this in two ways: by upsetting digestion enough to speed transit time, and by disrupting the gut bacteria responsible for converting bile to its brown pigment. Once you finish the course of antibiotics and your gut bacteria repopulate, normal color returns.

Gallbladder Removal

If you’ve recently had your gallbladder removed, green stool in the weeks afterward is common. Without the gallbladder to store and regulate bile release, more bile flows directly into the intestines than your body is used to handling. This excess bile, combined with the temporary digestive adjustment, can produce greenish diarrhea. For most people this settles down as the body adapts, typically over several weeks.

Green Poop in Babies

Green stool in infants has its own set of causes. Breastfed babies sometimes produce green poop when they don’t finish feeding on one side before switching. This means they get more of the thinner, lower-fat milk at the start of a feeding and less of the higher-fat milk that comes later, which changes how the milk is digested. Babies on protein hydrolysate formula (used for milk or soy allergies) also tend to have greener stool. And because newborns haven’t yet built up a full population of intestinal bacteria, their guts are less efficient at converting bile pigments to brown, so green is fairly standard in the early weeks.

How Long It Lasts

Diet-related green stool clears up fast, usually within a day or two once the food passes through. Supplement-related color changes persist as long as you’re taking the supplement. If an infection is the cause, you can expect green diarrhea to last anywhere from a few days to about a week, depending on the pathogen and your immune response.

Green stool that continues for more than a few days without an obvious dietary explanation is worth paying attention to, especially in children. Persistent green diarrhea raises the risk of dehydration, so staying on top of fluid intake matters. If the color doesn’t resolve or if it comes with worsening symptoms like blood in the stool, high fever, or signs of dehydration (dark urine, dizziness, dry mouth), that’s the point where medical evaluation makes sense.