Green stool is almost always harmless. It typically means one of two things: you ate something with strong pigments, or food moved through your digestive system faster than usual. In most cases, the color returns to its normal brown within a day or two without any intervention.
Why Stool Is Normally Brown
Your liver produces bile, a yellow-green fluid that helps digest fats. As bile travels through your intestines, bacteria break it down and chemically transform it from green to brown. This process takes time. Normal colonic transit alone ranges from 10 to 59 hours, and the entire journey from stomach to exit typically takes somewhere between 10 and 73 hours. When anything disrupts that timeline or overwhelms the bacteria doing the color conversion, stool can stay green.
Foods That Turn Stool Green
The most common cause is simply eating green or brightly colored foods. Leafy greens like spinach, kale, and broccoli contain chlorophyll, a natural green pigment that can pass through your system and tint your stool. Blueberries, green apples, and pistachios can do the same. The more you eat, the more vivid the effect.
Artificial food dyes are another frequent culprit, and they can produce surprisingly intense results. Dyes like Yellow #6, Blue #1, and Red #40, which are commonly combined in processed foods, are well documented to alter stool color. In one published case, a patient turned up with vivid lime-green stool after eating a fast-food hamburger with a dyed black bun and a colored frozen beverage. The combination of blue and yellow dyes created a striking green that alarmed the patient but was completely benign. Purple or blue drinks, ice cream, cake frosting, and candy are all capable of similar effects.
Rapid Transit and Diarrhea
When food moves through your colon too quickly, bile doesn’t have time to fully break down. The result is stool that retains bile’s original green color. Normal colonic transit takes at least 10 hours; anything significantly faster, roughly under 5 hours, qualifies as rapid transit. Diarrhea from any cause can speed things up enough to produce green stool, whether the trigger is a stomach bug, food intolerance, stress, or too much caffeine.
This is why green stool often shows up alongside loose or watery bowel movements. The color itself isn’t the problem. It’s just a visible marker that your gut is moving things along quickly. Once the diarrhea resolves, normal brown color returns.
Medications and Supplements
Several common over-the-counter products can change stool color to green or dark green:
- Iron supplements can darken stool and give it a greenish or black hue.
- Bismuth subsalicylate (the active ingredient in some antidiarrheal medications) reacts with sulfur in your digestive tract, producing dark green or black stool.
- Antacids containing aluminum hydroxide can cause greenish stool as a side effect.
- Antibiotics can disrupt the normal balance of gut bacteria, and since those bacteria are responsible for converting bile from green to brown, the color change follows directly.
If you recently started any of these and notice a color change, that’s almost certainly the explanation. The effect typically lasts as long as you’re taking the product.
Infections That Cause Green Stool
Bacterial and parasitic infections can produce green diarrhea. Salmonella, which you can pick up from undercooked poultry or contaminated produce, often causes watery green stool along with cramping, fever, and nausea. Giardia, a waterborne parasite, is another well-known cause. Norovirus and other viral stomach bugs can also speed transit enough to keep bile green.
The key difference between infection-related green stool and diet-related green stool is what comes with it. Infections typically bring fever, abdominal pain, vomiting, or diarrhea lasting more than a couple of days. Green stool by itself, without those symptoms, rarely points to an infection.
Green Stool in Babies
Green stool in newborns and infants is common and has its own set of causes. In the first few days of life, babies pass meconium, a dark greenish-black substance that’s completely normal. As feeding establishes, stool transitions through shades of green before settling into the yellow or tan range typical for breastfed or formula-fed babies.
Beyond the newborn stage, green stool in breastfed babies can happen when the baby doesn’t finish feeding on one side. This means the baby takes in more of the lower-fat foremilk and less of the higher-fat hindmilk, which changes how the milk is digested. Babies on protein hydrolysate formula, used for milk or soy allergies, also tend to produce green stool. A lack of established gut bacteria in young breastfed infants can contribute as well, since those bacteria are what would normally turn bile brown. Diarrhea from any cause does the same in babies as in adults.
When Green Stool Signals Something Serious
Green stool on its own, even if it lasts a few days, is rarely a cause for concern. The situations that do warrant attention have less to do with the green color and more to do with accompanying symptoms: persistent diarrhea lasting more than three days, significant abdominal pain, fever, or signs of dehydration like dark urine and dizziness.
The colors that do raise red flags are bright red and black. Bright red stool can indicate bleeding in the lower digestive tract, while black, tarry stool can signal bleeding higher up, such as in the stomach. If you see either of those, that’s worth prompt medical attention. Green, by contrast, sits firmly in the “probably fine” category for the vast majority of people.

