Is It Bad If Your Poop Is Green? What to Know

Green poop is almost always harmless. In most cases, it means you ate something green, took a supplement that changed stool color, or food moved through your intestines a little faster than usual. It rarely signals a serious problem on its own.

Why Poop Is Normally Brown

Your liver produces bile, a yellow-green fluid that helps break down fats. When bile enters your intestines, bacteria get to work on its pigments, converting them through a chain of chemical reactions. The green pigment biliverdin becomes bilirubin, which bacteria further break down into a compound called stercobilin, a dark orange-brown pigment. That’s what gives stool its characteristic brown color.

The key factor is time. Your gut bacteria need several hours to complete this color transformation. When everything moves through at a normal pace, they finish the job and your stool comes out brown. When transit speeds up for any reason, bile pigments don’t get fully processed, and the original green color shows through.

Common Dietary Causes

The most frequent explanation for green stool is simply what you ate. Chlorophyll, the pigment that makes plants green, can do the same to your poop. Heavy servings of spinach, kale, broccoli, avocados, herbs, and even pistachios contain enough chlorophyll to shift stool color noticeably. Matcha (powdered green tea) is another common culprit. If you recently loaded up on salads or green smoothies, that’s very likely your answer.

Food dyes can also be responsible, sometimes in ways you wouldn’t expect. Green food coloring found in drink mixes, ice pops, and candies is an obvious cause. But blue and purple dyes can mix with the yellow-green bile already in your gut and produce a green result too. If you or your child recently ate brightly colored processed foods, that’s worth considering before worrying.

Supplements and Medications

Iron supplements are well known for turning stool dark green or even blackish-green. This is a normal reaction to how iron is processed in the digestive tract and not a sign of a problem. If you started iron supplementation and noticed the change shortly after, the two are almost certainly connected.

Some antibiotics can also tint stool yellow or green. Antibiotics disrupt the normal balance of gut bacteria, and since those bacteria are responsible for converting green bile pigments to brown, killing them off can leave stool looking greener than usual. The color typically returns to normal after you finish the course of medication and your gut flora recover.

Rapid Transit and Diarrhea

When food moves through your intestines faster than normal, bile doesn’t have enough time to complete its color change from green to brown. This is why diarrhea often comes out greenish. Anything that speeds up digestion, whether it’s a stomach bug, food intolerance, stress, or a large dose of caffeine, can produce green stool simply because of the faster transit time. In these cases, the green color is a side effect of the speed, not a separate problem to worry about.

Green Stool in Babies

Parents often notice green poop in infants, and it’s usually normal. Breastfed babies may produce green stool if they don’t finish nursing on one side before switching. The milk that comes later in a feeding has a higher fat content, and missing it can affect how the milk is digested. Babies on protein hydrolysate formula (used for milk or soy allergies) also tend to have greener stool. Breastfed newborns who haven’t yet developed a full population of intestinal bacteria may produce green stool simply because the bacteria needed to convert bile pigments aren’t established yet.

When Green Stool Signals Something More

Persistent green stool lasting more than a few days, especially with diarrhea, can occasionally point to a condition called bile acid malabsorption. Normally, about 95% of bile acids are reabsorbed in the last section of your small intestine before reaching the colon. When that reabsorption fails, excess bile acids spill into the large intestine, irritate its lining, and trigger it to release extra water. The result is chronic watery, often greenish diarrhea.

Several conditions can cause this. Crohn’s disease and radiation therapy can damage the part of the small intestine responsible for reabsorbing bile. Celiac disease, chronic pancreatitis, and small intestinal bacterial overgrowth (SIBO) can also interfere with the process. In these cases, green stool wouldn’t be the only symptom. You’d typically also experience frequent loose stools, bloating, urgency, and sometimes greasy or fatty-looking stools.

A good rule of thumb: if green stool lasts more than a few days without an obvious dietary explanation, or if it’s accompanied by persistent diarrhea, fever, or signs of dehydration, it’s worth getting checked out. An isolated green bowel movement after a big spinach salad or a course of antibiotics is nothing to lose sleep over.