
Black stool is often harmless when it comes from iron tablets, bismuth stomach remedies, liquorice or blueberries. But black, sticky, tar-like poop that smells very bad can mean bleeding high in the gut, often from an ulcer. Call your emergency number if you also feel faint, dizzy or vomit blood.
In this article
- What does black stool mean?
- Which foods and medicines can turn poop black?
- When is black stool a sign of bleeding?
- What causes bleeding that makes poop black?
- Can painkillers cause black stool?
- How is the gut involved in black stool?
- What happens when you see a doctor about black stool?
- What can you do if your poop is black?
- Is black stool a sign of IBS?
- Frequently asked questions
- What I want you to remember
In a UK audit of 6,750 people with bleeding from the upper gut, 1 in 10 died in hospital. Black poop is often one of the first signs of that kind of bleeding. It is also, very often, caused by nothing more than an iron tablet or a stomach remedy.
Black stool can be harmless or an emergency, and the difference matters. I ask my clients about their poop, because it tells us so much about the gut. In this guide I explain the common causes and the foods and medicines that turn poop dark. I also share the signs that mean you need help today.
What does black stool mean?
Black stool most often means one of two things. Either something you swallowed darkened it, or blood from high up in your gut has been digested on the way down.
The harmless causes are usually iron tablets, bismuth stomach remedies and some dark foods. The serious cause is bleeding in the food pipe, stomach or the first part of the small bowel. The US National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) lists black or tarry stool as a symptom of sudden gut bleeding.
The NHS says very dark poo can be blood mixed in with poo. So you should never guess. If you cannot link the colour to an iron tablet, a bismuth remedy or a dark food, get checked.
Which foods and medicines can turn poop black?
Iron tablets, bismuth remedies, liquorice and blueberries are the best known. All of them can darken poop without any bleeding.
Iron tablets
Iron is one of the most common harmless causes. The NHS lists darker than usual poo as a common side effect of ferrous sulfate and says it is usually nothing to worry about.
Iron can upset the gut too. A 2015 review of 43 trials and 6,831 adults found ferrous sulfate more than doubled the odds of gut side effects compared with a placebo. If iron bothers you, ask your doctor about other options. Never stop a prescribed iron tablet without advice.
Here is the safety catch. The same NHS page says to call a doctor or 111 straight away if your poo is black, tar-like or red. That advice applies even while you take iron. Iron does not protect you from a bleed.
Bismuth stomach remedies
Bismuth subsalicylate is the active ingredient in some pink upset stomach and diarrhoea remedies. MedlinePlus says it can darken your stool and tongue. This is harmless and usually goes away a few days after you stop taking it.
MedlinePlus also advises asking a doctor before taking it if you have had an ulcer, a bleeding problem or black stools. It contains a salicylate, a relative of aspirin, so people on blood thinners should check first too.
Dark foods
The NHS says poo can look very dark or black if you eat a lot of dark foods like liquorice and blueberries. Think back over the last day or two. A big bowl of blueberries or black liquorice sweets is a common, harmless answer.
Food colour usually passes within a day or two. If your poop stays black after you stop the food, see a doctor.
When is black stool a sign of bleeding?
Black stool is a warning sign when it looks sticky and tar-like and smells very bad. The NHS stomach ulcer page says to call 999 or go to A&E if your poo is black, sticky and very smelly.
Blood from high in the gut is broken down as it travels through. That turns it black and gives it a strong smell. Doctors call this melaena.
The NIDDK lists other signs of sudden gut bleeding that can come with it.
- Vomiting blood, or vomit that looks like coffee grounds
- Feeling dizzy, light-headed or faint
- Feeling tired or short of breath
- Cramps or pain in your belly
- Pale skin, cold hands, sweating or a fast heartbeat, which can be signs of shock
Shock is life-threatening. If you have black, tarry poop with any of these, call your emergency number now. Do not drive yourself.
What causes bleeding that makes poop black?
Stomach and duodenal ulcers are the most common cause. In the 2007 UK audit, peptic ulcers caused 36% of upper gut bleeds. Swollen veins in the food pipe, called varices, caused 11%.
The NIDDK lists these upper gut causes.
- Peptic ulcers. Sores in the stomach or duodenum, most often caused by H. pylori infection or painkillers like ibuprofen and aspirin.
- Gastritis. An inflamed stomach lining, linked to H. pylori, painkillers, blood thinners and alcohol.
- Oesophagitis. Inflammation of the food pipe, often from reflux.
- Varices. Enlarged veins, most often linked to cirrhosis of the liver.
- Mallory-Weiss tears. Tears in the lower food pipe, often after severe vomiting.
- Growths. Benign tumours or cancer in the food pipe or stomach.
The good news is that this is changing. A US study of national hospital data found admissions for upper gut bleeding fell by 21% from 2002 to 2012. Bleeding from gastritis fell by 55% and from ulcers by 30%. Deaths in hospital fell from 2.6 to 1.9 per 100 cases.
The authors suggest better ulcer treatment and care likely played a part. This was an observational study, so it shows a trend and not one clear cause.
Can painkillers cause black stool?
Yes, they can, by causing ulcers that bleed. Common anti-inflammatory painkillers, called NSAIDs, raise the risk of bleeding and other upper gut problems.
A 2012 review pooled 28 observational studies. Ibuprofen was linked to about 1.8 times the risk of upper gut problems, diclofenac about 3.3 times and naproxen about 4.1 times. High daily doses carried 2 to 3 times the risk of low doses.
In the UK audit, 11% of people with a bleed were taking NSAIDs and 28% were taking aspirin. The NHS also names blood thinners like warfarin and apixaban as a possible cause of dark or black poo.
Try this. If you take painkillers often for period pain, joint pain or headaches, ask your doctor which option is gentlest on your stomach. Never stop a blood thinner on your own.
How is the gut involved in black stool?
I strongly believe gut health shapes nearly every part of our health, and black stool shows this clearly. One of the biggest causes of bleeding ulcers is a gut bacterium.
Helicobacter pylori lives in the stomach lining. The NHS and NIDDK both name it as a main cause of stomach ulcers. The 2022 Maastricht VI consensus, written by 41 experts from 29 countries, says H. pylori is now formally an infectious disease. It recommends that all infected people should be treated.
The same report warns that antibiotic resistance keeps rising, so the right test and treatment plan matter. A simple breath or stool test can find it. If you have had an ulcer or ongoing upper belly pain, ask your doctor about H. pylori testing.
Ulcer treatment touches your gut bacteria too. Acid-lowering drugs called proton pump inhibitors (PPIs) are a key treatment, and they work. But a 2016 study of 1,815 people found PPI users had less varied gut bacteria. Changes showed up in 20% of the bacterial groups measured, with more mouth bacteria reaching the gut.
That study shows a link, not harm from short courses. Take PPIs exactly as your doctor prescribes. Then ask at each review if you still need them. Meanwhile, feed your gut bacteria with a wide range of plant foods once you are well.
What happens when you see a doctor about black stool?
Your doctor will ask about medicines, iron, alcohol, pain and other symptoms. They may check your blood count and test your poop for blood. If bleeding is likely, you may need a camera test of your stomach, called an endoscopy.
Hospitals often use a score called the Glasgow Blatchford score to judge risk. A 2017 study of 3,012 people in 6 hospitals across 4 continents found it was the best score at predicting who needed treatment. A score of 0 or 1 picked out very low risk people with 98.6% sensitivity.
The American College of Gastroenterology 2021 guideline suggests these very low risk patients may go home with follow-up. For people admitted to hospital, it suggests an endoscopy within 24 hours.
Only a doctor can work out your score. It needs blood tests and a check of your pulse and blood pressure. Please do not try to judge it at home.
What can you do if your poop is black?
First, decide whether it is an emergency. Then work through the simple checks.
- Check for danger signs. Tarry, sticky, very smelly poop, vomiting blood, fainting, dizziness or severe pain means calling your emergency number now.
- Think back 48 hours. Note any iron tablets, bismuth remedies, liquorice, blueberries or new medicines.
- Check your painkillers. Note how often you take ibuprofen, naproxen, aspirin or any blood thinner. Tell your doctor.
- Get checked the same day if you are unsure. The NHS advises an urgent GP appointment or NHS 111 if your poo is black or dark red.
- Keep a two week poop diary afterwards. Write down colour, form, food and medicines. My Gut Check game can help you learn what different gut signs may mean.
- Look after your gut once you are well. Eat a range of plant foods, drink less alcohol and ask about H. pylori if you have had an ulcer.
Black poop is different from other colour changes. If your poop is green, read my guide to green poop. If you see slime, read my guide to mucus in stool.
Is black stool a sign of IBS?
No. IBS does not cause bleeding, so it does not cause black stool. Black poop with IBS still needs a check, because it points to something else.
I lived with IBS with diarrhoea myself, so I know how easy it is to blame every gut change on IBS. Please do not do that with black or bloody poop. My guide to IBS vs IBD explains which signs point beyond IBS. If burning upper belly pain is part of your story, my guide to heartburn vs IBS can help too.
Frequently asked questions
Is one black stool an emergency?
It can be. If it is sticky, tar-like and very smelly, or you feel faint, dizzy or vomit blood, call your emergency number now. If you feel well and just took iron or bismuth, it is likely harmless. If you are unsure, get same day advice.
How long does black stool last after iron or bismuth?
MedlinePlus says bismuth darkening usually goes away a few days after you stop. Iron can keep poop dark for as long as you take it. If poop stays black after you stop either one, or looks tar-like, see a doctor.
Can stress cause black stool?
Stress alone does not turn poop black. Stress can make upper belly pain and reflux feel worse. Ulcers are mainly caused by H. pylori and painkillers. So black poop during a stressful time still needs a check for bleeding.
What is the difference between black stool and dark brown stool?
Dark brown poop is usually normal and changes with what you eat. Truly black poop, especially if it is sticky and smells very bad, can mean digested blood. If you cannot tell, take a photo for your doctor and get checked.
Can black stool be a sign of cancer?
Sometimes. The NIDDK lists tumours and cancer of the food pipe and stomach among the causes of upper gut bleeding. Most black stools are not cancer. Weight loss, trouble swallowing or ongoing upper belly pain make a check more urgent.
What I want you to remember
Black stool is often caused by iron, bismuth or dark foods. But black, sticky, very smelly poop can mean bleeding high in your gut, and that needs help straight away.
If you cannot explain the colour, do not wait. The NHS says most people with a stomach ulcer recover with treatment. Once you are well, a calm routine helps your whole gut. Join my free 30-Day Calm Gut Challenge to build one step by step.
Sources
- Laine L, et al. ACG Clinical Guideline. Upper gastrointestinal and ulcer bleeding. American Journal of Gastroenterology, 2021
- Stanley AJ, et al. Comparison of risk scoring systems for patients presenting with upper gastrointestinal bleeding. International multicentre prospective study. BMJ, 2017
- Wuerth BA, Rockey DC. Changing epidemiology of upper gastrointestinal hemorrhage in the last decade. A nationwide analysis. Digestive Diseases and Sciences, 2018
- Hearnshaw SA, et al. Acute upper gastrointestinal bleeding in the UK. Patient characteristics, diagnoses and outcomes in the 2007 UK audit. Gut, 2011
- Castellsague J, et al. Individual NSAIDs and upper gastrointestinal complications. A systematic review and meta-analysis of observational studies. Drug Safety, 2012
- Tolkien Z, et al. Ferrous sulfate supplementation causes significant gastrointestinal side-effects in adults. A systematic review and meta-analysis. PLOS ONE, 2015
- Malfertheiner P, et al. Management of Helicobacter pylori infection. The Maastricht VI/Florence consensus report. Gut, 2022
- Imhann F, et al. Proton pump inhibitors affect the gut microbiome. Gut, 2016
- NIDDK. Symptoms and causes of GI bleeding. Reviewed July 2024
- NHS. Bleeding from the bottom (rectal bleeding). Reviewed 2023
- NHS. Stomach ulcer. Reviewed August 2025
- NHS. Side effects of ferrous sulfate
- MedlinePlus. Bismuth subsalicylate
This article shares general information. It is not a diagnosis or a treatment plan. Please talk to your own doctor before you change your diet, medicines or supplements.