Symptom

Black stools (melaena)

Black, tarry, foul-smelling stools, called melaena, usually signal bleeding from the upper digestive tract — the stomach or the first part of the small intestine. The blood turns black as it passes through the gut. It is an important warning sign that needs prompt medical assessment.

What it means

Truly black, sticky, tar-like stools with a strong offensive smell are called melaena, and they usually mean bleeding from high up in the digestive tract — the oesophagus, stomach or duodenum. The black colour comes from blood being chemically altered as it is digested on its way through the gut, which is why upper-gut bleeding looks black rather than red by the time it is passed. The commonest causes are a peptic ulcer (an ulcer in the stomach or duodenum, often from H. pylori infection or anti-inflammatory painkillers), inflammation of the stomach lining (gastritis), and bleeding from swollen veins in the food pipe in people with serious liver disease. Because this bleeding can be brisk and significant, melaena is treated as an important warning sign. Not everything black is blood, however: iron tablets and bismuth-containing medicines (such as some indigestion remedies), and dark foods like liquorice or blueberries, can darken the stool harmlessly — but these do not have the sticky, tarry consistency and foul smell of true melaena, and blood loss also tends to cause tiredness, breathlessness and pallor from anaemia. When in doubt, black stools should be checked, because a genuine upper-gut bleed can be serious.

Common causes

  • Peptic ulcer (stomach or duodenal ulcer) — a common cause; often from H. pylori or anti-inflammatory painkillers.
  • Gastritis — inflammation of the stomach lining.
  • Bleeding oesophageal varices — swollen veins in people with serious liver disease; a serious cause.
  • Other upper-gut bleeding — such as a tear or, less often, a tumour.
  • Not blood (harmless) — iron tablets, bismuth medicines, and dark foods like liquorice or blueberries, which lack the tarry, foul-smelling quality of true melaena.

Lab work-up approach

When melaena is suspected, the key is to confirm bleeding and assess its impact while the source is found, usually by an urgent endoscopy. Blood tests support this: haemoglobin and a full blood count show whether enough blood has been lost to cause anaemia, and ferritin and iron studies reflect chronic slow loss. Kidney function (urea) can rise after an upper-gut bleed. A test for H. pylori is relevant when an ulcer is the cause. Because the priority in true melaena is a prompt clinical assessment rather than waiting on tests, this is a symptom to act on. Mediora.AI can surface a low haemoglobin and ferritin that fit blood loss from the upper gut, but black tarry stools need prompt medical attention.

Tests Mediora.AI can interpret

Related conditions

Panels to consider

When to see a doctor

Black, tarry, foul-smelling stools should prompt urgent medical assessment, because they usually mean bleeding from the upper digestive tract that can be significant. Seek urgent or emergency care if the black stools come with vomiting blood or material like coffee grounds, tummy pain, feeling faint, dizzy, breathless or very unwell, or a fast heartbeat — these suggest a brisk or ongoing bleed. If you take iron tablets or a bismuth-containing indigestion medicine, or have eaten dark foods, that can harmlessly blacken the stool, but if there is any doubt — particularly if the stool is sticky and tarry, or you feel unwell — it should be checked rather than assumed to be harmless. Mediora.AI helps flag the anaemia that blood loss causes; genuine black tarry stools need a clinical assessment without delay.

Already have lab results for this symptom? Upload the PDF and get a doctor-reviewed plain-language reading of every marker.
Upload