Green diarrhea almost always means food is moving through your intestines too fast for bile to fully break down. Bile, the digestive fluid your liver produces, starts out green. As it travels through your intestines, bacteria convert it into the brown pigment you’re used to seeing. When something speeds up that journey, whether an infection, a food reaction, or stress, bile passes through before the color change is complete, and you end up with green, watery stool.
How Bile Creates the Color
Your liver continuously produces bile to help digest fats. When bile enters your small intestine, it’s a yellowish-green color. As it moves through the lower intestine and colon, resident bacteria break it down into a compound called urobilinogen, which oxidizes into the familiar brown pigment of normal stool. The entire process depends on time. If transit is normal (typically 12 to 36 hours through the full digestive tract), the bacteria have plenty of opportunity to do their work. Diarrhea cuts that transit time dramatically, sometimes to just a few hours, and the bile arrives at the exit still green.
This is why green and diarrhea so often appear together. The green color itself isn’t the problem. It’s a visible sign that your gut is pushing things through faster than usual.
Infections That Cause Green Diarrhea
Bacterial infections like Salmonella and E. coli, viral infections like norovirus, and parasites like Giardia can all trigger a rapid “gush” of unabsorbed bile alongside watery diarrhea. Norovirus is the most common culprit for sudden-onset cases and typically resolves within one to three days. Salmonella often comes from undercooked poultry, eggs, or contaminated produce, with symptoms starting 6 to 72 hours after exposure. Giardia, a waterborne parasite, tends to cause greasy, foul-smelling green diarrhea that can persist for weeks if untreated.
If your green diarrhea came on suddenly with nausea, cramping, or fever, an infection is the most likely explanation. Most viral cases clear on their own. Bacterial and parasitic infections sometimes need treatment, especially if symptoms don’t improve after a couple of days.
Foods and Dyes That Turn Stool Green
Chlorophyll, the pigment that makes plants green, can do the same to your stool. Large servings of spinach, kale, broccoli, avocados, matcha, fresh herbs, and even pistachios contain enough chlorophyll to produce noticeably green poop. If you’ve recently started a green smoothie habit or eaten a big salad, that’s likely your answer.
Artificial food coloring is another common cause. Brightly frosted cupcakes, candy, freeze pops, and colored drinks can tint your stool green (or other unexpected colors) because the dye passes through your system largely unchanged. If you ate something vivid in the last day or two, the timing will usually line up.
Food-related green stool on its own isn’t a concern. But if you’re also having diarrhea alongside diet-related color changes, it could simply be that a large amount of a particular food irritated your gut, or the two causes are happening independently at the same time.
Medications and Supplements
Antibiotics are a frequent cause of green diarrhea because they disrupt the gut bacteria responsible for converting bile to its normal brown color. Without enough of those bacteria, bile stays green. Antibiotics can also speed up transit by irritating the intestinal lining, compounding the effect. The color change typically resolves within a few days of finishing a course of antibiotics as your gut flora repopulates.
Iron supplements are another well-known trigger. Iron reacts with digestive enzymes to produce dark green or even black-green stool. This is a harmless side effect of the supplement itself, not a sign of a problem, though it can look alarming.
Digestive Conditions to Consider
If green diarrhea keeps recurring or never fully resolves, a chronic digestive condition could be involved. Anything that causes ongoing malabsorption or inflammation can speed transit and prevent normal bile processing. Celiac disease, for instance, damages the small intestine’s lining and can produce pale, greasy, foul-smelling stools, sometimes with a greenish or yellowish tint. Inflammatory bowel diseases like Crohn’s disease and ulcerative colitis can also cause persistent changes in stool color and consistency.
Irritable bowel syndrome with diarrhea (IBS-D) doesn’t damage the intestine, but the accelerated motility it causes can produce green stool during flare-ups. If you notice a pattern, especially green diarrhea triggered by stress, certain foods, or happening multiple times a month, it’s worth investigating further.
Green Stool in Babies and Young Children
Green stool in infants is often completely normal. Breastfed babies who don’t fully empty one breast before switching may get more of the thinner, lower-fat foremilk, which can produce green, frothy poop. Babies on hydrolyzed formula (used for milk or soy allergies) also commonly have green stool. Newborns in their first few days pass meconium, which is dark green to black, and this is expected.
Green diarrhea in a baby or toddler is a different matter. Children dehydrate faster than adults, and the warning signs can be subtle: no wet diapers for three or more hours, no tears when crying, a sunken soft spot on the skull, or unusual drowsiness. In children, diarrhea lasting more than a day or any fever in infants warrants a call to their pediatrician.
Staying Hydrated During an Episode
The biggest immediate risk from diarrhea isn’t the green color. It’s fluid loss. Your body loses water and electrolytes (sodium, potassium, chloride) with every loose stool, and replacing those is the single most important thing you can do at home.
Oral rehydration solutions are the gold standard because they contain the right balance of sodium and glucose to help your intestines absorb fluid efficiently. If you’re vomiting alongside the diarrhea, small sips of 5 to 10 milliliters every one to two minutes work better than trying to drink a full glass at once. More than 90% of people with acute diarrhea, even with vomiting, can stay hydrated this way without needing IV fluids.
Signs that dehydration is becoming serious include extreme thirst, dark urine, dizziness, feeling unusually tired, or skin that stays “tented” when you pinch it instead of flattening back immediately. For adults, diarrhea lasting more than two days, a high fever, six or more loose stools per day, severe abdominal pain, or any blood or pus in the stool are all reasons to get medical attention promptly.

