Green poop is almost always harmless. In most cases, it means you ate something green or your food moved through your digestive system a little faster than usual. It rarely signals a serious problem, and it typically resolves on its own within a day or two.
Why Stool Is Brown in the First Place
Your liver produces bile to help digest fats, and bile starts out green. As it travels through your intestines, enzymes chemically break it down, gradually shifting its color from green to yellow to brown. By the time stool reaches the end of the line, it’s the familiar brown color most people expect. When anything disrupts that process, whether it’s speed, diet, or chemistry, the green color sticks around.
Foods That Turn Stool Green
The most common reason for green poop is simply eating green food. Chlorophyll, the pigment that makes plants green, can do the same to your stool. Spinach, kale, and broccoli are the usual suspects, but avocados, fresh herbs, pistachios, and matcha can all have the same effect. You don’t need to eat an enormous amount, either. A big spinach salad or a couple of matcha lattes can be enough.
Blue and purple foods can also produce green stool, which surprises a lot of people. Blueberries and blackberries mix with yellow-green bile during digestion, and the combination can come out looking green rather than purple. Artificial food dyes are another frequent cause. Brightly colored frosting, candy, freeze pops, fruit snacks, and sports drinks all contain dyes that keep tinting things as they pass through your gut. If you or your child recently ate something with blue, green, or purple coloring, that’s almost certainly the explanation.
When Fast Digestion Is the Cause
If you haven’t eaten anything obviously green or blue, the color likely comes from bile that didn’t fully break down. This happens when food moves through your large intestine faster than normal, cutting the chemical conversion short. Diarrhea is the most common trigger for this. A stomach bug, food that didn’t agree with you, or even a stressful day can speed up transit time enough that bile stays green. Once your digestion returns to its normal pace, the brown color comes back.
Medications and Supplements
Iron supplements are well known for turning stool dark green, sometimes so dark it looks almost black. This is a normal side effect, and some doctors actually consider it a sign the supplement is being absorbed effectively. If the color bothers you, lowering the dose (with your doctor’s guidance) will usually lighten things up. Certain antibiotics can also tint stool green or yellow by altering the balance of bacteria in your gut, which changes how bile gets processed.
Green Stool in Babies
Parents notice green diapers more than almost anyone else notices green stool, and it’s understandably alarming the first time. In infants, green poop has a few specific causes. 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 session is higher in fat, and missing it can affect how the milk is digested. Babies on hypoallergenic formula (the type used for milk or soy allergies) also tend to have greenish stool as a baseline. Breastfed newborns who haven’t yet developed a full population of gut bacteria may pass green stool for the same reason adults do when digestion moves quickly: bile doesn’t get fully broken down.
Diarrhea in infants can also produce green stool. The bigger concern with babies isn’t the color itself but whether they’re showing signs of dehydration, such as fewer wet diapers, a dry mouth, or unusual fussiness.
When Green Stool Deserves Attention
A single green bowel movement, or even a couple of days of green stool after a dietary change, is nothing to worry about. The Mayo Clinic recommends contacting a healthcare provider if green stool persists for more than a few days without an obvious dietary explanation. Green stool that comes with diarrhea warrants extra attention to hydration, since the combination means you’re losing fluid faster than usual.
Color alone is rarely the problem. What matters more is the company it keeps. Persistent diarrhea, fever, cramping, or blood in the stool alongside the green color could point to an infection or another condition worth investigating. Green stool on its own, with no other symptoms, is one of the least concerning color changes your body can produce. Brown, green, and even yellowish tones all fall within the normal range, and the shade can shift day to day based on nothing more than what you had for lunch.

