Green stool is almost always harmless. It usually means that something you ate contained a lot of green pigment, or that food moved through your digestive system faster than normal. In both cases, the explanation comes down to bile, a digestive fluid your liver produces that starts out green and gradually turns brown as it travels through your intestines.
Why Stool Is Normally Brown
Your liver constantly produces bile to help digest fats. When bile enters your intestines, enzymes chemically alter it as it moves along, gradually shifting its color from green to yellow to brown. That final brown color is what most people see in a healthy bowel movement. The entire process depends on time. If anything speeds up digestion or dumps extra bile into the intestine, stool can come out green simply because the bile never finished its chemical transformation.
Food and Drinks That Turn Stool Green
The most common cause is diet. Chlorophyll, the pigment that makes plants green, can color your stool when you eat enough of it. Spinach, kale, and broccoli are the usual suspects, but the list is longer than most people expect: avocados, fresh herbs, pistachios, and matcha (powdered green tea) all contain enough chlorophyll to have the same effect. If you had a big salad or a green smoothie in the last day or two, that’s very likely your answer.
Artificial food dyes can do it too. Purple, blue, and green dyes found in candy, frosting, sports drinks, and ice cream sometimes blend with the yellow-green of bile and produce a vivid green result. This is especially common in kids after birthday parties or holidays involving brightly colored treats.
Rapid Transit: When Food Moves Too Fast
Anything that speeds up your digestion can produce green stool, even if you haven’t eaten anything green. Diarrhea is the classic example. When food rushes through the large intestine, bile doesn’t have time to break down completely, so it stays green. You might notice this during a stomach bug, after eating something that didn’t agree with you, or during periods of stress that affect your gut.
This is also why green stool and loose stool often show up together. The fast transit causes both the color change and the watery consistency at the same time.
Iron Supplements and Medications
Iron supplements are a well-known cause. Iron can speed up intestinal movement, giving bile less time to change color. Some liquid or chewable iron formulations also contain colorants that directly tint the stool. The result is typically dark green to black-green, and it’s completely expected while you’re taking iron.
Antibiotics can also trigger green stool by disrupting the normal balance of gut bacteria. Those bacteria play a role in breaking down bile, so when their population shifts, bile passes through less fully processed. The color change usually resolves once you finish the course of antibiotics and your gut bacteria recover.
Gut Infections
Bacterial, viral, and parasitic infections can all cause green diarrhea. Salmonella, E. coli, norovirus, and the parasite Giardia are the most commonly linked culprits. The mechanism is the same rapid-transit issue described above: the infection irritates your intestines, everything moves faster, and bile comes out before it turns brown.
The key difference between an infection and a dietary cause is what accompanies the color change. Infections typically bring diarrhea, cramping, fever, nausea, or vomiting along with them. Green stool on its own, without those symptoms, is rarely an infection.
Bile Acid Conditions and Surgery
In some cases, green stool reflects a problem with how your body handles bile. Bile acid diarrhea is a condition where bile isn’t properly reabsorbed in the small intestine, so it passes into the colon and discolors the stool. This can happen with liver or gallbladder disease, disorders of the small intestine, or after bowel surgery.
Gallbladder removal is a particularly common trigger. Without the gallbladder to regulate bile release, more bile acids flow directly into the large intestine, which can act as a laxative and produce greenish, loose stools. For many people this improves over weeks to months as the body adjusts, though some experience ongoing changes.
Green Stool in Babies
Green poop in infants is extremely common and rarely a concern. Newborns pass meconium, a dark greenish-black substance, in their first few days. After that transition, green stool in breastfed babies can happen when a baby doesn’t fully finish nursing on one side, missing some of the higher-fat milk that comes later in a feeding. That fat content affects how the milk is digested and can shift the color.
Babies on protein hydrolysate formula (used for milk or soy allergies) also tend to have green stool. So do some breastfed infants who haven’t yet developed a full population of intestinal bacteria. In all of these cases, the green color is a normal variation, not a sign of illness. Diarrhea in a baby is a different matter and worth a call to your pediatrician, but a green diaper by itself is not.
When Green Stool Signals Something Serious
A single green bowel movement, or even a few days of green stool after eating a lot of leafy greens, is not a concern. The situations worth paying attention to are when green stool comes with other symptoms: persistent diarrhea lasting more than a few days, fever, blood or mucus in the stool, significant abdominal pain, or unexplained weight loss. Those combinations can point to an infection, inflammatory bowel condition, or bile absorption problem that benefits from evaluation.
If you’ve recently had gallbladder or bowel surgery and notice ongoing green, loose stools that aren’t improving, that’s also worth mentioning at a follow-up appointment. Otherwise, green stool that shows up, explains itself through something you ate or a supplement you’re taking, and resolves within a day or two is one of those body quirks that looks alarming but means very little.