Our Services
Medical Information
Helpful Resources
Published on: 10/9/2026
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
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.
The black color of melena arises from chemical changes that blood undergoes during digestion:
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
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:
Because melena often reflects ongoing bleeding, timely evaluation and treatment are critical.
Melena may occur alone or alongside other symptoms, such as:
If you notice black, tarry stools—especially with any of the above signs—seek medical attention promptly.
Once you see a healthcare professional, they will likely recommend:
These steps help identify the source of bleeding and guide appropriate treatment.
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.
Once the initial bleeding is controlled, lifestyle and medical strategies can lower the risk of future melena:
Go to the nearest emergency department or call emergency services if you experience:
Melena can herald life-threatening bleeding; urgent evaluation can save lives.
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.
We would love to help them too.
For First Time Users
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.