What Can Cause Green Poop and When to Worry?

Green poop is almost always harmless. The most common cause is something you ate, whether that’s a big spinach salad, a green smoothie, or a food with artificial coloring. The second most common cause is food moving through your intestines faster than usual, which prevents bile from completing its normal color change from green to brown.

Why Stool Is Normally Brown

Your liver produces bile, which starts out green. Specifically, your body breaks down old red blood cells into a green pigment, which gets secreted into bile and stored in the gallbladder. As bile passes through the gallbladder it converts to a yellow pigment. That yellow pigment then travels into the large intestine, where bacteria break it down further into brown compounds. These brown pigments are what give stool its typical color.

Anything that disrupts this process, either by adding green pigment from food or by rushing material through your gut before bacteria can finish the conversion, can produce green stool.

Foods That Turn Stool Green

Chlorophyll, the pigment that makes plants green, passes through your digestive system largely intact. Eating large amounts of chlorophyll-rich foods is one of the most frequent reasons for a noticeably green bowel movement. The usual suspects include spinach, kale, broccoli, avocados, fresh herbs, and matcha (powdered green tea). Pistachios can do the same thing because their green color comes from chlorophyll along with other plant pigments.

You don’t need to eat an unusual quantity. A couple of big salads in a day, a green smoothie packed with kale, or a generous serving of pesto can be enough. The color change typically lasts one to two days after you stop eating the food.

Food Dyes and Artificial Colors

Brightly colored processed foods are another common culprit. Blue and green food dyes, found in candy, frosting, ice cream, sports drinks, and some cereals, can tint stool green. Blue dye in particular mixes with the yellow bile pigment already in your gut and produces a green result. This is especially noticeable in children after birthday parties, holidays, or any occasion involving brightly colored treats.

Fast Intestinal Transit and Diarrhea

When food moves through your intestines faster than normal, bile doesn’t have enough time to be fully broken down by gut bacteria. Since bile starts out green, it essentially arrives in the toilet still wearing its original color. This is why a bout of diarrhea, regardless of the cause, often produces green stool. Anything that speeds up digestion can trigger this: stress, a stomach bug, food intolerance, too much caffeine, or even vigorous exercise.

If your green stool is also loose or watery, rapid transit is the most likely explanation. Once your digestion returns to its normal pace, the brown color comes back.

Iron Supplements and Medications

Iron supplements are well known for changing stool color. They typically produce a dark green that can look almost black. This is a normal side effect of the iron itself and not a sign of a problem, though if the color bothers you, your doctor can adjust the dose. Some antibiotics can also cause green stool by disrupting the balance of gut bacteria that normally convert bile pigments to brown. Once you finish the course of antibiotics, the color usually returns to normal as your gut bacteria repopulate.

Infections

Bacterial and parasitic infections that cause diarrhea can produce green stool through the rapid-transit mechanism described above. Salmonella, norovirus, and parasites like giardia all speed food through the intestines so quickly that bile stays green. In these cases, green stool is typically accompanied by other symptoms: cramping, nausea, fever, or watery diarrhea that lasts more than a day or two. The green color itself isn’t the concern here; the infection causing it is.

Green Stool in Babies

Green poop in infants has its own set of causes and is usually nothing to worry about. Newborns pass meconium in their first few days, which is dark green to black and completely normal. After that transition period, green stool in breastfed babies can happen when a baby doesn’t finish nursing on one side before switching. This means the baby gets more of the lower-fat milk at the beginning of a feeding and less of the higher-fat milk that comes later, which can affect how the milk is digested.

Babies on specialty formulas, particularly protein hydrolysate formulas used for milk or soy allergies, also tend to have greener stools. Breastfed infants who haven’t yet developed a full population of intestinal bacteria may produce green stool simply because there aren’t enough bacteria to complete the bile pigment conversion. Diarrhea in babies causes green stool for the same reason it does in adults: rapid transit.

After Gallbladder Removal

If you’ve had your gallbladder removed, you may notice greener stools, especially in the weeks and months following surgery. Without the gallbladder to store and concentrate bile, more bile acids flow directly into the large intestine. This extra bile can act as a laxative, speeding up transit and leaving less time for the green-to-brown conversion. For most people this improves over time as the body adjusts, though some experience looser, greener stools long-term.

When Green Stool Signals Something Serious

Green stool on its own, without other symptoms, is rarely a medical concern. It’s worth paying attention, though, if green stool comes with persistent diarrhea lasting more than a few days, fever, significant abdominal pain, or signs of dehydration. Bright red or black stool (which can sometimes be confused with very dark green from iron supplements) may indicate bleeding and warrants prompt medical attention. But a one-off green bowel movement after a kale-heavy dinner or a round of iron tablets is one of the most benign color changes your body can produce.