What is the appropriate evaluation and management for a patient with black, tarry stools (melena)?

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: March 7, 2026View editorial policy

Personalize

Help us tailor your experience

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

Black Tarry Stools (Melena): Evaluation and Management

Patients presenting with black, tarry stools require immediate risk stratification using validated prognostic scales (Blatchford or Rockall score), followed by urgent upper endoscopy within 24 hours after appropriate resuscitation, as melena indicates upper gastrointestinal bleeding with significant mortality risk (11% in-hospital, 33% if bleeding develops during hospitalization). 1

Initial Assessment and Risk Stratification

Immediate Clinical Evaluation

Black, tarry stools (melena) represent upper gastrointestinal bleeding from digested blood 1. Key clinical predictors of high-risk bleeding include:

  • Age >65 years
  • Hemodynamic instability (pulse >100 bpm, systolic BP <100 mmHg)
  • Hemoglobin <8 g/dL
  • Fresh hematemesis (patients with both hematemesis and melena have more severe bleeding than melena alone) 1
  • Elevated BUN:creatinine ratio >30 (LR 7.5 for upper GI source) 2
  • Comorbidities (cardiac, hepatic, renal disease)
  • Anticoagulation or antiplatelet use

Risk Stratification Tools

Use the Blatchford score first - it accurately identifies low-risk patients who can be managed as outpatients without urgent endoscopy 3. The score incorporates:

  • Hemoglobin level
  • Blood urea level
  • Pulse and systolic blood pressure
  • Presence of syncope or melena
  • Evidence of hepatic or cardiac disease

A Blatchford score of 0 has an LR of 0.02 for requiring urgent intervention - these patients do not need immediate hospitalization 2.

For hospitalized patients, apply the Rockall score (pre-endoscopy version initially, then complete score post-endoscopy) to predict rebleeding and mortality 3.

Resuscitation and Pre-Endoscopy Management

Immediate Actions

  • Establish IV access (two large-bore lines if hemodynamically unstable)
  • Transfuse if hemoglobin <8 g/dL or signs of shock 3
  • Admit under gastroenterology service with surgical consultation available 1
  • NPO status until endoscopy completed
  • Nasogastric lavage with blood or coffee grounds increases likelihood of upper GI source (LR 9.6) 2

Critical pitfall: Blood clots in stool (LR 0.05) make upper GI bleeding much less likely - consider lower GI source 2.

Endoscopic Evaluation

Timing and Approach

Perform upper endoscopy within 24 hours for all patients with melena and positive risk stratification 1. Earlier endoscopy (within 12 hours) for:

  • Hemodynamic instability despite resuscitation
  • Active hematemesis
  • High-risk Rockall or Blatchford scores

Expected Findings

A source is identified in approximately 80% of cases 1:

  • Peptic ulcer: 35-50% (most common)
  • Gastroduodenal erosions: 8-15%
  • Esophagitis: 5-15%
  • Varices: 5-10%
  • Mallory-Weiss tear: 15%

High-risk endoscopic stigmata requiring intervention:

  • Active arterial bleeding
  • Non-bleeding visible vessel
  • Adherent clot
  • Ulcer >2 cm
  • Posterior duodenal or lesser curve gastric location

Post-Endoscopy Management

Pharmacologic Therapy

For bleeding peptic ulcers after successful endoscopic therapy, administer high-dose PPI: omeprazole 80 mg IV bolus followed by 8 mg/hour continuous infusion for 72 hours 1. This applies to all ulcer locations (duodenal, gastric, stomal).

Monitoring

  • Continuous observation of vital signs, urine output for 4-6 hours post-endoscopy
  • Allow oral intake if hemodynamically stable 4-6 hours post-procedure 1
  • Rebleeding indicators: fresh melena/hematemesis, BP drop, pulse rise, hemoglobin fall >20 g/L over 24 hours 1

Management of Rebleeding

If rebleeding occurs, perform repeat endoscopy to confirm and attempt repeat endoscopic therapy once 1. This approach has equivalent or better outcomes than immediate surgery.

Indications for urgent surgery (without repeat endoscopy):

  • Uncontrolled bleeding despite endoscopic therapy
  • Second rebleed after repeat endoscopic intervention
  • Giant posterior duodenal ulcer with multiple bleeding points in elderly patient with comorbidities

When Upper Endoscopy is Non-Diagnostic

If upper endoscopy is negative (occurs in 24% of melena cases), proceed with colonoscopy 4, 5. The right colon is the most likely source when upper endoscopy is non-diagnostic:

  • Colonoscopy identifies source in 37% of cases with non-diagnostic EGD 4
  • Right-sided arteriovenous malformations, colitis, large polyps (≥20 mm), tumors, or ulcers are typical findings 5
  • Diagnostic yield: 4.8% for suspected bleeding source 5

Melena in obscure GI bleeding doubles the odds (OR 1.97) of finding a bleeding site in the proximal small intestine - if capsule endoscopy or deep enteroscopy is needed, begin with antegrade approach 6.

Avoid: Small bowel contrast studies, flexible sigmoidoscopy alone, barium enema alone, or angiography as initial tests - these have poor yield 4.

Key Clinical Pearls

  • Melena alone indicates less severe bleeding than melena plus hematemesis 1
  • Mortality is lower in specialist gastroenterology units due to protocol adherence 1
  • Combined medical-surgical care is essential for critically ill patients 1
  • Tachycardia (LR 4.9) and hemoglobin <8 g/dL (LR 4.5-6.2) strongly predict severe bleeding requiring urgent intervention 2

Related Questions

In a 41-year-old woman presenting with left subcostal and breast pain radiating to the back, what is the differential diagnosis and recommended initial work‑up and management?
In a 65-year-old man presenting with suprapubic pain, what is the appropriate assessment and work‑up?
In a 24-year-old woman in the mid‑menstrual cycle presenting with left lower abdominal pain, what are the differential diagnoses and appropriate management plan?
What is the appropriate evaluation and management for a 26-year-old woman presenting with bilateral breast masses?
What are the causes, diagnostic workup, and management strategies for axonal swelling?
In a child with a history of pneumonia who now has a persistent dry cough and suspicion for early bacterial pneumonia versus pertussis, should I prescribe azithromycin alone or combine azithromycin with amoxicillin?
Is neuroimaging indicated as a first-line investigation for a 44-year-old woman with episodic migraine without aura, normal neurological examination, and no red-flag features?
Can I increase dapagliflozin from 5 mg to 10 mg daily in an adult with type 2 diabetes (or heart failure) who is tolerating the lower dose, has adequate renal function, is not pregnant, and has no contraindications such as recurrent genital mycotic infections, severe hypotension, active bladder obstruction, or dialysis?
What does migraine with aura mean?
In an 80‑year‑old woman who recently had influenza and pneumonia and now demonstrates a reactive left shift with metamyelocytes and myelocytes on her complete blood count, what is the appropriate next management step?
How is the Adult ADHD Self‑Report Scale (ASRS) administered and interpreted for ADHD screening?

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.