Bright green stool usually means one of two things: you ate something with a lot of green pigment, or food moved through your digestive system too fast for normal color changes to happen. In most cases, it’s harmless and resolves on its own within a day or two.
How Stool Gets Its Normal Brown Color
Your liver produces bile, a yellow-green fluid that helps digest fats. When bile enters your small intestine, enzymes and gut bacteria gradually break it down and chemically alter its pigments. By the time it reaches the end of your large intestine, those pigments have converted into a compound called stercobilin, which gives stool its typical brown color.
Anything that interrupts this conversion process, whether by speeding up digestion, overwhelming the system with green pigments, or changing the chemical environment in your gut, can leave your stool looking green instead of brown.
Rapid Transit: The Most Common Cause
When food moves through your large intestine faster than usual, bile doesn’t have enough time to fully break down. The result is stool that still carries bile’s original green tint. This is why diarrhea from any cause (a stomach bug, food intolerance, stress, too much coffee) often comes out green or greenish-yellow. The looser and more watery the stool, the less time bile has had to convert, and the greener it tends to look.
If your green stool coincided with a bout of diarrhea or an upset stomach, rapid transit is almost certainly the explanation. Once your digestion returns to normal speed, the color will follow.
Foods That Turn Stool Green
Chlorophyll, the pigment that makes plants green, passes through your digestive tract and can color your stool along the way. Eating large amounts of spinach, kale, broccoli, avocados, fresh herbs, or pistachios can produce noticeably green results. Matcha (powdered green tea) is another common culprit because of its concentrated chlorophyll content.
Artificial food coloring is just as powerful. Brightly frosted cupcakes, candy, freeze pops, fruit snacks, and colored drinks can tint your stool vivid shades of green. Blue dyes are particularly sneaky: blueberries, blackberries, and blue-colored candy or drinks can mix with yellow bile to produce a bright green color you might not expect.
Think back over the last 24 to 48 hours. If you had a big spinach salad, a green smoothie, a handful of brightly colored candy, or a matcha latte, that’s likely your answer.
Medications and Supplements
Iron supplements are one of the most common medication-related causes of green stool. They can turn it dark green or even near-black, and some doctors actually consider that color change a sign the supplement is being absorbed properly. If the color bothers you, lowering your dose (with your doctor’s input) will typically resolve it.
Certain antibiotics can also tint stool yellow or green. Antibiotics disrupt the balance of gut bacteria that help convert bile pigments, so the normal brown color doesn’t fully develop. This usually clears up once you finish your course of medication and your gut bacteria repopulate.
Infections and Stomach Bugs
Gastrointestinal infections caused by bacteria, viruses, or parasites can produce green stool, usually alongside diarrhea. The mechanism is the same rapid-transit issue described above: your gut is inflamed and pushing contents through quickly, so bile stays green. You’ll typically also have cramping, nausea, fever, or other obvious signs that something infectious is going on. The green color itself isn’t the concern in these cases; the infection is.
Bile Acid Malabsorption
If you’re dealing with chronic, recurring green or yellowish watery stools and none of the simpler explanations fit, bile acid malabsorption is worth knowing about. In this condition, your small intestine doesn’t reabsorb bile acids the way it should, so excess bile floods into the colon and causes irritation. Typical symptoms include watery diarrhea, frequent urgent bowel movements, painful stomach cramps, bloating, and gas. Some people also notice fatty, greasy-looking stools.
Bile acid malabsorption can be a standalone condition or develop secondary to other gut problems like Crohn’s disease or after gallbladder removal. It’s underdiagnosed because many people assume they just have irritable bowel syndrome. If persistent green diarrhea with urgency and cramping sounds familiar, it’s worth bringing up with a gastroenterologist.
Green Stool in Babies
If you’re a parent searching this for your infant, the rules are a bit different. Green stool in babies has several common and generally harmless causes. Breastfed babies can produce green stool if they aren’t finishing a full feeding on one side, which means they get more of the thinner, lower-fat milk and less of the fat-rich milk that comes later. This affects how the milk is digested and can change stool color. Babies on hydrolyzed protein formulas (used for milk or soy allergies) also commonly have green stool. Diarrhea in infants produces green stool for the same rapid-transit reasons it does in adults.
When Green Stool Signals Something Bigger
A single episode of bright green stool with no other symptoms is almost never a problem. It’s worth paying closer attention if the green color persists for more than a few days without an obvious dietary explanation, or if it comes with blood or mucus in the stool, persistent diarrhea lasting more than two or three days, fever, significant abdominal pain, or signs of dehydration like dark urine and dizziness. These combinations suggest something beyond a dietary quirk, whether that’s an infection, an inflammatory condition, or bile acid malabsorption, and warrant a conversation with a doctor.

