Upper vs lower GI bleed stool color

Stools - bloody; Melena; Stools - black or tarry; Upper gastrointestinal bleeding; Melenic stools

Black or tarry stools with a foul smell are a sign of a problem in the upper digestive tract. It most often indicates that there is bleeding in the stomach, small intestine, or right side of the colon.

The term melena is used to describe this finding.

Upper vs lower GI bleed stool color

The process of digesting food is accomplished by many organs in the body. Food is pushed by the esophagus into the stomach. The stomach mixes the food and begins the breakdown of proteins. The stomach propels the food then into the small intestine. The small intestine further digests food and begins the absorption of nutrients. Secretions from the pancreas in the small intestine help neutralize the acid in the intestine to provide a proper environment for the enzymes to function. Bile from the gallbladder and liver emulsify fat and enhance the absorption of fatty acids. The large intestine temporarily stores and concentrates the remainder until it is passed out as waste from the body.

Upper vs lower GI bleed stool color

Peptic ulcers may lead to emergency situations. Severe abdominal pain with or without evidence of bleeding may indicate a perforation of the ulcer through the stomach or duodenum. Vomiting of a substance that resembles coffee grounds, or the presence of black tarry stools, may indicate serious bleeding.

Upper vs lower GI bleed stool color

A Mallory-Weiss tear results from prolonged and forceful vomiting, coughing or convulsions. Typically the mucous membrane at the junction of the esophagus and the stomach develops lacerations which bleed, evident by bright red blood in vomitus, or bloody stools. It may occur as a result of excessive alcohol ingestion. This is an acute condition which usually resolves within 10 days without special treatment.

Upper vs lower GI bleed stool color

Capsule endoscopy is a test procedure in which a camera inside a small capsule takes pictures of the lining of your digestive system. The capsule is about the size of a large vitamin pill. After swallowing it, the capsule travels the length of your digestive system and transmits images to a wearable recorder.

Eating black licorice, blueberries, blood sausage or taking iron pills, activated charcoal, or medicines that contain bismuth (such as Pepto-Bismol), can also cause black stools. Beets and foods with red coloring can sometimes make stools appear reddish. In all these cases, your doctor can test the stool with a chemical to rule out the presence of blood.

Bleeding in the esophagus or stomach (such as with peptic ulcer disease) can also cause you to vomit blood.

The color of the blood in the stools can indicate the source of bleeding.

  • Black or tarry stools may be due to bleeding in the upper part of the GI (gastrointestinal) tract, such as the esophagus, stomach, or the first part of the small intestine. In this case, blood is darker because it gets digested on its way through the GI tract.
  • Red or fresh blood in the stools (rectal bleeding), is a sign of bleeding from the lower GI tract (rectum and anus).

Peptic ulcers are the most common cause of acute upper GI bleeding. Black and tarry stools may also occur due to:

  • Abnormal blood vessels
  • A tear in the esophagus from violent vomiting (Mallory-Weiss tear)
  • Blood supply being cut off to part of the intestines
  • Inflammation of the stomach lining (gastritis)
  • Trauma or foreign body
  • Widened, overgrown veins (called varices) in the esophagus and stomach, commonly caused by liver cirrhosis
  • Cancer of the esophagus, stomach, or duodenum or ampulla

Contact your health care provider right away if:

  • You notice blood or changes in the color of your stool
  • You vomit blood
  • You feel dizzy or lightheaded

In children, a small amount of blood in the stool is most often not serious. The most common cause is constipation. You should still tell your child's provider if you notice this problem.

Your provider will take a medical history and perform a physical exam. The exam will focus on your abdomen.

You may be asked the following questions:

  • Are you taking blood thinners, such as aspirin, warfarin, Eliquis, Pradaxa, Xarelto, or clopidogrel, or similar medicines? Are you taking an NSAID, such as ibuprofen or naproxen?
  • Have you had any trauma or swallowed a foreign object accidentally?
  • Have you eaten black licorice, lead, Pepto-Bismol, or blueberries?
  • Have you had more than one episode of blood in your stool? Is every stool this way?
  • Have you lost any weight recently?
  • Is there blood on the toilet paper only?
  • What color is the stool?
  • When did the problem develop?
  • What other symptoms are present (abdominal pain, vomiting blood, bloating, excessive gas, diarrhea, or fever)? 

You may need to have one or more tests to look for the cause:

Severe cases of bleeding that cause excessive blood loss and a drop in blood pressure may require surgery or hospitalization.

Chaptini L, Peikin S. Gastrointestinal bleeding. In: Parrillo JE, Dellinger RP, eds. Critical Care Medicine: Principles of Diagnosis and Management in the Adult. 5th ed. Philadelphia, PA: Elsevier; 2019:chap 72.

Kovacs TO, Jensen DM. Gastrointestinal hemorrhage. In: Goldman L, Schafer AI, eds. Goldman-Cecil Medicine. 26th ed. Philadelphia, PA: Elsevier; 2020:chap 126.

Meguerdichian DA, Goralnick E. Gastrointestinal bleeding. In: Walls RM, Hockberger RS, Gausche-Hill M, eds. Rosen's Emergency Medicine: Concepts and Clinical Practice. 9th ed. Philadelphia, PA: Elsevier; 2018:chap 27.

Savides TJ, Jensen DM. Gastrointestinal bleeding. In: Feldman M, Friedman LS, Brandt LJ, eds. Sleisenger and Fordtran's Gastrointestinal and Liver Disease. 11th ed. Philadelphia, PA: Elsevier; 2021:chap 20.

Last reviewed on: 4/7/2020

Reviewed by: Michael M. Phillips, MD, Clinical Professor of Medicine, The George Washington University School of Medicine, Washington, DC. Also reviewed by David Zieve, MD, MHA, Medical Director, Brenda Conaway, Editorial Director, and the A.D.A.M. Editorial team.

Upper vs lower GI bleed stool color