Dark green poop usually results from eating leafy greens high in chlorophyll, consuming foods with green dye, or food moving through your digestive system too quickly for bile to fully break down.

Antibiotics, iron supplements, and certain infections can also turn stool green. Salmonella bacteria, Giardia, and norovirus disrupt gut bacteria or speed up digestion. Graft-versus-host disease, which can occur with bone marrow transplants, may cause bright green poop along with diarrhea.

In babies, green stool might stem from dietary changes when they start eating solids, changes in a parent's diet if chestfeeding, or from ingesting small amounts of amniotic fluid in the womb.

Green poop is typically harmless and temporary. Talk with a healthcare professional if it persists or comes with severe stomach pain, nausea, or diarrhea. Persistent changes in stool color may signal underlying health issues that need medical attention.

While liver issues can change stool color, they usually turn it pale or dark, not green. Dark poop that is black and tar-like might mean bleeding in your upper gastrointestinal tract, which requires talking with a healthcare professional.