What Would Make My Poop Green and When to Worry

Green poop is almost always harmless, and the most common cause is simply something you ate. Chlorophyll-rich vegetables, artificial food dyes, and certain supplements can all tint your stool green as they pass through your digestive system. Less often, green stool signals that food is moving through your intestines faster than usual, which can happen with illness or digestive conditions.

Green Vegetables and Chlorophyll-Rich Foods

The single most common reason for green poop is eating a lot of green foods. Spinach, kale, and broccoli are the usual suspects, but the list extends further than most people expect. Avocados, fresh herbs like parsley and cilantro, matcha (powdered green tea), and even pistachios contain enough chlorophyll to change your stool color. The more you eat in a sitting, the more vivid the result.

Chlorophyll is the pigment that makes plants green, and your body doesn’t fully break it down during digestion. It keeps tinting material as it moves through your intestines, so what comes out the other end can range from olive to bright green depending on how much you consumed. This is completely normal and stops once you ease up on the greens.

Artificial Food Dyes

Brightly colored processed foods are another frequent culprit, especially ones containing blue or green dyes. Candy, fruit snacks, cake frosting, freeze pops, and colored drinks all contain artificial coloring that continues to tint whatever it touches long after you swallow it. Blue dye is a particularly common cause because it mixes with the yellow-green bile your liver naturally produces, creating a green result in the toilet.

This means even purple or blue frosting on a cupcake can turn your poop green, which catches people off guard. If you recently ate something with vivid artificial coloring, that’s likely your answer. The effect typically lasts one to two bowel movements.

Rapid Transit Through Your Gut

Your liver constantly releases bile to help digest fats. Bile starts out green and gradually shifts to brown as bacteria in your intestines break it down during its journey through your colon. That brown color is what gives normal stool its familiar shade.

When food moves through your intestines faster than usual, bile doesn’t have enough time to complete that color change. The result is stool that retains its original greenish hue. Anything that speeds up digestion can cause this: a bout of diarrhea from a stomach virus, food intolerance, stress, or even a large dose of caffeine. If your green stool is also loose or watery, fast transit time is the likely explanation.

Supplements and Medications

Iron supplements are well known for changing stool color, often to dark green or black. This happens because your body absorbs only a fraction of the iron in each pill, and the leftover iron reacts with digestive enzymes as it passes through. The color change is a predictable side effect, not a sign of a problem.

Certain antibiotics can also produce green stool by disrupting the balance of gut bacteria that normally process bile. With fewer of those bacteria at work, bile stays greener throughout its trip through the colon. If you notice the change shortly after starting a new medication, the timing is probably not a coincidence.

Green Stool in Babies

Parents often notice green poop in their infants, and it has its own set of causes. Newborns pass dark greenish-black meconium in the first few days of life, which is entirely normal. After that transition, green stool in breastfed babies can happen when a baby doesn’t finish nursing on one side before switching. This means the baby gets more of the thinner, lower-fat foremilk and less of the fat-rich hindmilk, which changes how the milk is digested.

Babies on protein hydrolysate formula (the kind used for milk or soy allergies) also tend to produce greener stool. And because infants are still building up the bacteria in their intestines, breastfed babies in particular may lack enough of the specific gut bacteria that convert bile from green to brown. Diarrhea in babies causes green stool for the same fast-transit reason it does in adults.

When Green Stool Signals Something More

On its own, green poop that shows up for a day or two is rarely a concern. The color becomes worth paying attention to when it persists for more than a few days or arrives alongside other symptoms: abdominal pain, fever, vomiting, unexplained weight loss, or blood in the stool. These combinations can point to a bacterial or parasitic infection, or an inflammatory condition that needs evaluation.

Green stool that comes with diarrhea also raises the risk of dehydration, especially in young children. Keeping up with fluids is important any time diarrhea is involved, regardless of stool color. If the green color sticks around after you’ve ruled out dietary causes and any accompanying symptoms aren’t improving, that’s a reasonable time to get it checked out.