Why Is My Poop Green?
Stool is usually some shade of brown, so seeing green poop can be unexpected. If it has happened to you, it is natural to ask: why is my poop green?
The typical brown color of feces comes mainly from bile and bilirubin. Bile is produced by the liver, stored in the gallbladder, and helps your body digest food. Bilirubin forms when red blood cells break down, then moves into the digestive tract. In the large intestine, bacteria help break it down further before it leaves the body in stool.
Because of this process, stool color can sometimes change. Poop may appear green, red, black, or even purple. In many cases, green stool is linked to diet, especially eating a lot of leafy greens. However, stool color can occasionally point to a health issue.
This guide explains the most common causes of green poop and when it may be time to speak with a doctor.
Common Reasons Poop Turns Green
1. You Ate Green Foods
One of the most common causes of green stool is eating foods rich in chlorophyll, the pigment that gives plants their green color. Leafy vegetables such as spinach, kale, and broccoli are frequent triggers.
If you had a large salad or a green smoothie the day before noticing green poop, food is likely the reason, and it is usually nothing serious.
Artificial coloring can also affect stool color. A small amount of food dye may be enough to turn poop green. This is especially common in children after eating brightly colored frosting, candy, or drinks. Adults may notice the same thing after consuming green-colored beverages, including festive drinks like green beer.
Some foods and products are known to change stool color:
- Green: spinach, kale, broccoli, bok choy, green peppers, green food coloring, and in infants, sometimes breastmilk or formula
- Red: beets, cranberry juice, tomato juice, red drink mixes, red food coloring
- Pink: Pepto-Bismol, some food dyes
- Black: licorice, grape juice, dark beer
- Purple: blueberries, blue food coloring, purple-colored foods
Many people who switch to a vegetarian or vegan diet also notice greener stool. That is usually because they are eating more fruits, vegetables, and leafy greens and fewer animal products.
In short, occasional green poop is often related to what you ate and usually is not a cause for concern.

2. High-Fat Diets
Very high-fat eating patterns, such as the ketogenic diet, may also lead to green stool in some people. These diets sharply reduce carbohydrates while increasing fat intake.
A high-fat diet can cause the body to produce more bile acids. If your digestive system does not process that bile efficiently, some of it may remain in the stool and give it a green appearance.
Some people on these diets also report yellow stool. In many cases, this is temporary and not dangerous unless the color change is persistent or accompanied by other symptoms.
3. Coffee, Alcohol, and Spicy Foods
Coffee, alcohol, and spicy foods can stimulate the digestive system and act like mild laxatives. This means food moves through your intestines faster than normal.
When stool passes too quickly, bile may not have enough time to fully break down. As a result, your poop may look green or yellow-green.
Spicy foods can also irritate the digestive tract and contribute to loose stools, which further increases the chance of a color change.
Usually, this is not serious, but it may be a sign that you are overdoing coffee, alcohol, or heavily spiced meals.
4. Diarrhea
Diarrhea is another common reason stool changes from brown to green. Bile is naturally greenish-yellow, and when waste moves too quickly through the intestines, the body may not fully break it down.
That can lead to green diarrhea or watery green bowel movements.
Common causes of diarrhea include:
- Bacterial infections
- Food poisoning
- Inflammatory bowel disease
- Laxative use
- Some medications
- Irritable bowel syndrome (IBS)
- Crohn’s disease
- Ulcerative colitis
- Celiac disease
- Pancreatic insufficiency
- Biliary disease
- Digestive tract inflammation
- Certain medical procedures
One of the most frequent causes is food poisoning, especially after eating undercooked meat or spoiled food. In those cases, green loose stool is fairly common.
Most diarrhea improves on its own within a day or two. However, if you have:
- Persistent diarrhea
- Long-lasting green diarrhea
- Bloody diarrhea
- Severe abdominal pain
- Signs of dehydration
you should contact a healthcare professional.
5. Antibiotics
Taking antibiotics can also lead to green poop. These medications are prescribed to treat bacterial infections, such as urinary tract infections or respiratory infections.
Antibiotics work by killing bacteria or stopping them from multiplying. The problem is that they do not only affect harmful bacteria. They can also reduce the helpful bacteria in your gut.
When there are fewer healthy intestinal bacteria, your body may not break down bilirubin as effectively. That can change stool color and make it appear green instead of brown.
If you are taking antibiotics, you may help support your gut microbiome by including:
- Prebiotic foods: legumes, whole grains, fruits, vegetables
- Probiotic foods: yogurt, kefir, sauerkraut
These foods may help restore a healthier balance of gut bacteria.
6. Supplements
Some vitamins and supplements can also cause green stool. Common examples include:
- Iron supplements
- Wheatgrass
- Chlorella
- Spirulina
- Green tea supplements
Iron can sometimes darken stool and may even make it look black in some cases.
If you recently started taking a new supplement and then noticed green poop, the supplement may be the reason. Check the label of your multivitamin as well, since many contain iron.
If you are not sure whether a supplement is causing the change, you can stop it for a few days if appropriate and see whether your stool returns to its normal brown color. If the color change continues, seek medical advice.
When Green Poop May Be a Concern
Although green stool is often harmless, sometimes it can be linked to a more serious issue. Pay attention if it happens often or comes with other symptoms.
You should consider seeing a doctor if green poop is accompanied by:
- Ongoing diarrhea
- Blood in the stool
- Black or tar-like stool
- Severe stomach pain
- Fever
- Nausea or vomiting
- Unexplained weight loss
- Signs of dehydration
- Persistent changes in bowel habits
A medical professional can help determine whether the cause is diet, medication, an infection, or an underlying digestive condition.
Final Thoughts
In most cases, green poop is caused by food, supplements, antibiotics, or faster digestion, and it is usually not a sign of anything serious. Eating leafy greens, consuming artificial food coloring, drinking too much coffee or alcohol, or having diarrhea are some of the most common explanations.
Still, if green stool does not go away or if it appears along with pain, blood, fever, or long-lasting digestive problems, it is best to consult a doctor.
Occasional green poop is common. Persistent or painful symptoms deserve medical attention.


