What Does It Mean When Your Diarrhea Is Green?

Green diarrhea usually means food moved through your intestines too quickly for bile to fully break down. Bile, the digestive fluid your liver produces, starts out green. As it travels through your digestive tract, bacteria and enzymes gradually change it to the familiar brown color. When something speeds up that transit, whether it’s an infection, a dietary trigger, or a medication, bile keeps its green tint all the way through.

In most cases, green diarrhea resolves on its own and isn’t a sign of anything serious. But certain combinations of symptoms do warrant attention.

How Bile Creates the Green Color

Your liver continuously produces bile and stores it in your gallbladder. When you eat, bile is released into your small intestine to help digest fats. Fresh bile contains a pigment called biliverdin, which is green. As bile moves through roughly 20 feet of intestine, bacteria convert biliverdin into bilirubin, which is brown. That’s what gives normal stool its color.

Anything that shortens transit time interrupts this conversion. Diarrhea, by definition, means your intestines are pushing contents through faster than usual. So green diarrhea is often just regular diarrhea where the speed of transit left bile partially unprocessed. The greener the stool, the less time bile had to undergo that color change.

Foods That Turn Stool Green

Dark leafy greens like spinach, kale, and arugula contain chlorophyll, a plant pigment that can tint your stool green even without diarrhea. If you eat a large salad or a green smoothie and then experience loose stools for an unrelated reason (say, too much coffee or mild food sensitivity), the combination can produce vivid green diarrhea.

Food dyes are another common culprit, and sometimes a surprising one. Blue and purple dyes can mix with yellow bile to create green stool. In one case reported in the journal Clinical Practice and Cases in Emergency Medicine, a patient presented with alarming lime-green stool after eating a fast-food hamburger bun dyed black for a Halloween promotion. The black coloring was a combination of Yellow #6, Blue #1, and Red #40. Blueberries, grape-flavored drinks, and foods with heavy artificial coloring can produce similar effects.

Infections That Cause Green Diarrhea

When a bacterial or parasitic infection inflames your gut, the intestines push everything through at high speed to flush out the pathogen. This rapid transit is one of your body’s defense mechanisms, and it frequently results in green, watery stool. Salmonella infections, often from undercooked poultry or contaminated produce, are particularly associated with green diarrhea. Giardia, a waterborne parasite picked up from contaminated lakes, streams, or untreated water, can also produce foul-smelling green stools that persist for weeks if untreated.

Norovirus and other viral stomach bugs cause intense, short-lived diarrhea that can appear green simply because of how fast contents move through. With infections, you’ll typically have other symptoms too: cramping, nausea, vomiting, fever, or body aches. The green color itself isn’t the concerning part. It’s those additional symptoms, especially fever above 102°F or signs of dehydration, that signal something your body may need help fighting.

Medications and Supplements

Iron supplements are well known for changing stool color. They most commonly produce dark or black stools, but they can also cause green discoloration, especially if they trigger diarrhea as a side effect. A systematic review published in PLOS One found that iron supplements cause significant gastrointestinal side effects in adults, including diarrhea, nausea, and abdominal pain. Iron also disrupts the balance of gut bacteria, promoting potentially harmful species at the expense of beneficial ones, which can further contribute to loose, discolored stools.

Antibiotics are another frequent cause. By wiping out the gut bacteria responsible for converting bile from green to brown, antibiotics can leave stool green for the duration of treatment and sometimes for a few weeks afterward. If you recently started a course of antibiotics and notice green diarrhea, the two are very likely connected.

Digestive Conditions and Malabsorption

People with Crohn’s disease, celiac disease, or irritable bowel syndrome may notice green stools more often than the general population. In Crohn’s disease, inflammation in the intestinal lining can speed bile through the gut before it has time to change color. Celiac disease, an autoimmune reaction to gluten, causes gas, bloating, and diarrhea that can carry a green tint when stools are loose.

The pattern matters here. A single episode of green diarrhea after a questionable meal is very different from recurring green stools over weeks or months. If green diarrhea keeps coming back, especially alongside bloating, unexplained weight loss, or persistent cramping, it may point to an underlying condition worth investigating rather than a one-time irritant.

Green Stool in Babies and Infants

Green stool in newborns and infants is extremely common and rarely a concern. In the first few days of life, babies pass meconium, a dark green-black, tar-like stool that’s entirely normal. As feeding establishes, stool transitions through shades of green before settling into the yellow, seedy consistency typical of breastfed babies or the tan color common with formula.

Beyond the newborn period, several things can produce green stool in babies. Breastfed infants who don’t finish feeding on one side may get more of the lower-fat foremilk and less of the fat-rich hindmilk, which affects how milk is digested and can turn stool green. Babies on protein hydrolysate formula, used for milk or soy allergies, often have greenish stools as a normal side effect. And just like adults, any bout of diarrhea in a baby can produce green stool from rapid transit.

For children, the Mayo Clinic recommends seeking medical attention if diarrhea doesn’t improve after 24 hours, if there’s no wet diaper in three or more hours, if fever exceeds 102°F, or if the child becomes unusually sleepy or unresponsive. A sunken appearance around the eyes, abdomen, or cheeks, or skin that doesn’t flatten after being pinched, are signs of dehydration that need prompt care.

What to Watch For

Green diarrhea on its own, lasting a day or two, is almost always harmless. The color is a byproduct of speed, not a sign of danger. Stay hydrated, eat bland foods as your appetite returns, and it will typically resolve without intervention.

The symptoms that change the picture are the ones that accompany the diarrhea. For adults, diarrhea lasting more than two days without improvement, signs of dehydration (excessive thirst, dark urine, dizziness, very little urination), severe abdominal pain, bloody or black stools, or fever above 102°F all warrant medical evaluation. These red flags apply regardless of stool color, but they’re worth knowing when you’re already concerned enough to search for answers.