Why is my poop green?
A green surprise in the toilet is usually explained by something you ate. Here is what can turn poop green, how to narrow it down, and the few situations where it deserves more attention.
On this page
The short answer
Green poop is usually down to something you ate, or to food moving through you quickly. Some medicines can do it too. Less often it goes along with an infection or a gut condition. As Cleveland Clinic’s gastroenterologist puts it, the rarer causes are possible but not the norm: if you feel well and don’t have diarrhoea, the colour usually comes from something you ate and clears up by itself. For the full range of colours, see our poop colour guide.
Where the green comes from
Your liver makes bile, a yellowish-green fluid that is stored in your gallbladder and helps you digest fat. As bile moves through your intestines, its colour normally shifts to brown. So poop can turn green in two ways: a green pigment passes through, or the bile doesn’t get its usual time to change colour.
Food and food colouring
This is the most common explanation. The chlorophyll that makes spinach, kale and broccoli green can do the same to your stool, especially after a large helping. Other foods that can do it include:
- Matcha, herbs, pistachios and hemp seeds.
- Blueberries and blackberries, which can tint brown stool green for a while.
- Food colouring in sweets, icing and drinks. It needn’t be green: blue and purple dyes can also look greenish once they mix with digestive juices.
A food tint usually fades within a day or two, although Cleveland Clinic says it could take a few days for everything to pass through.
Fast transit
When things move quickly, as they do with diarrhoea, bile has less time to change from green to brown. That is why green often turns up alongside loose stool, at the Bristol type 6 and 7 end of the chart. In that case the green is really a sign of speed, so the more useful question is what caused the diarrhoea. A high-fat diet such as keto can also change things, because it increases bile production.
Antibiotics
Antibiotics can change your gut bacteria, which may add a green or yellow tint. Some medicines also upset the stomach and cause diarrhoea with enough bile in it to look green.
Diarrhoea on antibiotics is worth a call. Antibiotics can upset the balance of bacteria in your bowel and allow an infection called C. diff to develop. The NHS says to ask for an urgent GP appointment or contact NHS 111 if you have diarrhoea and you are taking, or have recently taken, antibiotics.
Iron and other medicines
Iron supplements can turn poop dark green or even blackish. The NHS says darker poo is common with iron and usually nothing to worry about. The same NHS page has an important exception: talk to a doctor or call 111 straight away if your poo is black, tar-like or red, or has blood in or on it, or if you feel unwell in any other way. Don’t assume iron explains those. Our guide to blood in your stool covers why.
Northwestern Medicine also lists bismuth subsalicylate, found in some diarrhoea medicines, which may turn stool dark green or black, and antacids containing aluminium hydroxide.
Infections and gut conditions
Green stool can be a symptom of bacterial infections such as Salmonella and E. coli, viruses such as norovirus, and the parasite Giardia, which can push bile through quickly in diarrhoea.
Cleveland Clinic also lists IBS, ulcerative colitis and Crohn’s disease as conditions that may cause green stool, and notes that having your gallbladder removed can send more bile into the gut, which may cause greenish diarrhoea. Northwestern Medicine describes that colour change as temporary. Green poop alone can’t tell you whether any of these applies.
Working out your likely cause
| What you noticed | Likely explanation | What to do |
|---|---|---|
| Green after greens, matcha or coloured sweets, and you feel fine | Food or dye | Give it a few days to pass through |
| Dark green since starting iron | Iron | Usually nothing. Black, tar-like or red: doctor or 111 straight away |
| Green tint on antibiotics, stool otherwise normal | Changed gut bacteria | Keep an eye on it |
| Green with diarrhoea on or after antibiotics | Could be C. diff | Urgent GP appointment or NHS 111 |
| Green and loose, with sickness or a tummy bug | Fast transit, possibly an infection | Watch for dehydration. Call 111 if it lasts over 7 days or there is blood |
| Still green after a few days, with no obvious reason | Unclear | Contact a healthcare provider |
Green is often hard to explain from memory by the time you notice it. A note of what you ate and how you felt over the previous couple of days usually narrows things down.
When it matters
Cleveland Clinic advises contacting a healthcare provider if an unusual colour lingers, or comes with abdominal pain, weight loss, bleeding, fever or vomiting. Northwestern Medicine adds severe or persistent diarrhoea and signs of dehydration. Pale stool deserves attention in its own right, and the NHS says to get urgent advice from a GP or 111 for poo that is black or dark red, or for bloody diarrhoea.
See a doctor promptly if you notice any of these
- Blood in your stool — bright red, or black and tar-like.
- Unexplained weight loss alongside a change in your bowels.
- A persistent change in habit lasting more than a few weeks.
- Persistent pain, vomiting, or a fever with the change.
- Pale stools with yellow skin or eyes and dark urine.
- A family history of bowel cancer or IBD, or you are over 45 and something has changed.
None of these mean something is seriously wrong — most have ordinary explanations. They are simply the ones worth getting looked at rather than watched.
Track it, don’t guess it
Dookie Deluxe logs type, colour, symptoms and timing in seconds — then turns weeks of entries into a pattern you (and your doctor) can actually read.
Common questions
Is green poop normal?
An occasional green stool is usually harmless, and it is most often linked to something you ate. It is worth contacting a doctor if the colour lingers, or if it comes with pain, fever, vomiting, weight loss or bleeding.
How long does green poop last after eating spinach or food colouring?
Usually a day or two, once the food has passed through, although Cleveland Clinic says it could take a few days. If your poop has not gone back to brown within a few days, contact a healthcare provider.
Can antibiotics make your poop green?
Yes, some can, by changing the bacteria in your gut. Diarrhoea is a separate matter: the NHS says to ask for an urgent GP appointment or contact NHS 111 if you have diarrhoea and are taking, or have recently taken, antibiotics.
Do iron tablets cause green poop?
They can. Iron can turn poop dark green or blackish, and the NHS says darker poo is common and usually nothing to worry about. Talk to a doctor or call 111 straight away if your poo is black, tar-like or red, or has blood in or on it.
Does green diarrhoea mean an infection?
Not necessarily. Any diarrhoea can look green because bile has moved through quickly. Infections are one possible cause. For adults, the NHS says diarrhoea usually stops within 5 to 7 days, and to call 111 if it lasts longer than 7 days or there is blood in it.
More guides
Sources
- Cleveland Clinic — Why is my poop green? 5 causes
- Cleveland Clinic — Foods and supplements that change stool color
- Cleveland Clinic — Stool (poop) color
- Northwestern Medicine — Green poop: what’s going on?
- NHS — Side effects of ferrous sulfate
- NHS — C. diff
- NHS — Diarrhoea and vomiting
- NHS — Symptoms of bowel cancer