What Does It Mean When My Poop Is Green?

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 cupcake with bright frosting. Less often, green stool happens because food moved through your digestive system faster than usual, which changes how bile gets processed. In most cases, your stool color will return to its typical brown within a day or two.

Why Stool Is Normally Brown

Your liver produces bile, a yellowish-green fluid that helps you digest fats. As bile travels through your intestines, bacteria break it down and chemically transform it into a brownish pigment. That process takes time. If everything moves at a normal pace, the end result is the familiar brown color. If something speeds up that journey, or if you’ve flooded your system with green pigments from food, the color shifts.

Foods That Turn Stool Green

Chlorophyll is the pigment that makes plants green, and it can do the same to your stool. Spinach, kale, and broccoli are the usual culprits, but avocados, fresh herbs, matcha, and pistachios all carry enough chlorophyll to have the same effect. You don’t need to eat a huge amount. A couple of hearty servings of leafy greens can produce noticeably green stool the next day.

Blueberries can also push stool toward green shades, which surprises people who expect purple or dark blue. And artificial food colorings are especially potent. Brightly frosted baked goods, flavored drink mixes, ice pops, and rainbow-colored candy continue tinting whatever they touch as they pass through your digestive tract. If you eat enough of them, colors can even mix together and produce very dark or black-looking stool.

Rapid Transit and Diarrhea

When food moves through your large intestine too quickly, bile doesn’t have time to fully break down. The result is stool that retains bile’s original greenish color. This is why green poop often shows up alongside diarrhea, whether from a stomach bug, food intolerance, or stress. The color itself isn’t the problem. It’s just a visual sign that your gut was in a hurry.

Conditions that cause chronic diarrhea or malabsorption, like celiac disease or inflammatory bowel disease, can produce green stool for the same reason. If rapid transit is happening repeatedly over weeks, the underlying cause is worth investigating, but an isolated episode after a bout of food poisoning is nothing to worry about.

Iron Supplements and Medications

Iron supplements are one of the most common non-food causes of green stool. They can turn stool a deep, dark green that looks almost black. This is normal and some physicians actually consider it a sign the supplement is being absorbed properly. If the color bothers you, lowering your dose (with your doctor’s guidance) will typically lighten things up.

Certain antibiotics can also cause green stool by disrupting the balance of gut bacteria that normally process bile. Once you finish the course of medication, your gut flora recovers and stool color usually returns to normal within a few days.

Green Stool After Gallbladder Removal

If you’ve had your gallbladder removed, you may notice greener or looser stools for a while afterward. Without the gallbladder to store and regulate bile release, more bile acids flow directly into the large intestine. This extra bile can act as a laxative, speeding up transit time and giving stool a greenish tint. For many people this settles down over weeks to months as the body adjusts.

Green Poop in Babies

Green stool in infants is common and has its own set of causes. Newborns pass meconium in their first few days, which is a dark greenish-black tar-like stool that’s completely normal. After that transition, green poop in breastfed babies can happen if the baby doesn’t finish nursing on one side before switching. This means the baby gets more of the thinner, lower-fat milk at the start of a feeding and misses the higher-fat milk that comes later, which changes how the milk is digested.

Babies on specialized formulas, particularly protein hydrolysate formulas used for milk or soy allergies, also tend to produce greener stool. Breastfed infants who haven’t yet developed a full complement of intestinal bacteria may have green poop too. In all of these cases, the color alone isn’t a concern as long as the baby is feeding well and gaining weight.

When Green Stool Signals a Problem

A day or two of green poop after a kale binge or a stomach bug is routine. But green stool that persists for more than a few days without an obvious dietary explanation is worth a phone call to your doctor. The same goes if green stool is accompanied by signs of dehydration (dark urine, dizziness, dry mouth), blood in the stool, fever, or significant abdominal pain. Green diarrhea in particular can lead to dehydration quickly, so staying on top of fluid intake matters, especially for young children.