SymptomDigestive system

Melena: Black, Tarry Stools

Melena is the medical term for black, sticky, tar-like stools with a strong, foul smell. It means blood has been digested on its way through the gut, which usually points to bleeding from the esophagus, stomach or first part of the small intestine. Stomach and duodenal ulcers are the commonest cause. Melena needs same-day medical assessment, and emergency care if you feel dizzy, faint or short of breath.

Also called: Black tarry stools, black stools, melaena, tarry stool

At a glance

What it is
Black, sticky, tar-like stool from digested blood.
What it indicates
Bleeding usually high in the gut: esophagus, stomach or duodenum.
Main causes
Peptic ulcers, gastritis from NSAIDs or alcohol, esophageal varices, tears and tumors.
How serious
Always needs medical review. It can mean significant blood loss.
Diagnosis
Blood tests and an upper endoscopy.
Treatment
Stopping the bleeding at endoscopy, acid-suppressing medicine, treating the cause.

When to get help

Call 911 or go to the ER

  • Black, tarry stools with dizziness, fainting, a racing heart, pale clammy skin or shortness of breath
  • Vomiting blood or material that looks like coffee grounds
  • Large amounts of black stool or repeated black stools in a few hours
  • Melena in someone with liver cirrhosis or known varices

See a doctor within a day or two

  • A single black, sticky stool without other symptoms (get seen the same day)
  • Black stools while taking blood thinners, aspirin or NSAIDs
  • Black stools with upper belly pain, or after heavy drinking or vomiting

Book a routine appointment

  • Dark stools that are not sticky or foul-smelling and started after iron tablets, bismuth or dark foods

What melena looks like

Melena is distinctive once you know it:

  • Color: jet black, not just dark brown or dark green
  • Texture: sticky, shiny and tar-like, often hard to flush and smearing on the paper
  • Smell: strong and unusually foul, from blood broken down by gut bacteria
  • Consistency: often loose

Bleeding needs time in the gut to turn black. Usually 50 to 100 ml of blood or more has to enter the upper gut, and it takes several hours of transit. Melena can continue for a few days after the bleeding has stopped while old blood clears.

What melena indicates

Melena almost always means bleeding above the ligament of Treitz, the point where the duodenum joins the jejunum. This is called upper gastrointestinal bleeding. Less often, slow bleeding from the small intestine or right side of the colon causes melena when stool moves slowly.

MelenaHematocheziaDark stool from iron or bismuth
ColorBlackBright red or maroonDark green-black or gray-black
TextureSticky, tarryLiquid blood or clots, or blood on stoolNormal, formed
SmellVery foulVariableNormal
Usual sourceStomach or duodenumColon, rectum or anus (or very heavy upper bleeding)Not bleeding
Stool test for bloodPositivePositiveNegative

Causes of melena

Peptic ulcers

Ulcers in the stomach or duodenum cause about half of upper GI bleeds. The two main causes of peptic ulcers are Helicobacter pylori infection and NSAIDs such as ibuprofen, naproxen and aspirin. Many bleeding ulcers cause no pain beforehand, especially in older people taking NSAIDs.

Gastritis and erosions

Inflammation and shallow erosions of the stomach lining from NSAIDs, alcohol or severe illness can bleed. NSAID gastropathy is common in people taking anti-inflammatories regularly.

Esophageal varices

Esophageal varices are swollen veins in the lower esophagus, caused by high pressure in the liver's blood supply from cirrhosis. They can bleed suddenly and heavily, often with vomiting of blood. This is a life-threatening emergency.

Other causes

  • Esophagitis: severe acid reflux inflaming the esophagus
  • Mallory-Weiss tear: a tear at the junction of the esophagus and stomach after forceful vomiting or retching
  • Stomach or esophageal cancer: often slow bleeding with weight loss and anemia
  • Abnormal blood vessels (angiodysplasia), most common in older adults
  • Swallowed blood from a nosebleed or after dental surgery, which can also turn stool black
  • Small bowel sources such as Crohn's disease, tumors or a Meckel's diverticulum

Things that raise the risk

  • Taking NSAIDs or aspirin, especially with blood thinners, SSRIs or steroids
  • Being over 60
  • Previous ulcers or GI bleeding
  • Heavy alcohol use
  • Liver disease

Things that turn stool black without bleeding

  • Iron tablets: dark green-black stools, usually formed and not tarry
  • Bismuth subsalicylate (Pepto-Bismol): gray-black stool and a black tongue
  • Foods: black licorice, blueberries, black pudding, dark chocolate cookies, beets in large amounts
  • Activated charcoal

If you take iron and your stool suddenly becomes sticky, tar-like and foul, or you feel unwell, treat it as possible melena.

Symptoms that may come with melena

  • Signs of blood loss: dizziness, especially on standing, fainting, a fast heartbeat, breathlessness, pale skin, cold sweat
  • Vomiting blood or coffee-ground vomit, which confirms an upper GI source
  • Upper belly pain or burning, suggesting an ulcer or gastritis
  • Tiredness and breathlessness from anemia if the bleeding is slow
  • Weight loss, poor appetite or trouble swallowing, which raise concern for cancer

How doctors assess melena

  1. Rapid assessment of pulse, blood pressure and signs of shock.
  2. Rectal exam to look at the stool.
  3. Blood tests: hemoglobin, blood urea (often raised in upper GI bleeding), clotting, liver tests and blood type.
  4. Risk scoring such as the Glasgow-Blatchford score, which helps decide who needs admission and who can be investigated as an outpatient.
  5. Upper endoscopy (EGD): a camera passed through the mouth into the stomach and duodenum, usually within 24 hours. It finds the source and treats it at the same time.
  6. Further tests if endoscopy is normal: colonoscopy, capsule endoscopy of the small intestine, or CT angiography.

Treatment

  • Resuscitation: IV fluids and blood transfusion if needed.
  • Endoscopic treatment: clips, heat, injection of adrenaline, or bands for varices.
  • Acid-suppressing medicine: high-dose proton pump inhibitors for ulcers.
  • Treating the cause: antibiotics to clear H. pylori, stopping NSAIDs, reviewing blood thinners with your doctor (do not stop prescribed blood thinners by yourself).
  • For varices: medicines to lower portal pressure, antibiotics, and sometimes a shunt procedure (TIPS).
  • Interventional radiology or surgery if bleeding cannot be controlled endoscopically.

Frequently asked questions

Is melena black tarry stool?

Yes. Melena is the medical name for black, sticky, tar-like stool that smells unusually bad. The color and texture come from blood that has been digested on its way through the gut. Dark stool that is formed and normal-smelling is usually not melena.

What does melena indicate?

Melena indicates bleeding in the upper digestive tract, most often from a stomach or duodenal ulcer, gastritis or esophageal varices. Less often the source is the small intestine or right colon. It always needs medical evaluation.

Is melena an emergency?

It should be treated as urgent. Get seen the same day for a single episode without symptoms. Call 911 or your local emergency number if you also feel dizzy or faint, have a fast heart rate, vomit blood, or have repeated black stools.

Can iron tablets cause melena?

Iron tablets make stool dark green or black, but this is not true melena. Iron stools are usually formed, not sticky or tarry, and do not smell unusually bad. A stool test for blood can tell the difference.

How long does melena last after bleeding stops?

Black stools can continue for 1 to 3 days after bleeding stops, while digested blood passes through. If black stools continue longer, or new red or black blood appears, bleeding may have restarted.

Sources

This guide was written from current patient and clinical guidance, including:

  • American College of Gastroenterology: Upper gastrointestinal and ulcer bleeding guideline
  • MedlinePlus (US National Library of Medicine): Stools, black or tarry
  • NHS: Black poo; Stomach ulcer
  • Merck Manual Consumer Version: Gastrointestinal bleeding
  • NICE: Acute upper gastrointestinal bleeding in over 16s