Green poop is almost always harmless. The most common причины are eating green vegetables, consuming foods with green dye, or your food simply moving through your digestive system faster than usual. In most cases, the color returns to its normal brown within a day or two without any intervention.
How Stool Gets Its Color
Your liver continuously produces bile, a yellow-green digestive fluid that helps break down fats. When bile first enters your intestines, it’s bright green. As it travels through the full length of your digestive tract, bacteria and enzymes gradually break it down, changing its pigment from green to yellow to brown. That final brown color is what most people see on a typical day.
When food moves through your intestines faster than normal, bile doesn’t have enough time to complete that color change. The result is stool that still carries a greenish tint. This is why diarrhea from any cause, whether it’s a stomach bug or something you ate, often comes out green. It’s not the illness itself turning things green; it’s the speed.
Foods That Turn Stool Green
The simplest explanation is usually the right one. Large servings of spinach, kale, broccoli, arugula, or other dark leafy greens contain enough chlorophyll to tint your stool visibly green. You don’t need to eat an unusual amount. A big salad or a green smoothie can do it.
Artificial green food coloring is another frequent culprit. Flavored drink mixes, ice pops, frosted cakes, candy, and certain cereals all contain dyes that pass through your system largely intact. Purple and blue dyes can also produce green stool once they mix with the yellow-green bile already in your intestines. If you recently ate or drank something brightly colored, that’s likely your answer.
Supplements and Medications
Iron supplements are one of the most reliable causes of color change in stool. They can turn it dark green or even black. This is a well-known, expected side effect and not a sign of a problem. If you recently started taking iron, that’s almost certainly the explanation.
Antibiotics can also cause green stool, but through a different mechanism. They disrupt the normal bacteria in your gut, and those bacteria are partly responsible for converting bile from green to brown. With fewer of them at work, bile retains more of its original green color. Antibiotic-associated diarrhea also speeds transit time, compounding the effect. In rare cases, antibiotic use has been linked to bacterial overgrowth that produces watery, greenish diarrhea, which is worth mentioning to your doctor if it persists after a course of antibiotics.
Infections That Cause Green Stool
Bacterial infections like Salmonella, E. coli, and Shigella can produce green diarrhea. These infections typically come with other obvious symptoms: cramping, fever, nausea, and frequent watery stools. The green color happens because the infection triggers rapid movement through the intestines, preventing bile from being fully processed.
Parasitic infections like Giardia can do the same thing. If your green stool is accompanied by foul-smelling, greasy diarrhea that lasts more than a few days, especially after travel or drinking untreated water, a parasitic cause is worth investigating.
The key distinction is context. Green stool by itself, with no pain, no fever, and no persistent diarrhea, almost never signals an infection.
After Gallbladder Removal
If you’ve had your gallbladder removed, green stool may become a more regular occurrence. Normally, the gallbladder stores and concentrates bile, releasing it in measured amounts when you eat. Without it, bile flows continuously and more directly into the intestines. Research from the Mayo Clinic suggests roughly half of people who have this surgery develop some degree of diarrhea afterward, caused by excess bile acids reaching the large intestine and acting as a laxative. Faster transit plus extra bile is a reliable recipe for greenish stool. For most people this improves over weeks to months as the body adapts, though some need medication to manage bile acid levels long-term.
Green Stool in Babies
Green poop in infants is common and rarely a concern. Newborns pass meconium in their first few days, which is dark green to black, and this is completely normal.
In breastfed babies, green stool can happen when the baby doesn’t finish feeding on one side before switching. The earlier milk (foremilk) is thinner and lower in fat, and when a baby gets mostly foremilk without the fattier hindmilk, digestion is affected in a way that produces greener stool. Babies with a milk or soy allergy who drink specialized protein hydrolysate formula also tend to have green stool. Breastfed infants who haven’t yet developed a full population of gut bacteria may produce green stool simply because they lack the microbes needed to complete the bile color change.
Diarrhea in babies from any cause, teething included, can turn stool green for the same transit-time reasons it does in adults.
How Long It Typically Lasts
When diet is the cause, green stool resolves within one to three days after you stop eating the food responsible. If supplements are the cause, the color change persists as long as you keep taking them, which is fine.
Green stool from a stomach bug or food poisoning usually clears within three to five days as the infection runs its course. If you’re seeing green diarrhea for more than a few days, especially alongside fever, blood in the stool, or significant abdominal pain, those symptoms together warrant a closer look rather than the green color on its own.
Colors That Are More Concerning
Green is one of the least worrisome stool color changes. The colors that do raise red flags are black (tarry, sticky black, not the dark green-black from iron supplements), bright red, and pale white or clay-colored. Black, tarry stool can indicate bleeding in the upper digestive tract. Bright red suggests bleeding closer to the rectum. Pale stool may mean bile isn’t reaching the intestines at all, which can point to a liver or bile duct issue. Green, by comparison, simply means bile is present but hasn’t been fully processed.