Green diarrhea usually means food is moving through your digestive system too fast for normal color changes to happen. Your liver produces bile, a bright green fluid that helps digest fats. As bile travels through your intestines, enzymes chemically break it down and gradually shift its color from green to brown. When something speeds up that transit, whether an infection, a food reaction, or stress, bile doesn’t have time to fully break down, and your stool comes out green.
In most cases, green diarrhea resolves on its own within a day or two. But the color, combined with other symptoms, can sometimes point to something that needs attention.
Why Rapid Transit Turns Stool Green
The journey from your stomach to your toilet normally takes one to three days. During that time, bile gets processed step by step through your small and large intestines. Bacteria in the colon play a major role in the final color shift, converting bile pigments into the brown tones you’re used to seeing. When diarrhea pushes everything through in hours instead of days, the bile stays partially or fully green because those bacterial and enzymatic reactions never finish.
This is the single most common explanation for green diarrhea, and it applies regardless of the underlying trigger. A stomach virus, food poisoning, lactose intolerance flare, or even intense stress can all speed up gut motility enough to produce green stool. The green color itself isn’t the problem. It’s just a visible sign that your digestion is running faster than usual.
Foods That Cause Green Stool
Sometimes the green comes from what you ate rather than how fast it moved through. Large amounts of leafy greens like spinach, kale, or arugula contain chlorophyll, which can tint your stool green even at normal transit speeds. Green food coloring is another common culprit, especially in drinks, candy, frosting, and some ice creams. If you recently ate a big salad or something with vivid green dye and then developed loose stools for an unrelated reason, the combination can look alarming but is typically harmless.
Supplements and Medications
Iron supplements frequently turn stool a very dark green that can look almost black. This is a normal side effect, and some doctors actually consider it a sign the supplement is being absorbed properly. If the color bothers you, your doctor can adjust the dose.
Antibiotics are another common cause. They disrupt the balance of gut bacteria responsible for converting bile pigments, which can produce green stool and loose bowel movements at the same time. This often resolves once you finish the course of antibiotics and your gut bacteria repopulate.
Infections and Food Poisoning
Bacterial infections like Salmonella, E. coli, and Clostridioides difficile (C. diff) can cause green diarrhea because they trigger intense inflammation and rapid transit simultaneously. Viral gastroenteritis, the common stomach bug, does the same thing. Parasitic infections like Giardia, often picked up from contaminated water, are particularly associated with greenish, foul-smelling diarrhea that can persist for weeks if untreated.
The distinguishing factor with infections is that they usually come with other symptoms: fever, cramping, nausea, or vomiting. Food poisoning tends to hit within hours of eating contaminated food, while viral and parasitic infections may take a day or more to develop.
Green Diarrhea in Babies and Infants
Green stool is especially common in newborns and infants, and parents often worry about it unnecessarily. Breastfed babies can have green stool for several reasons. One of the most frequent is not finishing a full feeding on one breast before switching. The earlier milk in a feeding session is thinner and lower in fat, while the later milk is richer. When a baby takes only the thinner foremilk, it passes through quickly and comes out green.
Babies who use protein hydrolysate formula, a type designed for milk or soy allergies, also commonly produce green stools. This is expected and not a sign of a problem. Breastfed infants who haven’t yet developed a full complement of intestinal bacteria may also have green stool simply because they lack the microbes that would otherwise convert bile to its typical brown color.
Green diarrhea in an infant becomes a concern when it’s watery, frequent, and accompanied by signs of dehydration: fewer wet diapers, a dry mouth, or unusual fussiness or lethargy.
Digestive Conditions to Consider
If green diarrhea keeps coming back or lasts more than a few days, it could reflect a chronic digestive issue rather than a one-time event. Conditions like irritable bowel syndrome (IBS), Crohn’s disease, ulcerative colitis, and celiac disease all involve episodes of rapid transit and inflammation that can produce green stool. In these cases, the green diarrhea is one symptom among others, such as ongoing cramping, bloating, weight loss, or mucus in the stool.
Bile acid malabsorption is a less well-known but relevant condition. Normally, your body recycles most bile acids at the end of the small intestine. When that recycling process doesn’t work properly, excess bile acids reach the colon and act as a laxative, causing watery, green-tinged diarrhea. This is more common than many people realize and can be treated effectively once identified.
When Green Diarrhea Needs Medical Attention
A single episode of green diarrhea after a questionable meal or during a stomach bug is rarely cause for concern. The color alone is not dangerous. But you should seek medical care if green diarrhea persists for more than a few days, if you develop signs of dehydration (dark urine, dizziness, dry mouth, rapid heartbeat), or if you have a high fever alongside it. Bloody stool, severe abdominal pain, or diarrhea that wakes you from sleep also warrant prompt evaluation.
For infants and young children, the threshold is lower. Dehydration develops faster in small bodies, so frequent watery green stools in a baby should be assessed sooner rather than later. Keeping up with fluids is the most important thing you can do while monitoring the situation.

