Green, smelly poop is usually caused by something you ate, but it can also signal that food is moving through your digestive system too quickly or that your body isn’t absorbing nutrients properly. In most cases, it resolves on its own within a day or two.
Foods That Turn Stool Green
The most common reason for green poop is simply diet. Chlorophyll, the pigment that makes plants green, can do the same thing to your stool. Spinach, kale, broccoli, avocados, herbs, matcha, and even pistachios all contain enough chlorophyll to produce noticeably green bowel movements, especially if you’ve eaten a large serving.
Artificial food colorings are another frequent culprit. Bright frosting on a cupcake or a blue-dyed sports drink can tint your stool green or other unexpected shades, because the dye continues coloring everything it touches as it passes through your gut. Iron supplements can turn poop dark green or even blackish. Some antibiotics also shift stool color toward green or yellow.
None of these causes are harmful. If you recently ate a big salad, started a new supplement, or had brightly colored processed food, that’s likely your answer. The color should return to normal once the food or supplement clears your system.
Why Speed Matters: Rapid Transit
Your stool starts out green. As food moves through your intestines, bile (a yellow-green digestive fluid your liver produces) gradually breaks down and shifts from green to yellow to brown. That final brown color is a sign your digestive system had enough time to fully process the bile.
When food moves through too quickly, bile doesn’t have time to complete that color change, and you end up with green stool. This commonly happens during a bout of diarrhea, whether from a stomach bug, food intolerance, stress, or even too much coffee. The rapid transit also means your gut bacteria have less time to break down food thoroughly, which often produces extra gas and a stronger smell.
Infections That Cause Both Symptoms
If your green, foul-smelling stool comes with cramping, nausea, or watery diarrhea, an infection could be responsible. Bacterial infections from contaminated food (like Salmonella or E. coli) speed up digestion and trigger inflammation, both of which contribute to green color and strong odor.
Parasitic infections can also be the cause. Giardia, a common waterborne parasite, produces loose stools that are often watery and foul-smelling. The stool may also appear soft and greasy. Giardia is typically picked up from contaminated water sources, including streams and lakes, or through close contact in daycare settings. It doesn’t always cause dramatic symptoms right away, so people sometimes live with mild but persistent digestive upset for weeks before realizing something is off.
Fat Malabsorption and Greasy Stool
When your body can’t properly absorb fats from food, the undigested fat passes into your stool and creates a distinct combination of symptoms. Fatty stools tend to be looser, smellier, and paler in color. They often look bulky, greasy, or foamy, and they may float or be hard to flush.
This can happen for several reasons. Celiac disease, chronic pancreatitis, and bile duct problems all interfere with fat digestion. Lactose intolerance and other food sensitivities can produce similar effects on a smaller scale. If your stool consistently looks greasy and has an unusually strong odor, especially if you’re also losing weight without trying or feeling fatigued, that pattern points toward a malabsorption issue worth investigating.
What the Smell Alone Tells You
All stool smells. The odor comes from bacteria in your colon breaking down food, and some variation day to day is completely normal. But a sudden shift toward noticeably worse-smelling stool usually has a straightforward explanation: a high-protein or high-sulfur meal (red meat, eggs, cruciferous vegetables like broccoli and cabbage), alcohol, or a course of antibiotics disrupting your gut bacteria.
Persistently foul-smelling stool is different. When the smell is consistently stronger than your baseline over a period of weeks, it may reflect an ongoing issue with digestion or absorption rather than a one-time dietary trigger.
When Green Stool Needs Attention
A single episode of green, smelly poop after a big meal of leafy greens or during a brief stomach bug is not a concern. If the green color persists for more than a few days without a clear dietary explanation, it’s worth following up with a healthcare provider. Green stool that comes with diarrhea also warrants attention to hydration, since fluid loss can become a problem quickly, particularly in children and older adults.
Symptoms that suggest something beyond a dietary cause include persistent diarrhea lasting more than two or three days, fever, blood in your stool, significant abdominal pain, or unintended weight loss. Any of those alongside green, foul-smelling stool shifts the picture from “something I ate” to something your doctor should evaluate.

