Green poop is usually harmless and often linked to something you ate. The most common causes are green foods, green food coloring, and how fast food moves through your digestive system. In most cases, the color returns to normal within a day or two without any treatment.
Why Does Stool Turn Green?
Bile is the main reason stool can look green. Your liver makes bile to help digest fats, and bile is naturally greenish-yellow in color.
As bile travels through your intestines, bacteria change its color. By the time it reaches your large intestine, it normally turns brown. This color change takes time.
When food moves through your system too quickly, bile does not have enough time to change color. The result is green stool.
What Foods Cause Green Poop?
Several common foods can turn your stool green. Leafy green vegetables are a frequent cause because they contain chlorophyll, the pigment that makes plants green.
- Spinach and kale
- Broccoli and green beans
- Green herbs like parsley and cilantro
- Green algae products like spirulina and chlorella
- Green smoothies and green juices
Food coloring is another major cause. Blue and purple dyes can mix with yellow bile in your digestive tract, creating green stool. This is common after eating:
- Green or blue candy and frosting
- Sports drinks with artificial colors
- Green gelatin desserts
- Purple drinks that contain blue dye
Some research suggests that eating large amounts of these foods or dyes can temporarily change stool color. The effect usually lasts only one or two bowel movements.
Can Diarrhea or Digestive Issues Cause Green Stool?
Diarrhea is one of the most common reasons for green poop. When you have diarrhea, food and waste move through your intestines much faster than normal.
Rapid transit time means bile stays green because bacteria do not have enough time to break it down into brown pigments. This is why many people notice green stool during episodes of diarrhea.
Several digestive conditions can speed up bowel movements and cause green stool:
- Food poisoning
- Stomach flu or viral gastroenteritis
- Irritable bowel syndrome with diarrhea
- Food intolerances like lactose intolerance
- Celiac disease
When the underlying cause resolves, stool color typically returns to normal. Persistent green stool with diarrhea may indicate an ongoing digestive condition that needs evaluation.
Do Medications and Supplements Change Stool Color?
Certain medications and supplements can turn stool green. Iron supplements are a well-documented cause of darker stool, which can sometimes appear greenish.
Some antibiotics change the balance of bacteria in your gut. Since gut bacteria are responsible for changing bile from green to brown, an altered bacterial balance can result in green stool.
Other products that can cause green stool include:
- Laxatives that speed up bowel movements
- Medications containing blue or green dyes
- Some antacids
- Herbal supplements with green ingredients
If you recently started a new medication and notice green stool, check the label for coloring agents. You can also ask your pharmacist whether the medication is a known cause of stool color changes.
What Does Green Poop Mean in Babies and Children?
Green stool in babies is often normal. Breastfed infants may have greenish stool, especially if they are feeding frequently or if the mother’s diet changes.
Formula-fed babies can also have green stool. Some iron-fortified formulas are known to produce greenish stool in infants.
In older children, green poop is usually caused by the same things that affect adults:
- Eating green foods
- Consuming foods with artificial coloring
- Having a stomach bug with diarrhea
Parents should not panic if their child has one or two green stools. However, green stool accompanied by fever, abdominal pain, or blood in the stool warrants a call to the pediatrician.
When Should You See a Doctor About Green Poop?
Most cases of green stool resolve on their own and do not require medical attention. You should monitor your symptoms and seek care if certain warning signs appear.
See a doctor if green stool lasts longer than a few days without an obvious cause. Persistent green stool may indicate an underlying digestive issue that needs proper diagnosis.
Seek medical attention promptly if you experience any of these symptoms alongside green stool:
- Blood or mucus in the stool
- Severe or worsening abdominal pain
- Fever above 101°F
- Signs of dehydration from prolonged diarrhea
- Unexplained weight loss
- Green stool that continues after stopping the suspected food or medication
Green stool alone is rarely an emergency. The color change is usually benign and temporary. But when combined with other symptoms, it may signal an infection or digestive condition that requires treatment.
How Can You Prevent Green Poop?
Prevention depends on identifying the cause. If green foods are responsible, you do not need to eliminate them from your diet. Green vegetables are healthy and the temporary color change is harmless.
If artificial food coloring is the culprit, reducing your intake of heavily dyed foods may help. Reading ingredient labels can help you identify products with blue or green dyes.
For diarrhea-related green stool, the focus should be on treating the diarrhea rather than the color. Staying hydrated is important. Most cases of infectious diarrhea resolve within a few days.
If a new medication is causing green stool, talk to your doctor before stopping it. Never discontinue a prescribed medication without medical guidance. Your doctor can help determine whether the benefit of the medication outweighs this harmless side effect.
Frequently Asked Questions
Is green poop a sign of infection?
Green poop alone is not a reliable sign of infection. It can indicate an infection if accompanied by diarrhea, fever, or abdominal cramping.
How long does green poop last?
Green poop usually lasts one to two days once the cause is removed. If it persists beyond a few days without an obvious cause, contact your doctor.
Can stress cause green poop?
Stress can speed up digestion, which may lead to green stool. The effect is indirect and usually temporary, but persistent digestive symptoms related to stress deserve medical evaluation.
Does green poop mean something is wrong with my liver?
Green poop is not typically a sign of liver disease. Liver problems usually cause pale, clay-colored, or yellow stool rather than green stool.

