Is Green Poop Healthy? Causes and When to Worry

Green poop is almost always harmless. In most cases, it simply means you ate a lot of green vegetables, consumed something with food coloring, or your food moved through your intestines faster than usual. Occasionally, green stool signals an infection or digestive issue worth paying attention to, but the color alone is rarely a reason for concern.

Why Stool Is Normally Brown

Your liver produces bile, which starts out as a green pigment called biliverdin. An enzyme quickly converts that green pigment into bilirubin, an orange-yellow substance that gets released into your intestines to help digest fats. As bilirubin travels through your gut, bacteria break it down further into compounds called urobilinoids. These are initially colorless but oxidize into the familiar brown-yellow tone you expect to see in the toilet.

The key factor is time. This bacterial conversion from green to brown takes hours as stool moves through your colon. When food passes through your intestines faster than normal, whether from mild illness, stress, a high-fiber meal, or simply an off day, bile doesn’t have enough time to fully break down. The result is stool that still carries that original green tint. This is the single most common non-dietary explanation for green poop, and it’s completely benign.

Foods That Turn Stool Green

The most straightforward cause is simply eating green things. Chlorophyll, the pigment that makes plants green, can pass through your digestive system in high enough quantities to visibly color your stool. Common culprits include spinach, kale, broccoli, avocados, fresh herbs, and matcha. Pistachios can do it too. Blueberries, despite being dark purple, can produce greenish shades as their pigments interact with bile.

Artificial food coloring is another frequent cause. Brightly frosted cupcakes, green sports drinks, candy, and ice cream with dyes can all leave your stool looking surprisingly vivid. If you ate something notably colorful in the past 24 to 48 hours and then noticed green poop, that’s almost certainly your answer. No action needed.

Iron Supplements and Medications

Iron supplements are one of the most well-known medication-related causes of unusual stool color. Unabsorbed iron reacts with compounds in your gut and can turn stool dark green or even black. This is expected and not dangerous, though it can be startling the first time you notice it.

Antibiotics can also cause green stool by disrupting the balance of gut bacteria responsible for converting bile pigments to their usual brown color. With fewer of those bacteria doing their job, the green pigment from bile passes through unchanged. This typically resolves once you finish the course of antibiotics and your gut flora rebalances.

When Green Stool Suggests an Infection

Green diarrhea, especially when it’s watery, frequent, and accompanied by fever, cramping, or nausea, can point to a bacterial or viral infection. Salmonella and E. coli are two bacterial causes associated with green-tinged stool. Norovirus, commonly called the stomach flu, can also cause it. These infections speed up gut transit dramatically, preventing bile from completing its normal color transformation, and they may also trigger excess bile secretion.

In hospital settings, antibiotic-associated diarrhea from certain resistant bacteria produces distinctly greenish, watery stools. One study found that 80% of stool specimens from patients with this type of infection appeared green. But this is a specific clinical scenario involving recent hospitalization and antibiotic use, not something that would affect most people noticing green poop at home.

The distinction is simple: green stool with normal consistency and no other symptoms is almost never an infection. Green watery diarrhea with abdominal pain, fever, or vomiting that lasts more than two or three days deserves medical attention.

Digestive Conditions

Some ongoing digestive conditions can produce green stool periodically. Irritable bowel syndrome (IBS) is one, particularly during flare-ups that speed up intestinal motility. Any condition that causes chronic or recurrent diarrhea may produce green stool for the same transit-time reason described above.

Conditions that affect bile production or fat absorption can also play a role. If your body isn’t absorbing fats properly, excess bile salts remain in the stool and can give it a green appearance along with a greasy, foul-smelling quality. If you notice this pattern repeatedly without an obvious dietary explanation, it’s worth mentioning to your doctor.

Green Poop in Babies

Green stool in newborns and infants is extremely common and usually normal. In the first few days of life, babies pass meconium, a dark greenish-black substance that accumulated in the intestines before birth. This is completely expected and transitions to yellow or tan stool within a few days.

In breastfed babies, green stool sometimes appears when the baby doesn’t fully finish one breast before switching to the other. The earlier milk (foremilk) is lower in fat, and missing the higher-fat hindmilk can affect how the baby digests the feeding, producing greener output. Babies on protein hydrolysate formula, used for milk or soy allergies, also tend to have green stool. Breastfed infants who haven’t yet developed a full complement of gut bacteria may produce green stool simply because those bacteria aren’t available to complete the bile conversion process.

Green diarrhea in a baby, especially with signs of dehydration like fewer wet diapers, lethargy, or a sunken soft spot, is a different situation and warrants prompt medical evaluation.

Colors That Are More Concerning

While green is rarely worrisome, certain other stool colors carry more clinical significance. Black, tarry stool (not from iron supplements) can indicate bleeding in the upper digestive tract. Bright red stool may signal bleeding lower in the colon or rectum. Pale, clay-colored, or white stool suggests a problem with bile flow, potentially involving the liver, gallbladder, or pancreas. These colors warrant prompt medical attention regardless of other symptoms.

Green stool that returns to its normal brown shade within a day or two, with no pain, fever, or persistent diarrhea, is simply your digestive system responding to what you ate or how quickly food moved through. It’s one of the least concerning color changes your stool can make.