Have you noticed that your stool has suddenly turned black, sticky or unusually tarry? While changes in stool colour can sometimes be related to food or medication, black, tarry stools may also indicate bleeding somewhere in your digestive tract. This condition is medically known as melena.

Melena is an important warning sign because it commonly indicates bleeding in the upper gastrointestinal (GI) tract, particularly the oesophagus, stomach or upper part of the small intestine. The characteristic dark colour develops when blood travels through the digestive system and gets broken down by digestive enzymes.

Although not every episode of black stool indicates internal bleeding, melena should never be ignored. In some cases, it may be associated with conditions such as peptic ulcers, gastritis, esophageal varices or gastrointestinal cancers.

Understanding what causes melena, recognising its symptoms and knowing when to seek medical attention can help prevent potentially serious complications.

In this article, we discuss everything you need to know about melena, including its causes, symptoms, diagnosis, treatment and frequently asked questions.

What is melena?

Melena is the medical term used to describe black, tarry stools that contain digested blood. It usually occurs when bleeding takes place in the upper gastrointestinal tract.

The digestive system includes the oesophagus, stomach, small intestine and large intestine. When bleeding occurs in the upper part of this system, blood mixes with digestive juices and enzymes as it travels through the intestines.

This process changes the appearance of the blood, giving the stool its characteristic black colour and sticky consistency.

Unlike ordinary dark-coloured stools, melena typically has a thick, tar-like texture and a particularly unpleasant smell.

Melena is not a disease itself. Instead, it is a symptom of an underlying medical condition that may require prompt investigation and treatment.

What does melena mean?

In simple terms, melena means passing black, tarry stools because of blood that has been digested within the gastrointestinal tract. It is generally associated with bleeding from the upper digestive system.

The term is sometimes spelt as melaena, particularly in British medical literature. Both spellings refer to the same condition.

What does melena stool look like?

Recognising the appearance of melena is important because it can help distinguish gastrointestinal bleeding from other causes of dark-coloured stools.

Typical characteristics include:

  • Jet-black colour: The stool is usually very dark, rather than simply dark brown.
  • Sticky consistency: Melena often has a thick, sticky or tar-like texture.
  • Strong, unpleasant odour: Digested blood produces a distinctive and particularly offensive smell.
  • Difficult to flush: The sticky consistency may make the stool difficult to flush away.
  • Occasionally loose stools: Depending on the underlying condition, melena may sometimes appear as dark, loose or diarrhoea-like stools.

Not everyone experiences all these characteristics. The amount of bleeding and the speed at which stool moves through the digestive tract can influence its appearance.

It is also important to understand that black stool does not automatically mean melena. Certain foods, supplements and medicines can darken stools without causing gastrointestinal bleeding.

What is the main cause of melena?

The main cause of melena is bleeding in the upper gastrointestinal tract, most commonly from the stomach or duodenum (the first part of the small intestine).

Peptic ulcer disease is one of the most common causes of upper gastrointestinal bleeding. When an ulcer damages the lining of the stomach or duodenum and reaches an underlying blood vessel, bleeding can occur.

As blood travels through the digestive system, it is exposed to digestive enzymes and other substances that break it down. This gives the stool its characteristic black, tarry appearance.

Other conditions that can cause melena include:

  • Gastritis or inflammation of the stomach lining.
  • Oesophageal or gastric varices.
  • Severe inflammation of the oesophagus.
  • Tears in the oesophagus following repeated vomiting.
  • Abnormal blood vessels in the digestive tract.
  • Tumours or cancers affecting the upper gastrointestinal tract.

The exact cause cannot be determined from stool colour alone. Medical evaluation is necessary to identify the source of bleeding.

What causes melena?

Several medical conditions can damage the lining of the digestive tract or blood vessels, resulting in gastrointestinal bleeding.

The following are some of the important causes of melena.

1. Peptic ulcers

Peptic ulcers are open sores that develop in the lining of the stomach or the upper part of the small intestine.

They commonly develop due to infection with Helicobacter pylori (H. pylori) bacteria or prolonged use of certain pain-relieving medications, particularly non-steroidal anti-inflammatory drugs (NSAIDs).

When an ulcer damages a blood vessel, it can cause bleeding into the digestive tract. As the blood passes through the intestines, it becomes darker and may eventually appear as melena.

Peptic ulcers may also cause upper abdominal pain, indigestion, nausea and bloating. However, some bleeding ulcers cause very few noticeable symptoms before significant bleeding occurs.

2. Gastritis

Gastritis refers to inflammation of the stomach lining.

It may develop due to H. pylori infection, certain medications, excessive alcohol consumption or other irritants.

In severe cases, inflammation can damage the stomach lining and cause bleeding. When this blood mixes with digestive contents, it may produce black, tarry stools.

Common symptoms of gastritis include upper abdominal discomfort, nausea, vomiting, bloating and indigestion.

3. Oesophageal varices

Oesophageal varices are enlarged veins that develop in the lower part of the oesophagus.

They are commonly associated with advanced liver disease, particularly cirrhosis. Increased pressure in the portal venous system can cause blood to flow through smaller veins, making them enlarged and fragile.

These veins may rupture and cause significant bleeding into the digestive tract.

Bleeding oesophageal varices are a medical emergency because they can result in substantial blood loss.

4. Mallory-Weiss tears

A Mallory-Weiss tear is a small tear in the lining of the oesophagus, usually near the junction where the oesophagus meets the stomach.

It commonly develops following repeated or forceful vomiting, severe retching or intense coughing.

The tear can cause bleeding, which may result in vomiting blood or passing black, tarry stools.

5. Esophagitis

Esophagitis refers to inflammation of the oesophagus, the tube that carries food from the mouth to the stomach.

It can develop due to acid reflux, infections, certain medications or other irritants.

Severe inflammation may damage the oesophageal lining and cause bleeding, potentially resulting in melena.

6. Gastrointestinal cancers

Cancers affecting the oesophagus, stomach or upper small intestine can sometimes cause gastrointestinal bleeding.

A tumour may damage surrounding tissues and blood vessels, resulting in slow or continuous blood loss.

In some individuals, melena may be one of the first noticeable signs of an underlying gastrointestinal malignancy.

Other warning signs may include unexplained weight loss, persistent indigestion, difficulty swallowing, loss of appetite and ongoing abdominal discomfort.

However, experiencing melena does not necessarily mean that a person has cancer. Several non-cancerous conditions can also cause this symptom.

7. Abnormal blood vessels

Certain abnormalities in the blood vessels of the digestive tract can cause gastrointestinal bleeding.

One example is angiodysplasia, a condition involving fragile, abnormal blood vessels in the gastrointestinal lining.

These vessels may rupture and bleed, sometimes resulting in recurrent or unexplained melena.

8. Other less common causes

Other conditions that may occasionally cause melena include:

  • Injury or trauma to the gastrointestinal tract.
  • Gastrointestinal perforation associated with bleeding.
  • Meckel’s diverticulum.
  • Small intestinal tumours.
  • Certain vascular abnormalities affecting the digestive system.

The location and severity of the bleeding determine how the condition presents.

What triggers melena?

Melena is triggered by bleeding somewhere in the gastrointestinal tract. The bleeding may develop suddenly or occur gradually over time.

Some factors and medical conditions that can trigger gastrointestinal bleeding include:

1. H. pylori infection: This bacterial infection can damage the stomach lining and cause peptic ulcers, which may bleed.

2. Long-term use of NSAIDs: Medicines such as ibuprofen, aspirin and other NSAIDs can irritate the stomach lining and increase the risk of ulcers and gastrointestinal bleeding.

3. Chronic liver disease: Advanced liver disease can cause portal hypertension, increasing the risk of oesophageal and gastric varices.

4. Repeated vomiting: Forceful or prolonged vomiting may cause tears in the oesophageal lining.

5. Excessive alcohol consumption: Alcohol can irritate the stomach lining and contribute to gastritis and gastrointestinal damage.

6. Gastrointestinal tumours: Certain tumours can damage blood vessels and cause bleeding.

7. Blood-thinning medications: Anticoagulants and antiplatelet medicines can increase the risk or severity of gastrointestinal bleeding, particularly when an underlying lesion is already present.

Identifying these triggers and underlying risk factors helps doctors determine the appropriate investigations and treatment.

What are the symptoms of melena?

The most recognisable symptom of melena is passing black, sticky and tarry stools. However, depending on the underlying cause and amount of blood loss, other symptoms may also develop.

Common symptoms associated with melena include:

In cases of severe gastrointestinal bleeding, a person may experience fainting, low blood pressure, confusion or signs of shock.

Some individuals may also vomit blood. This is known as haematemesis. The vomit may contain fresh red blood or material resembling coffee grounds, depending on how long the blood has remained in the stomach.

It is important to remember that the absence of abdominal pain does not rule out gastrointestinal bleeding.

Is black stool always melena?

No. Black stool does not always indicate gastrointestinal bleeding.

Certain foods, supplements and medications can change the colour of stool without causing any internal bleeding.

Common examples include:

  • Iron supplements.
  • Bismuth-containing medicines, such as bismuth subsalicylate.
  • Activated charcoal.
  • Black liquorice.
  • Blueberries.
  • Blood sausage and certain dark-coloured foods.

These substances may produce dark or black stools that can sometimes be mistaken for melena.

However, it can be difficult to distinguish harmless stool discolouration from actual gastrointestinal bleeding based on appearance alone.

If you notice an unexplained change in stool colour, particularly if it is black, sticky and unusually foul-smelling, seek medical evaluation.

A healthcare professional may recommend stool testing and other investigations to determine whether blood is present.

What is the difference between melena and hematochezia?

Melena and hematochezia are two different forms of gastrointestinal bleeding. The main difference is the appearance of the blood and the likely location of the bleeding.

FeatureMelenaHematochezia
AppearanceBlack, tarry stoolBright red or maroon blood
BloodUsually digestedUsually relatively fresh
Common sourceUpper gastrointestinal tractLower gastrointestinal tract
Common causesPeptic ulcers, varices, gastritisHaemorrhoids, diverticular bleeding, colitis
OdourOften particularly foul-smellingUsually no characteristic tarry odour

Melena generally suggests bleeding from the oesophagus, stomach or upper small intestine.

Hematochezia usually indicates bleeding from the colon, rectum or anus. However, severe and rapid upper gastrointestinal bleeding can occasionally cause bright red or maroon blood to pass through the rectum.

Both conditions require medical assessment because they may indicate significant gastrointestinal disease.

Is melena stool an emergency?

Yes. Suspected melena should be treated as a potentially serious medical condition because it may indicate internal gastrointestinal bleeding.

Even if the person feels relatively normal, bleeding may still be occurring.

The severity depends on the amount of blood lost, the speed of bleeding and the underlying medical condition.

Seek emergency medical attention immediately if melena is accompanied by any of the following symptoms:

  • Vomiting fresh blood or material resembling coffee grounds.
  • Severe dizziness or lightheadedness.
  • Fainting or loss of consciousness.
  • Significant weakness or sudden fatigue.
  • Rapid heartbeat or palpitations.
  • Shortness of breath.
  • Severe or worsening abdominal pain.
  • Pale, cold or clammy skin.
  • Confusion or signs of shock.

Passing black, tarry stools without these additional symptoms still requires urgent medical assessment. Do not wait for the symptoms to worsen or for another episode of black stool before seeking help.

If you suspect gastrointestinal bleeding, avoid driving yourself to the hospital, particularly if you feel dizzy or weak.

How is melena diagnosed?

Diagnosing melena involves confirming the presence of blood in the stool, identifying the source of bleeding and determining the underlying medical condition.

A doctor may recommend several investigations depending on the patient’s symptoms, medical history and clinical condition.

1. Medical history and physical examination

The doctor will ask about the appearance and frequency of the stools, associated symptoms, existing medical conditions and medications.

Information about previous ulcers, liver disease, alcohol consumption and the use of painkillers or blood-thinning medicines can be particularly important.

A physical examination may include checking blood pressure, pulse rate, abdominal tenderness and signs of blood loss.

A rectal examination may also be performed when clinically appropriate to assess the stool.

2. Stool occult blood test

A faecal occult blood test checks for blood in stool that may not be visible to the naked eye.

It can help identify gastrointestinal bleeding when the presence of blood is uncertain.

However, the test does not establish the exact location or cause of bleeding. Further investigations may be necessary.

3. Blood tests

Blood investigations help assess the extent of blood loss and identify possible underlying conditions.

Commonly recommended tests include:

  • Complete blood count (CBC): Helps identify anaemia and changes in haemoglobin levels.
  • Liver function tests (LFT): Assess liver health and may help identify conditions associated with varices.
  • Kidney function tests: Help evaluate kidney function and provide additional information during the assessment of gastrointestinal bleeding.
  • Coagulation profile: Checks how effectively blood clots.
  • Other biochemical tests: May be recommended depending on the patient’s condition.

Blood grouping and cross-matching may also be required if significant blood loss is suspected.

4. Upper gastrointestinal endoscopy

Upper gastrointestinal endoscopy, also called oesophagogastroduodenoscopy (OGD), is one of the most important investigations for identifying the source of suspected upper GI bleeding.

During the procedure, a thin, flexible tube fitted with a camera is gently passed through the mouth into the oesophagus, stomach and duodenum.

The doctor can examine the digestive tract for:

  • Bleeding peptic ulcers.
  • Gastritis and oesophagitis.
  • Oesophageal or gastric varices.
  • Tears in the oesophagus.
  • Abnormal growths or tumours.

An important advantage of endoscopy is that it can also be used to treat certain causes of bleeding during the same procedure.

5. Imaging investigations

Imaging may be recommended when the source of bleeding is unclear or when ongoing bleeding needs to be located.

Depending on the clinical situation, investigations may include:

  • CT scan of the abdomen.
  • CT angiography.
  • Other specialised gastrointestinal imaging studies.

In selected cases, colonoscopy or capsule endoscopy may be recommended if upper gastrointestinal endoscopy does not identify the source.

The choice of investigation depends on the patient’s clinical condition and the suspected location of bleeding.

What is the treatment for melena?

The treatment of melena depends on the underlying cause, the severity of bleeding and the amount of blood lost.

The primary objectives are to stabilise the patient, control the bleeding and treat the condition responsible for it.

1. Managing blood loss

Patients with significant blood loss may require hospital admission and close monitoring.

Treatment may include:

  • Intravenous fluids to restore circulating blood volume.
  • Blood transfusions when clinically indicated.
  • Monitoring blood pressure, pulse and haemoglobin levels.
  • Appropriate treatment to correct blood-clotting abnormalities.

Patients with severe bleeding may require intensive care.

2. Medications

Medications are selected according to the underlying cause.

For example, proton pump inhibitors (PPIs) may be prescribed for bleeding peptic ulcers and certain inflammatory conditions. These medicines reduce stomach acid production and support healing.

If H. pylori infection is responsible for an ulcer, a combination of antibiotics and acid-suppressing medication may be prescribed.

Patients taking NSAIDs or blood-thinning medicines may need a review of their medication under medical supervision.

Do not stop prescribed anticoagulants or antiplatelet medicines without consulting your treating doctor.

3. Endoscopic treatment

Endoscopy can be used to stop active gastrointestinal bleeding.

Depending on the source, the doctor may use:

  • Injection therapy.
  • Thermal coagulation to seal bleeding vessels.
  • Endoscopic clips to close bleeding sites.
  • Band ligation to control bleeding varices.

These procedures can help control bleeding and reduce the risk of further blood loss.

4. Surgery or specialised procedures

In some cases, endoscopic treatment may not be sufficient to control bleeding.

Interventional radiology procedures or surgery may be necessary, depending on the source and severity of bleeding.

For example, certain bleeding blood vessels may be treated through specialised angiographic procedures.

The treating medical team determines the most appropriate approach based on the patient’s condition.

Can melena be prevented?

Not every cause of melena can be prevented. However, reducing certain risk factors can help lower the likelihood of gastrointestinal bleeding.

Some useful preventive measures include:

  • Avoid unnecessary or prolonged use of NSAID painkillers.
  • Take prescribed medicines according to medical advice.
  • Seek treatment for H. pylori infection when diagnosed.
  • Limit alcohol consumption.
  • Manage existing liver disease and attend regular follow-up appointments.
  • Seek medical advice for persistent indigestion or abdominal discomfort.
  • Avoid self-medicating for recurring stomach problems.
  • Discuss the risks of gastrointestinal bleeding with your doctor if you take anticoagulants or antiplatelet medicines.

People with a history of peptic ulcers, liver disease or previous gastrointestinal bleeding should be particularly attentive to new symptoms.

When should you consult a doctor?

You should seek medical attention if you notice unexplained black or tarry stools, even if you do not experience pain or other symptoms.

Medical assessment becomes particularly important if the stool is sticky, has a strong unpleasant smell or is accompanied by weakness, dizziness or abdominal discomfort.

Vomiting blood, fainting, severe weakness, breathing difficulty or signs of circulatory shock require immediate emergency care.

Early diagnosis can help identify the source of bleeding and prevent complications such as severe anaemia, low blood pressure and shock.

 

Melena infographic explaining causes, symptoms, diagnosis and treatment of black tarry stools – Sparsh Diagnostic Centre.
Melena refers to black, tarry stools that may indicate bleeding in the upper gastrointestinal tract. Learn about its causes, symptoms, diagnosis and treatment, and when to seek urgent medical attention.

Frequently asked questions about melena

1. What does melena mean?

Melena refers to black, tarry stools caused by digested blood passing through the gastrointestinal tract. It usually indicates bleeding in the upper digestive system, particularly the oesophagus, stomach or duodenum.

2. What is the main cause of melena?

The main cause of melena is upper gastrointestinal bleeding. Peptic ulcers are among the most common causes, although gastritis, oesophageal varices, oesophageal tears and gastrointestinal cancers can also result in melena.

3. What triggers melena?

Melena is triggered by bleeding in the digestive tract. Common underlying triggers include peptic ulcers, H. pylori infection, prolonged NSAID use, severe gastritis, liver disease causing varices and tears following repeated vomiting.

4. Is melena stool an emergency?

Suspected melena requires urgent medical assessment because it can indicate internal bleeding. If it is accompanied by vomiting blood, dizziness, fainting, palpitations, breathlessness or severe weakness, seek emergency medical care immediately.

5. Can iron tablets cause melena?

Iron supplements can turn stools dark green or black. However, this does not necessarily indicate gastrointestinal bleeding. Iron-related stool discolouration generally does not have the characteristic tarry texture and strong odour associated with melena. If you are unsure, seek medical advice rather than assuming the colour change is harmless.

6. How long does melena last?

The duration depends on the underlying cause and whether bleeding has stopped. Black stools may continue for some time after a bleeding episode because previously digested blood is still passing through the digestive tract. Persistent or recurring melena requires medical evaluation.

7. Can melena occur without abdominal pain?

Yes. Melena can occur without abdominal pain. Some bleeding ulcers and other gastrointestinal conditions may cause little or no discomfort. Therefore, the absence of pain should never be considered proof that the condition is harmless.

8. What is the difference between melena and ordinary black stool?

Melena is caused by digested blood and typically appears jet black, sticky and tar-like, with a strong unpleasant smell. Ordinary black stool may result from iron supplements, bismuth-containing medicines, activated charcoal or certain foods. Medical testing may be necessary to distinguish between them.

9. Can melena indicate stomach cancer?

Yes, stomach cancer can sometimes cause gastrointestinal bleeding and melena. However, most cases of melena are not necessarily caused by cancer. Peptic ulcers and other non-cancerous conditions are also important causes. Persistent symptoms, unexplained weight loss, difficulty swallowing or ongoing indigestion should be investigated.

10. Which test is used to diagnose melena?

A doctor may recommend a stool occult blood test, complete blood count, liver function tests and other blood investigations. Upper gastrointestinal endoscopy is particularly useful for identifying the source of bleeding in the oesophagus, stomach and duodenum. CT angiography and other investigations may be required in selected cases.

11. Can melena go away on its own?

The appearance of black stools may resolve once bleeding stops and the remaining blood passes through the digestive tract. However, the underlying cause may persist or bleeding may recur. Even if the stools return to normal, suspected melena should be medically evaluated.

12. Is melena related to liver disease?

Yes. Advanced liver disease, particularly cirrhosis, can cause portal hypertension and the development of enlarged veins in the oesophagus or stomach. These veins may rupture and bleed, resulting in melena.

Melena is an important warning sign that may indicate bleeding within the gastrointestinal tract. Although certain foods and medications can cause harmless changes in stool colour, black, sticky and tarry stools should never be ignored.

Conditions such as peptic ulcers, gastritis, oesophageal varices and gastrointestinal cancers can all contribute to melena. Identifying the underlying cause through appropriate medical evaluation is essential for effective treatment.

If you notice black, tarry stools, seek prompt medical attention rather than waiting for the symptoms to disappear. Early diagnosis and timely treatment can help prevent serious complications and protect your overall health.

To consult a Doctor at Sparsh Diagnostic Centre, call our helpline numbers +91 98301 17733 and +91 83350 49501.

#BhaloTheko

Disclaimer:
No content on this site, regardless of date, should ever be used as a substitute for direct medical advice from your doctor or other qualified clinician.

 

 

Sparsh Doctor List
Sparsh Doctor List

 

Sources and medical references

The article has been developed using the following medical references, including the competitor pages you supplied.

1. Cleveland Clinic: Melena (Black Stool): Causes and Treatment. Covers the definition, causes, appearance, diagnosis, treatment and emergency warning signs. Read source.

Cleveland Clinic+2

2. TeachMeSurgery: Melaena – Causes, Diagnosis and Management. Provides clinical information on upper GI bleeding, investigations, endoscopy and treatment approaches. Read source.

TeachMeSurgery+2

3. MedlinePlus – US National Library of Medicine: Black or Tarry Stools. Covers common causes, food- and medication-related stool discolouration and warning signs. Read source.

MedlinePlus

4. Fortis Healthcare: Understanding Melena: Common Causes and Symptoms. Covers symptoms, causes and differentiation between melena and harmless black stool. Read source.

Fortis Healthcare

5. MD Anderson Cancer Center: Hematochezia vs. Melena: What’s the Difference? Explains the differences between upper and lower gastrointestinal bleeding and associated warning signs. Read source.

UT MD Anderson+1

6. Apollo Hospitals: Melena – Causes, Diagnosis and Treatment. Covers common causes, associated symptoms, diagnosis and treatment. Read source.

Medical review and verification

This article has been medically reviewed and verified by Dr. Shubhayu Som to ensure the accuracy and reliability of the medical information presented.

Medical reviewer: Dr. Shubhayu Som

Qualification: MBBS

Specialisation: General Physician

WBMC Registration Number: 81060

Medical registration: West Bengal Medical Council

Date reviewed on: 18th November 2026

Loading

6 Replies to “Melena: Causes, Symptoms, Diagnosis, Treatment, and Prevention – A Complete Guide”

  1. […] is different from melena, which presents as black, tarry stools caused by bleeding from the upper GI tract. Because […]

  2. […] Dark, Tarry Stools: If gastritis leads to bleeding in the stomach, it can result in dark, tarry stools, a condition known as melena. This is a sign of more severe gastritis and requires immediate medical attention. […]

  3. […] Dark or black stools (melena) suggest bleeding from the upper GI tract, such as the stomach or duodenum. […]

Leave a Reply

Your email address will not be published. Required fields are marked *

This field is required.

This field is required.