What are the causes of melena (black tarry stools)?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: May 13, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

From the Guidelines

Black tarry stools, medically known as melena, are primarily caused by upper gastrointestinal bleeding, with the most common etiologies being duodenal ulcer, gastric erosions, gastric ulcer, varices, Mallory-Weiss tears, esophagitis, duodenitis, and neoplasm, as reported in the 2017 study by Singh-Bhinder et al 1. The causes of black tarry stools can be diverse, but they often originate from the upper gastrointestinal tract.

  • Upper gastrointestinal bleeding (UGIB) is a significant cause of morbidity and mortality, with 100 episodes per 100,000 admissions annually in the United States and mortality rates as high as 14% 1.
  • The most common etiologies of UGIB include duodenal ulcer, gastric erosions, gastric ulcer, varices, Mallory-Weiss tears, esophagitis, duodenitis, and neoplasm, with some patients having multiple sources of bleeding 1.
  • Other potential causes of black tarry stools include iatrogenic causes such as endoscopic ultrasound-guided biopsies, endoscopic retrograde cholangiopancreatography–related injury, delayed hemorrhage from biliary metallic stenting, nitinol esophageal or upper GI stent placement for obstruction, and extrahepatic arterial injury after pancreatic surgery 1.
  • Rare entities such as hemobilia and hemosuccus pancreaticus can also cause UGIB, with the latter estimated to be the responsible etiology in 1 of every 500 cases of UGIB 1.
  • It is essential to seek immediate medical attention if experiencing black tarry stools, as this can indicate significant blood loss that may be life-threatening 1.

From the Research

Causes of Black Tarry Stools

  • Black tarry stools, also known as melena, can be caused by various factors, including:
    • Gastrointestinal bleeding, which can be due to several conditions such as esophageal varices, gastric varices, or rectal varices 2, 3, 4
    • Portal hypertension, usually due to cirrhosis, which can lead to acute variceal bleeding 2, 3
    • Variceal hemorrhage, which is a substantial cause of morbidity and mortality, with esophageal and gastric varices being the most common source 3
  • The exact cause of black tarry stools can vary, but it is often associated with bleeding in the upper gastrointestinal tract, such as:
    • Esophageal varices, which can bleed severely and have a high mortality rate 2, 3
    • Gastric varices, which are responsible for 10-30% of all variceal hemorrhage and tend to bleed more severely with higher mortality 4
  • Other possible causes of black tarry stools may include:
    • Bleeding from other sources in the gastrointestinal tract, such as ulcers or tumors
    • Ingestion of certain substances, such as iron or bismuth, which can cause black stools
    • However, there is no direct evidence in the provided studies to support these claims, and the primary cause of black tarry stools appears to be related to gastrointestinal bleeding and variceal hemorrhage 2, 3, 4

References

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Research

Endoscopic Treatment of Esophageal Varices.

Clinics in liver disease, 2022

Research

Varices: Esophageal, Gastric, and Rectal.

Clinics in liver disease, 2019

Research

Gastric varices: Classification, endoscopic and ultrasonographic management.

Journal of research in medical sciences : the official journal of Isfahan University of Medical Sciences, 2015

Related Questions

What is the best next step in managing a 65-year-old man with a history of cirrhosis (liver disease) and esophageal varices (enlarged veins in the esophagus) who presents with a resolved episode of hematemesis (vomiting blood)?
What causes gastric varices?
What are the primary causes of rectal varices?
What are the contraindications for nasogastric (NG) tube placement in a patient who is a barista?
How to manage a teenager with hematemesis and known esophageal varices?
What causes fecal calcifications (calcium soapstones) in stool?
Is a 25-year-old patient with Helicobacter pylori (H. pylori) infection, presenting with dyspepsia, chest tightness, dysphagia, and regurgitation, and experiencing symptom improvement with antibiotic treatment, but now developing bloating, nausea, and cramps, likely experiencing antibiotic side effects or requiring further investigation for other conditions, such as gastric cancer?
What are the characteristics of the rash in varicella (chickenpox) during a clinical examination?
Is a 25-year-old patient with Helicobacter pylori (H. pylori) infection and symptoms of dyspepsia, including epigastric burning, chest tightness, dysphagia, regurgitation, and globus sensation, who has shown improvement with antibiotic treatment but now experiences bloating, nausea, and cramps, likely experiencing antibiotic side effects or requiring further investigation for other conditions, given normal blood work and ultrasound results?
What examinations are needed to diagnose erectile dysfunction (sexual weakness)?
What is a neoplasm (tumor)?

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.