Green poop is almost always harmless. The most common causes are eating green vegetables, taking certain supplements, or having food move through your intestines faster than usual. In most cases, your stool color will return to its normal brown within a day or two without any intervention.
Why Poop Is Normally Brown
Your liver produces bile, a bright green fluid that helps you digest fats. As bile travels through your digestive tract, enzymes chemically break it down, gradually shifting its color from green to yellow to brown. That final brown shade is what most people see in a healthy bowel movement. When something interrupts or speeds up that process, green bile pigment remains intact, and you end up with green stool.
Foods and Supplements That Turn Stool Green
The simplest explanation is often the right one: you ate something green. Spinach, kale, broccoli, and other dark leafy greens contain enough plant pigment to tint your stool noticeably, especially if you ate a large serving. Green food coloring in candy, frosting, or drinks can do the same thing. If you recently had a green smoothie or a salad-heavy meal, that’s likely your answer.
Iron supplements are another frequent culprit. They can turn stool dark green or even blackish, which can look alarming but is a normal chemical reaction between the iron and your digestive fluids. If you started an iron supplement recently and noticed the change, the timing is not a coincidence.
Rapid Digestion and Diarrhea
When food moves through your large intestine too quickly, bile doesn’t have time to fully break down. The result is stool that retains bile’s original green color. This is why green poop often accompanies diarrhea, whether it’s caused by a stomach bug, food intolerance, or stress. The faster things move, the greener the output.
If you’re experiencing diarrhea along with green stool, dehydration is the more immediate concern. Drinking plenty of fluids matters more than worrying about the color itself.
Antibiotics and Other Medications
Some antibiotics can tint your poop yellow or green. This happens because antibiotics disrupt the balance of bacteria in your gut, and those bacteria play a role in the chemical breakdown of bile. With fewer of the right bacteria doing their job, bile pigments pass through less fully processed. The color change typically resolves after you finish the course of medication and your gut bacteria recover.
Bacterial Infections and Digestive Conditions
Less commonly, green stool can signal a bacterial infection or a digestive condition like irritable bowel syndrome. Infections from bacteria like Salmonella or parasites like Giardia can cause rapid transit through the intestines, producing green, watery stools along with cramping and sometimes fever. In these cases, the green color is a side effect of the infection speeding everything up, not a separate problem on its own.
Green Stool in Babies
Green poop in infants is common and usually not a concern. Breastfed babies may produce green stool if they don’t finish feeding on one side, causing them to get more of the lower-fat foremilk and less of the higher-fat hindmilk. This changes how the milk is digested. Babies on protein hydrolysate formula, which is designed for infants with milk or soy allergies, also tend to have green stools. In newborns, a lack of fully established gut bacteria can contribute to the color as well.
Diarrhea in infants can also produce green stool for the same bile-transit reasons it does in adults, but dehydration in babies escalates faster. Signs like fewer wet diapers, dry mouth, or no tears when crying warrant prompt attention.
What Other Stool Colors Mean
Green is one of the least concerning color changes. For context, here’s what other colors can indicate:
- Red: Possible rectal bleeding from hemorrhoids, fissures, or ulcers, though red foods like beets can also be the cause.
- Black: Could indicate bleeding in the upper digestive tract, though iron supplements and bismuth-based medications (like Pepto-Bismol) produce the same color.
- Gray, white, or clay-colored: Suggests a problem with bile flow, potentially involving the liver, gallbladder, or pancreas.
Red and black stools are generally the most clinically significant because they can reflect active bleeding.
When Green Stool Needs Attention
A single green bowel movement, or even a few days of green stool after a big salad or a new supplement, is not a reason for concern. Contact your doctor if green stool persists for more than a few days without an obvious dietary explanation, or if it’s accompanied by severe abdominal pain, fever, bloody or jet-black stool, persistent diarrhea, dehydration, or unexplained weight loss. A sudden, lasting color change that you can’t connect to something you ate or a medication you’re taking is worth mentioning at your next appointment.

