Why Are My Bowel Movements Green and When to Worry

Green bowel movements are almost always caused by something you ate. The chlorophyll in green vegetables, artificial food dyes, and certain supplements can all tint your stool green, and in most cases it passes within a day or two. Less commonly, green stool signals that food moved through your intestines too quickly for bile to fully break down, which can happen with infections, digestive conditions, or medication side effects.

How Bile Gives Stool Its Color

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. If everything moves at a normal pace, your stool ends up the familiar brown color. If transit speeds up for any reason, bile doesn’t fully convert, and green pigment remains visible in the final product.

This is why green stool often shows up alongside diarrhea. Anything that accelerates digestion, whether it’s a stomach bug, food intolerance, or stress, can short-circuit that color change.

Foods That Turn Stool Green

Chlorophyll is the most common culprit. Spinach, kale, broccoli, avocados, herbs, matcha, and pistachios all contain enough of this green pigment to color your stool, especially if you eat a large serving. Pistachios get their green hue from chlorophyll combined with other plant compounds, so a heavy snacking session can have the same effect as a big spinach salad.

Artificial food dyes are the other frequent cause. Brightly colored frosting, candy, sports drinks, and ice cream can tint stool green (or other unexpected colors) because the dye continues coloring material as it passes through your digestive tract. Eating a mix of different food dyes at once can even combine to produce dark green or black stool.

If your green stool appeared within 24 to 48 hours of eating any of these foods, that’s likely your answer. It should resolve once the food clears your system.

Medications and Supplements

Several common over-the-counter products can change stool color to green or dark green. Iron supplements are one of the most well-known offenders, often darkening stool and giving it a greenish tint. Bismuth subsalicylate, the active ingredient in some antidiarrheal medications, reacts with sulfur in your digestive tract and can turn stool dark green or black. Antacids containing aluminum hydroxide can also produce greenish stool as a side effect.

Antibiotics deserve special mention. They can disrupt the normal balance of gut bacteria, and since those bacteria are responsible for converting bile from green to brown, killing them off can leave bile pigment intact. If your stool turned green after starting an antibiotic course, the connection is likely direct. The color typically normalizes after you finish the medication and your gut bacteria repopulate.

Infections and Rapid Transit

When a bacterial or viral infection hits your gut, your intestines respond by pushing contents through faster than usual. This rapid transit means bile doesn’t have time to break down, and you end up with green, watery diarrhea. Bacterial infections like Salmonella and parasitic infections like Giardia are well-known for producing green stool alongside cramping, nausea, and urgency.

Food poisoning follows the same logic. Your body treats the offending food as a threat and accelerates everything to flush it out. The combination of speed and excess fluid in the intestines leaves stool green and loose. In these cases, the color itself isn’t the concern. The dehydration from prolonged diarrhea is what matters most.

Digestive Conditions That Affect Bile

Bile acid malabsorption is a condition where your intestines fail to properly reabsorb bile acids, allowing them to build up in the colon. The excess bile irritates the colon lining, triggers it to secrete extra fluid, and speeds up muscle contractions that move stool along. The result is frequent, urgent, watery diarrhea that often has a greenish color.

Several chronic conditions can cause this. Crohn’s disease can damage the ileum, the section of the small intestine responsible for absorbing bile acids. Celiac disease, chronic pancreatitis, and small intestinal bacterial overgrowth (SIBO) can also interfere with bile absorption throughout the digestive tract. If you’re experiencing persistent green diarrhea along with cramping and urgency, bile acid malabsorption is one possibility worth investigating, especially if dietary causes don’t explain the pattern.

Green Stool in Babies

Green stool in infants is common and usually harmless, but the causes differ from adults. Breastfed babies may produce green stool if they don’t finish nursing on one side before switching. The milk that comes first in a feeding (foremilk) is lower in fat than the milk that follows (hindmilk), and missing that higher-fat portion can affect how the milk is digested, resulting in greenish stool.

Babies on protein hydrolysate formula, which is designed for infants with milk or soy allergies, also tend to have green stool. This is a normal response to the formula’s composition, not a sign of a problem. Breastfed newborns who haven’t yet established a full population of intestinal bacteria may also produce green stool in the early weeks. And just like adults, babies with diarrhea can have green stool from rapid transit.

When Green Stool Needs Attention

A single green bowel movement, or even a couple of days of green stool after a big salad or a course of antibiotics, is not a concern. The Mayo Clinic recommends contacting a healthcare provider if green stool persists for more than a few days without an obvious dietary explanation. If green stool comes with diarrhea, staying hydrated is the priority, particularly for children and older adults who dehydrate more quickly. Signs of dehydration include dark urine, dizziness, dry mouth, and in infants, fewer wet diapers than usual.

Green stool paired with fever, severe abdominal pain, or blood in the stool points toward an infection or inflammatory condition that needs evaluation. Persistent green diarrhea with cramping and urgency, especially if it recurs over weeks or months, may signal bile acid malabsorption or another chronic digestive issue worth discussing with a gastroenterologist.