Doctors Note Logo

Published on: 10/9/2026

What melena is, why it is black, and why it is urgent

Melena is black, sticky, tar-like stool with a distinctly foul smell, and it signals bleeding somewhere in the upper digestive tract such as the esophagus, stomach, or duodenum. It turns black because stomach acid and gut bacteria break down hemoglobin in the blood as it travels through the intestines, chemically darkening it along the way. It is urgent because the usual culprits, including peptic ulcers, gastritis, esophageal varices, and tumors, can bleed quickly enough to cause anemia, dangerously low blood pressure, shock, or death without prompt treatment. There are several important details to consider, including how to distinguish true melena from harmless black stool caused by iron supplements, bismuth medications, or certain foods, and which accompanying symptoms mean you should call emergency services immediately, all explained below.

If you are seeing black or tarry stool and are unsure whether it is something you ate or something bleeding inside you, a free, instant online symptom check can help you sort through your symptoms in minutes and understand whether you need urgent care, a same-week appointment, or simple monitoring, so you are not left guessing about a sign that can turn serious fast.

Last reviewed for medical accuracy: 10/08/2026

answer background

Concerned about your symptoms?

Explanation

What Is Melena?

Melena refers to black, tarry stools that are typically foul-smelling. It occurs when blood from the upper gastrointestinal (GI) tract—such as the esophagus, stomach, or the first part of the small intestine—mixes with digestive juices and is partially digested as it passes through the intestines.


Why Melena Appears Black

The black color of melena arises from chemical changes that blood undergoes during digestion:

  • Hemoglobin breakdown
    Blood contains hemoglobin, a red pigment. In the acidic environment of the stomach, hemoglobin is converted into hematin, which has a dark, almost black color.
  • Prolonged transit time
    It takes at least 14–18 hours for blood to travel from the stomach to the rectum. This extended exposure to enzymes and acids deepens the color.
  • Tarry consistency
    The mixture of blood, mucus, and digested food produces a sticky, tar-like texture that distinguishes melena from other changes in stool color.

Common Causes of Melena

Melena is a warning sign that should never be ignored. Some of the most frequent causes include:

• Peptic ulcers
• Gastritis (inflammation of the stomach lining)
• Esophageal varices (swollen veins in the esophagus)
• Mallory-Weiss tears (small tears in the esophagus)
• Tumors in the upper GI tract
• Use of blood-thinning medications (anticoagulants) or non-steroidal anti-inflammatory drugs (NSAIDs)

Less common causes:

• Infections such as Helicobacter pylori
• Rare vascular malformations
• Swallowed blood from a nosebleed or oral trauma


Why Melena Is Urgent

Although black stool can sometimes result from harmless sources (e.g., certain iron supplements or black licorice), true melena indicates bleeding in the upper GI tract—and that can be serious:

  1. Risk of significant blood loss
    • May lead to anemia (low red blood cell count)
    • Can cause weakness, fatigue, and shortness of breath
  2. Potential for rapid deterioration
    • Large or uncontrolled bleeds can result in low blood pressure or shock
    • Delay in treatment increases the risk of complications
  3. Underlying life-threatening conditions
    • Ulcer perforation or erosion into a blood vessel
    • Ruptured esophageal varices in people with liver disease
    • Malignancies that require prompt diagnosis

Because melena often reflects ongoing bleeding, timely evaluation and treatment are critical.


Signs and Symptoms to Watch For

Melena may occur alone or alongside other symptoms, such as:

  • Abdominal pain or discomfort
  • Dizziness or fainting
  • Weakness and fatigue
  • Rapid heartbeat (tachycardia)
  • Low blood pressure (lightheadedness when standing)

If you notice black, tarry stools—especially with any of the above signs—seek medical attention promptly.


What to Do If You Suspect Melena

  1. Track your symptoms
    • Note the onset, frequency, and volume of black stools
    • Record accompanying symptoms (pain, dizziness, etc.)
  2. Consider a free, online symptom check, using the doctor approved Ubie Symptom Checker
  3. Avoid certain medications until evaluated
    • NSAIDs (ibuprofen, naproxen)
    • Aspirin or other blood thinners
  4. Prepare for your medical visit
    • List all medications, supplements, and recent dietary changes
    • Gather a brief medical history (any past ulcers, liver disease, or GI procedures)

Diagnostic Evaluation

Once you see a healthcare professional, they will likely recommend:

  1. Physical examination
    – Checking vital signs (blood pressure, heart rate)
    – Abdominal exam for tenderness or swelling
  2. Laboratory tests
    – Complete blood count (CBC) to assess anemia
    – Liver function tests if liver disease is suspected
  3. Endoscopy
    – Direct visualization of the esophagus, stomach, and duodenum
    – Ability to treat bleeding sources on the spot (e.g., cauterization)
  4. Imaging studies
    – Occasionally, CT angiography to localize active bleeding
    – Nuclear medicine scans for intermittent bleeds

These steps help identify the source of bleeding and guide appropriate treatment.


Treatment Options

Treatment depends on the cause and severity of bleeding:

• Endoscopic therapy:
– Injection of medications into bleeding vessels
– Thermal coagulation or clipping of bleeding sites

• Medications:
– Proton pump inhibitors (PPIs) to reduce stomach acid
– Antibiotics for Helicobacter pylori infection
– Vasoconstrictors for variceal bleeds

• Surgery or interventional radiology:
– Rarely required if endoscopic methods fail
– Embolization (blocking a bleeding vessel)

• Blood transfusions:
– For significant blood loss and unstable vital signs

Most patients stabilize quickly with prompt care, but follow-up is crucial to prevent recurrence.


Preventing Recurrence

Once the initial bleeding is controlled, lifestyle and medical strategies can lower the risk of future melena:

  • Avoid or limit NSAIDs and alcohol
  • Take medications exactly as prescribed
  • Treat Helicobacter pylori infections fully
  • Manage chronic conditions (e.g., liver disease, coagulopathies)
  • Regular follow-up with your gastroenterologist if you’ve had peptic ulcers or varices

When to Seek Emergency Care

Go to the nearest emergency department or call emergency services if you experience:

  • Large-volume black or bloody stools
  • Sudden worsening of abdominal pain
  • Lightheadedness, fainting, or confusion
  • Rapid heart rate or low blood pressure
  • Signs of shock (pale, cold, clammy skin)

Melena can herald life-threatening bleeding; urgent evaluation can save lives.


Final Thoughts

Melena is a clear signal that bleeding is occurring in the upper GI tract. While not every dark stool is melena, any persistent black, tarry stool should prompt medical evaluation. Early diagnosis and treatment greatly improve outcomes. Always speak to a doctor about symptoms that could be life threatening or serious. If you’re unsure what’s causing your symptoms, consider a free, online symptom check, using the doctor approved Ubie Symptom Checker.

(References)

  • * Roberts SK, Dudley FJ. Management of haematemesis and melaena. Med J Aust. 1997 May 19;166(10):549-53. doi: 10.5694/j.1326-5377.1997.tb123249.x. PMID: 9196489.

  • * FINOCHIETTO R. [Massive melenas of obscure orgin]. Prensa Med Argent. 1960 Apr 8;47:897-9. PMID: 13699693.

  • * MOORE RH. Massive melena. Ann Surg. 1952 Jul;136(1):167-73. doi: 10.1097/00000658-195207000-00016. PMID: 14934029; PMCID: PMC1802234.

  • * TANNER NC. Haematemesis and melaena. Br Med J. 1949 Jan 15;1(4593):110. doi: 10.1136/bmj.1.4593.110. PMID: 18106301; PMCID: PMC2049175.

  • * Alder MN, Timm NL. A "rare" case of melena in a 3-year-old. Pediatr Emerg Care. 2011 Nov;27(11):1084. doi: 10.1097/PEC.0b013e31823606b5. PMID: 22068076.

  • * Srygley FD, Gerardo CJ, Tran T, Fisher DA. Does this patient have a severe upper gastrointestinal bleed? JAMA. 2012 Mar 14;307(10):1072-9. doi: 10.1001/jama.2012.253. PMID: 22416103.

  • * Sonomura T, Ono W, Sato M, Sahara S, Nakata K, Sanda H, Kawai N, Minamiguchi H, Nakai M, Kishi K. Emergency balloon-occluded retrograde transvenous obliteration of ruptured gastric varices. World J Gastroenterol. 2013 Aug 21;19(31):5125-30. doi: 10.3748/wjg.v19.i31.5125. PMID: 23964147; PMCID: PMC3746385.

  • * Kamboj AK, Hoversten P, Leggett CL. Upper Gastrointestinal Bleeding: Etiologies and Management. Mayo Clin Proc. 2019 Apr;94(4):697-703. doi: 10.1016/j.mayocp.2019.01.022. PMID: 30947833.

  • * Li A, Chen FX, Li YQ. An Unusual Cause of Recurrent Melena. Gastroenterology. 2019 Aug;157(2):311-312. doi: 10.1053/j.gastro.2019.04.009. Epub 2019 Apr 11. PMID: 30981790.

  • * Costable NJ, Greenwald DA. Upper Gastrointestinal Bleeding. Clin Geriatr Med. 2021 Feb;37(1):155-172. doi: 10.1016/j.cger.2020.09.001. PMID: 33213769.

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.

Was this page helpful?

Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.