Our Services
Medical Information
Helpful Resources
Published on: 9/29/2026
Melena is black, sticky, tar-like stool with a distinctly foul odor, and it happens when blood from the upper digestive tract (esophagus, stomach, or upper small intestine) is partially digested on its way through the gut. Because it usually points to active bleeding from a peptic ulcer, gastritis, esophageal varices, a Mallory-Weiss tear, or a tumor, melena is considered a medical emergency, and blood loss can become life-threatening quickly when paired with dizziness, fainting, vomiting blood or coffee-ground material, rapid heartbeat, or severe abdominal pain. Certain harmless culprits, such as iron supplements, bismuth-containing stomach remedies, black licorice, blueberries, or beets, can imitate melena, so knowing how to tell them apart matters; there are several important factors to consider, and you can see below to understand more. Since the difference between a dietary side effect and internal bleeding is not always obvious from color alone, a structured review of your symptoms, medications, and risk factors is the fastest way to gauge urgency. Take a free, instant, online symptom check to better understand what may be causing your black stool and what step to take next.
Last reviewed for medical accuracy: 09/29/2026
Melena refers to black, tarry stool that occurs when blood from the upper gastrointestinal (GI) tract is digested as it moves through your intestines. If you’ve ever wondered “what is melena” or noticed unusually dark stools, understanding the causes and risks can help you take prompt action—and potentially save your life.
When bleeding starts in the esophagus, stomach, or the first part of the small intestine (duodenum), the blood mixes with digestive juices. This chemical breakdown turns the stool black and gives it a sticky, tar-like consistency. Normal stool color comes from bile and digested food, so anything strikingly dark—especially if it’s foul-smelling or sticky—deserves attention.
Melena usually signals bleeding somewhere in the upper GI tract. Key causes include:
Not every instance of dark stool is melena. Consider these common, harmless causes:
If dietary changes or supplements explain your dark stool—and there are no other symptoms—you may simply monitor the situation. But if you can’t pinpoint a benign cause, treat black stool as a possible emergency.
When blood loss occurs inside your digestive tract, you can lose a significant volume before noticing symptoms. Untreated bleeding can lead to:
Because the onset can be silent—and symptoms may only appear after you’ve lost a lot of blood—black stool should always prompt medical evaluation.
In addition to tarry, black stool, seek immediate help if you experience:
If any of these symptoms accompany dark stool, call emergency services or go to the nearest emergency department.
When you reach a healthcare provider, they’ll likely recommend:
Early diagnosis is key to preventing ongoing blood loss and complications.
Treatment depends on the cause and severity of the bleeding:
Your healthcare team will discuss risks, benefits, and next steps tailored to your condition.
While not all causes of melena are preventable, you can lower your risk by:
Black stool is never “just a stomach bug.” If you notice melena—or any sign of GI bleeding—seek medical attention without delay. Your health may depend on swift, accurate diagnosis and treatment.
(References)
* Hoare AM. Comparative study between endoscopy and radiology in acute upper gastrointestinal haemorrhage. Br Med J. 1975 Jan 4;1(5948):27-30. doi: 10.1136/bmj.1.5948.27. PMID: 1078984; PMCID: PMC1671910.
* Barbano PR, Coviello D, Mariani M, Rossi MV, Vecchi MR. [Hemorrhages of the upper gastrointestinal tract. A comparison of the diagnostic accuracy between endoscopic and radiological examinations]. Minerva Chir. 1990 Aug;45(15-16):1003-8. PMID: 2280851.
* Waldram R, Davis M, Nunnerley H, Williams R. Emergency endoscopy after gastrointestinal haemorrhage in 50 patients with portal hypertension. Br Med J. 1974 Oct 12;4(5936):94-6. doi: 10.1136/bmj.4.5936.94. PMID: 4547203; PMCID: PMC1612155.
* FOSTER RL, FISHER RF. Colostomy as emergency treatment for massive melena secondary to diverticulitis. Am Surg. 1954 Jul;20(7):734-8. PMID: 13171534.
* Yriberry Ureña S, Prochazka Zárate R, Salazar Muente F, Monge Zapata V, Salazar Cabrera F, Barriga Calle E. [Migration of gastrostomy button as a cause of duodenal ulcer and upper digestive bleeding]. Rev Gastroenterol Peru. 2010 Apr-Jun;30(2):172-5. PMID: 20644612.
* Kent AJ, O'Beirne J, Negus R. The patient with haematemesis and melaena. Acute Med. 2011;10(1):45-9. PMID: 21573267.
* Khan AN, Kiani IG, Arshad M, Hidayat R, Said K, Shehzad A. Management of ectopic varix with histoacryl. J Ayub Med Coll Abbottabad. 2014 Oct-Dec;26(4):618-20. PMID: 25672200.
* Dietel E, Nestler U, Nenning H, Eisenlöffel C, Stassart R, Meixensberger J. A late systemic and brain metastasis from subcutaneous leiomyosarcoma of the right forearm: a case report and review of the literature. J Med Case Rep. 2021 Jan 19;15(1):14. doi: 10.1186/s13256-020-02625-0. Epub 2021 Jan 19. PMID: 33461603; PMCID: PMC7814649.
* Noda K, Yokawa K, Dan N, Matsuda H. Endovascular and Endoscopic Treatment for Primary Aortoduodenal Fistula: A Case Report. Ann Vasc Dis. 2022 Jun 25;15(2):154-156. doi: 10.3400/avd.cr.22-00015. PMID: 35860827; PMCID: PMC9257393.
* Chen MT, Choy KT, Ong F. Overt gastrointestinal bleeding secondary to left inferior phrenic artery pseudoaneurysm postgastric bypass surgery. BMJ Case Rep. 2024 Jan 3;17(1). doi: 10.1136/bcr-2023-258226. Epub 2024 Jan 3. PMID: 38171642; PMCID: PMC10773294.
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.