Really green poop is usually harmless. In most cases, it means you ate a lot of green vegetables, consumed something with artificial food coloring, or your food moved through your intestines faster than normal. Occasionally, green stool points to a medication side effect or an infection, but the color alone is rarely a reason to worry.
Why Poop Is Normally Brown
Your liver produces bile, a green fluid that helps digest fats. As bile travels through your digestive tract, enzymes chemically alter it, gradually shifting the color from green to yellow to brown. That final brown shade is what most people see on a typical day. When something disrupts this process, whether it’s speed, diet, or chemistry, the green pigment survives the trip and shows up in the toilet.
Rapid Transit: The Most Common Non-Diet Cause
When food moves through your large intestine too quickly, bile doesn’t have time to fully break down. The result is stool that retains its original green tint. This happens most often during a bout of diarrhea, whether from a stomach bug, food intolerance, or stress. If your green poop is also loose or watery, speed is the likely explanation. Once your digestion normalizes, the color typically returns to brown within a day or two.
Foods That Turn Stool Green
Chlorophyll, the pigment that makes plants green, can do the same thing to your stool. Eating large amounts of spinach, kale, or broccoli is one of the most common triggers. Avocados, fresh herbs, matcha, and pistachios can have the same effect. Even blueberries and blackberries, which aren’t green at all, can temporarily shift brown stool to a dark green shade.
Artificial food coloring is another frequent culprit. Brightly frosted cupcakes, candy, fruit snacks, freeze pops, and colored drinks keep tinting whatever they touch as they pass through your system. If your stool turned vivid green a day after a birthday party or a neon sports drink, food dye is almost certainly the answer.
Medications and Supplements
Iron supplements commonly turn stool dark green or even blackish. This is a well-known side effect and not dangerous on its own. Some antibiotics can tint poop yellow or green by altering the bacterial balance in your gut, which changes how bile gets processed.
Bismuth subsalicylate, the active ingredient in several over-the-counter antidiarrheal products, reacts with sulfur in your digestive system and can produce dark green or black stool. Antacids containing aluminum hydroxide can also cause greenish poop. In all of these cases, the color change stops once you discontinue the medication or supplement.
Infections and Digestive Illness
Bacterial and parasitic infections can cause green diarrhea by inflaming the intestinal lining and speeding up transit time. Salmonella, Giardia, and norovirus are common examples. The key difference between infection-related green stool and a harmless dietary cause is the company it keeps: fever, cramping, nausea, vomiting, or diarrhea lasting more than a couple of days all point toward something your body is actively fighting.
After Gallbladder Removal
If you’ve had your gallbladder removed, green stool may become a recurring visitor. Without the gallbladder to store and concentrate bile, more bile acids flow directly into the large intestine, where they can act as a laxative. The combination of excess bile and faster transit often produces looser, greener stools, especially in the weeks and months after surgery. For most people this gradually improves, though some experience occasional green or loose stools long-term.
Green Poop in Babies
Green poop in infants is common and almost always normal. When newborns transition from meconium (the tar-like first stool) to regular feeding, their poop turns green or yellow with a liquid consistency. Breastfed babies’ stool generally stays in the green-yellow-brown range for as long as they’re nursing. Formula-fed babies produce similar colors, sometimes slightly lighter and pastier.
Dark green baby poop is usually just bile doing its job. It’s worth inspecting closely to make sure it’s truly dark green and not black, since black stool in an infant can signal a different issue. One thing to watch in newborns specifically: bright green poop or no pooping at all in the first few days of life can be a warning sign of a bowel obstruction, which needs prompt medical attention.
When Green Stool Deserves Attention
A single green bowel movement, or even a few days’ worth after a spinach-heavy meal, is not concerning. The color becomes worth investigating when it persists for more than a few days without an obvious dietary explanation, or when it arrives alongside diarrhea, fever, abdominal pain, or blood in the stool. Green stool paired with ongoing diarrhea also raises the risk of dehydration, particularly in young children and older adults, so staying on top of fluid intake matters.
If you can trace the color back to something you ate, a supplement you started, or a medication you’re taking, you have your answer. If you can’t, and it doesn’t resolve on its own within a few days, that’s when it’s worth getting checked out.

