What Makes Stool Green? Causes and When to Worry

Green stool is almost always harmless. The color comes from one of a few common causes: eating green-pigmented foods, food moving through your intestines faster than usual, or taking certain supplements. All shades of brown and green are considered normal stool colors.

How Bile Gives Stool Its Color

To understand green stool, it helps to know where normal brown stool color comes from. Your liver produces bile, a yellow-green digestive fluid that breaks down fats in your small intestine. As bile travels through your digestive tract, bacteria chemically transform it step by step, shifting the pigment from green to yellow to brown. By the time stool reaches the end of its journey, it’s typically some shade of brown.

When food moves through your intestines faster than usual, bile doesn’t have enough time to complete that color change. The result is stool that still carries a greenish tint. This is the single most common explanation for unexpectedly green stool, and it’s why diarrhea from any cause (a stomach virus, food intolerance, stress) often comes out green. The faster things move, the greener the result.

Green Foods and Chlorophyll

Chlorophyll, the pigment that makes plants green, can do the same to your stool. Spinach, kale, and broccoli are the most common culprits, but the list is longer than most people expect. Avocados, fresh herbs like parsley and cilantro, matcha (powdered green tea), and even pistachios contain enough chlorophyll to produce a visible color change. If you recently started a green smoothie habit or ate a large salad, that’s likely your answer.

The effect is dose-dependent. A small side of broccoli probably won’t change anything. A big kale-and-spinach smoothie very well might. Artificial green food coloring in candy, ice cream, frosting, or drinks can cause the same thing, sometimes producing a surprisingly vivid shade.

Iron Supplements and Medications

Iron supplements are a well-known cause of dark green or even black-green stool. When you take oral iron, roughly 90% of it is not absorbed and passes through the intestines. That unabsorbed iron reacts with digestive compounds in your gut, darkening stool color considerably. The effect is so predictable that doctors sometimes use it as a rough indicator that a patient is actually taking their iron as directed.

Certain other supplements and medications can also shift stool color toward green. Antibiotics deserve special mention: by wiping out some of the gut bacteria responsible for converting bile pigments to brown, antibiotics can leave bile partially transformed, resulting in green stool that lasts for the duration of treatment and sometimes a few days beyond it.

Green Stool After Gallbladder Removal

If you’ve had your gallbladder removed, green stool may show up more often than it used to. The gallbladder’s job is to store and concentrate bile, then release it in controlled amounts after a meal. Without it, unconcentrated bile drips continuously into the small intestine. After eating, a reflex can push large amounts of this bile into the colon faster than the intestine can reabsorb it. The excess bile stimulates the colon to secrete water and electrolytes, which speeds transit and can cause loose, greenish stools. For most people this improves over months as the body adapts, though some experience it long-term.

Green Stool in Babies

Green stool in infants is common and rarely a concern. Breastfed babies may produce green stool for several reasons. One is an imbalance between foremilk and hindmilk: if a baby doesn’t finish nursing on one side, they may get less of the higher-fat milk that comes later in a feeding, and the lower-fat foremilk can move through the gut more quickly. Babies on protein hydrolysate formula (used for milk or soy allergies) also tend to produce green stool. Very young breastfed infants sometimes lack the full complement of intestinal bacteria needed to complete the bile-to-brown pigment conversion, which can leave stool yellow-green in the early weeks.

Diarrhea in babies, just as in adults, tends to produce greener stool because of faster transit. The occasional green diaper on an otherwise happy, feeding-well baby is not a red flag.

When Green Stool Signals a Problem

On its own, green stool is not considered a warning sign. It falls within the normal color spectrum. The colors that do warrant prompt attention 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. (One important exception: iron supplements can make stool look black without any bleeding involved.)

Green stool paired with persistent diarrhea, fever, cramping, or weight loss could point to an infection or inflammatory condition that needs evaluation. But the green color itself is just a side detail in that scenario. It’s the other symptoms that matter, not the shade in the toilet bowl.