What Are the Causes of Black Stool?

Bowls of blueberries, black licorice, and chewable pepto bismol

Verywell / Anastasia Tretiak

Table of Contents
View All
Table of Contents

Black stool refers to a condition in which your stool is an unusually dark color. Stool, also known as bowel movements, feces, or poop, is the bodily waste left over after digestion. The color of your bowel movements are affected by the food you eat, medications and supplements you take, or, possibly, serious underlying medical problems.

If you have a history of gastrointestinal (GI) bleeding, your stool has an especially foul smell, or the problem lasts longer than a few days, you should contact your doctor right away to be sure there isn't a life-threatening health issue.

This article explores the reasons you may have black stool. It explains some of the more serious health problems associated with it, and outlines common treatments for black stool caused by medical conditions.

potential causes of black stool

Verywell / Laura Porter

Quick Facts About Black Stool

  • Most cases of black stools are from eating black foods or iron supplements.
  • Stool that is black due to blood indicates a problem in the upper GI tract.
  • Blood in the stool can be detected through a stool test.
  • See your healthcare provider right away if you have black stool along with pain, vomiting, or diarrhea.
  • If you suspect there is blood in your stool, contact your healthcare provider as soon as possible.

Food and Supplements

Black stools could be caused by food, supplements, medication, or minerals. Iron supplements, taken alone or as part of a multivitamin for iron-deficiency anemia, may cause black stools or even green stools.

Foods that are dark blue, black, or green may also cause black stools. Consuming any of the following could darken your bowel movements:

If you can't trace your black stool to a something you ate, you should talk to your doctor to find other possible causes.

If there's no obvious reason for a black stool, it could be time to look for blood in the stool. A variety of medical reasons can cause black stools that are also tarry with a foul smell.

Blood in the Stool (Melena)

Blood that comes from the upper GI tract—such as the esophagus or the stomach—may turn the stool black. This is a condition called melena. If you have melena, you may also notice that your stool has a tarry texture or is similar to coffee grounds.

Blood changes from red to black as it passes through the body and interacts with enzymes, substances that help digest food in the GI tract.

This makes it a bit more difficult to tell if there is red blood in or on the stool.

Bright red blood in or on the stool is typically blood from the lower GI tract, such as the rectum or the colon. This is a condition called hematochezia. Blood stemming from this region will be more red in appearance, because it will be exposed to less of the digestive process.

If the black stool appears tarry, or you also have other symptoms such as fainting or near-fainting, dizziness, pain, or vomiting, contact a healthcare provider immediately, as it could be a medical emergency.

Some people are more likely to develop bleeding in the GI tract. Talk to your doctor about the i any of these risk factors apply to you:

  • Liver disease
  • Cancer
  • Dieulafoy lesion (a rare condition of the stomach)
  • Erosive esophagitis (inflammation in the esophagus)
  • Erosive gastritis (inflammation in the stomach)
  • Intestinal ischemia (when blood supply to the intestines is cut off)
  • Peptic ulcers (sores in the stomach lining or upper part of small intestine)
  • Tear in the esophagus (Mallory-Weiss tear)
  • Varices (abnormally large veins) in the esophagus or stomach

Recap

Common reasons you may have dark bowel movements include eating dark foods, taking certain types of supplements or medications, especially iron, consuming lead, or having blood in your stool. There are a number of reasons why you might have blood in feces. You should see a doctor for a full examination to find the exact cause.

Diagnosis

Seeing the black color is not enough to determine whether or not there's blood in your stool. Remember, it could be caused by food or iron supplements. A healthcare provider needs to confirm if there's blood. That requires several types of tests.

Your doctor will have you collect a small stool sample at home using a special kit. The sample is then sent to a lab for evaluation.

If you're diagnosed with melena, doctors may order further diagnostic tests to determine the cause and the exact location of the bleeding.

Specifically, your doctor may conduct an esophagogastroduodenoscopy (EGD, or upper endoscopy). This procedure involves inserting a flexible tube with a camera down your throat so that your healthcare provider can inspect the lining of the esophagus, stomach, and upper intestine.

Aside from an esophagogastroduodenoscopy (EGD), other tests that might be done include:

  • X-rays
  • Blood tests
  • Colonoscopy (an internal examination of your large intestine)
  • Stool culture (a test that looks for bacteria in a sample of your stool)
  • Barium studies (X-rays taken after a chalky liquid is ingested)

Causes of Blood in Stool

Stool that is visibly black and tarry typically indicates the presence of an acute condition in the upper GI tract. After the bleeding has stopped, stool may continue to appear black and tarry for several days.

Possible causes of melena include a bleeding ulcer, gastritis, esophageal varices (enlarged veins), or a tear in the esophagus from violent vomiting (Mallory-Weiss tear).

Ulcer

An ulcer is a type of sore on the lining of the stomach that can cause bleeding and result in melena. Contrary to popular belief, stomach ulcers are not usually caused by stress or spicy food, although these can aggravate an already existing ulcer.

In fact, stomach ulcers are usually caused by an infection with bacteria called Helicobacter pylori (H. pylori). Long-term use of pain medications, known as nonsteroidal anti-inflammatory drugs (NSAIDs), are another cause of stomach ulcers. NSAIDs include common over-the-counter drugs, such as ibuprofen, naproxen sodium, and aspirin. Some NSAIDs are prescribed by healthcare providers.

NSAIDs can irritate the stomach by weakening the lining's ability to resist acid made in the stomach. For this same reason, NSAIDs have an adverse effect on Crohn's disease and ulcerative colitis—conditions that cause ulcers and inflammation of the GI tract.

Gastritis

Gastritis is inflammation of the stomach lining. This inflammation can be caused by too much alcohol, eating spicy foods, smoking, infection with bacteria, or by the prolonged use of NSAIDs. Gastritis can also develop after surgery or trauma, or it may be associated with already existing medical conditions.

Gastritis that is left untreated can lead to stomach ulcers and other complications. Some people have no symptoms, while acute, suddenly occurring cases of gastritis may only result in tarry, black stool.

Persistent bleeding can lead to more severe symptoms like:

  • Abdominal pain
  • Lightheadedness
  • Nausea
  • Vomiting
  • Indigestion

Esophageal Varices

Esophageal varices are enlarged veins in the wall of the lower esophagus or upper stomach. When these veins rupture, they may cause bleeding and lead to blood in the stool or in vomit.

Esophageal varices are serious complications resulting from high blood pressure brought on by cirrhosis of the liver.

Most people with esophageal varices experience no symptoms unless the veins rupture. Symptoms of bleeding esophageal varices include:

  • Melena
  • Vomiting blood
  • Lightheadedness
  • Fainting

Mallory-Weiss Tear

Mallory-Weiss tear is a tear in the mucous membrane that joins the esophagus and the stomach. If this tear bleeds, it can result in melena.

This condition is fairly rare. It only only occurs in about seven out of 100,000 people in the US and may be caused by violent vomiting, coughing, or epileptic convulsions. About 5% of people with a Mallory-Weiss tear do not survive.

Like other conditions that cause melena, symptoms of a Mallory-Weiss tear may not be obvious. Along with tarry, black stool, some people may experience any of the following:

  • Vomiting tarry blood
  • Lightheadedness (presyncope)
  • Shortness of breath (dyspnea)
  • Diarrhea
  • Abdominal pain
  • Chest pain

Recap

Blood in the stool can be a serious concern. Blood in your bowel movements is usually caused by one of these conditions:

  • Bleeding ulcers in the stomach lining
  • Inflammation of the stomach usually related to diet or medications
  • Bursting of enlarged veins in the wall of the lower esophagus
  • Tears in the membrane that separates the stomach from the esophagus

Doctors may need to examine a sample of your stool or may need to insert a camera into your GI track to determine where the blood is coming from.

Treatment

Stomach ulcers caused by and infection may be treated with antibiotics. Your healthcare provider may also recommend an acid reducer. Ulcers from NSAIDs usually heal after you stop taking the drug.

If your doctors suspects gastritis, they may prescribe antacids or proton pump inhibitors, antibiotics that treat H. pylori infection, or sucralfate—a drug that helps the stomach heal by soothing irritation. If these treatments fail to resolve your symptoms, your healthcare provider may order an upper endoscopy to take a closer look at your stomach and small intestine.

Esophageal Varices requires immediate medical care to help stop the bleeding. Elastic bands may be wrapped around the varices to stop the flow of blood. Stents, tubes inserted to manage blood flow, may be used to lower blood pressure. That can reduce the amount of bleeding.

In the case of a Mallory-Weiss tear, the tear heals on its own for most people. If it does not resolve itself, you may need treatment to seal the lesion. This may either take the form of a medication that is injected internally, or a type of heat therapy known as electrocoagulation.

Summary

Stool that appears black is not always a sign of a bigger health problem. Your stool can look black as a result of food or iron supplements you have eaten. If that's the case, the color will return to normal within a day or so.

If it doesn't, and if you cannot trace it back to something you have eaten, ask yourself:

  • Does the stool have a tarry appearance, somewhat like coffee grounds?
  • Is there an especially foul smell that has not gone away?
  • Does my medical history place me at risk for gastrointestinal bleeding?

If you answered yes to one or more of these questions, or if you're experiencing symptoms like nausea, vomiting, or lightheadedness, you should contact your doctor.

A Word From Verywell

Though it may be surprising to see, occasional black stool is not something to worry about so long as it occurs after you eat dark-colored foods or take an iron supplement.

That said, if black or tarry stools cannot be attributed to something you have consumed, or you simply feel like something is off, it's best to get checked out. Some of the conditions that cause GI bleeding can be life-threatening unless treated promptly.

Frequently Asked Questions

  • Is black, tarry stool an emergency?

    Not necessarily. Dark-colored stool may just be the result of food you ate or supplements you took. However, if you notice blood in your bowel movement, if you vomit blood, or if you feel dizzy, you should contact your doctor right away.

  • Can liver disease cause black stool?

    Yes. Liver disease can damage the veins that move blood into the liver and may cause pressure to build up in these veins. The veins then burst, allowing blood to get into your GI tract. This bleeding can be serious, so you should talk to a doctor right away.

  • Is it normal for a newborn’s poop to be black?

    Yes. For the first two days, your baby’s bowel movements may be black and tarry. This is called meconium, and it's totally normal. With these early poops, babies are clearing out the substances that were in their intestines.

Was this page helpful?
11 Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Cotter J, Baldaia C, Ferreira M, Macedo G, Pedroto I. Diagnosis and treatment of iron-deficiency anemia in gastrointestinal bleeding: A systematic reviewWorld J Gastroenterol. 2020 Dec;26(45):7242-7257. doi:10.3748/wjg.v26.i45.7242

  2. MedlinePlus. Black or tarry stools.

  3. Kim BS, Li BT, Engel A, et al. Diagnosis of gastrointestinal bleeding: A practical guide for clinicians. World J Gastrointest Pathophysiol. 2014 Nov;5(4):467-78. doi:10.4291/wjgp.v5.i4.467

  4. John Hopkins Medicine. Esophagogastroduodenoscopy (EGD).

  5. National Institute of Diabetes and Digestive and Kidney Diseases. Treatment of gastritis & gastropathy.

  6. Ljubičić N, Budimir I, Pavić T, et al. Mortality in high-risk patients with bleeding Mallory–Weiss syndrome is similar to that of peptic ulcer bleeding. Results of a prospective database studyScandinavian Journal of Gastroenterology. 2014 Apr;49(4):458-464. doi:10.3109/00365521.2013.846404

  7. John Hopkins Medicine. Mallory-Weiss tear.

  8. Cleveland Clinic. Esophageal Varices.

  9. Kim HS. Endoscopic management of mallory-weiss tearingClin Endosc. 2015 Mar;48(2):102-105. doi:10.5946/ce.2015.48.2.102

  10. Mount Sinai School of Medicine. Bloody or tarry stools.

  11. Singh A, Mittal M. Neonatal microbiome – a brief review. The Journal of Maternal-Fetal & Neonatal Medicine. 2020;33(22):3841-3848. doi:10.1080/14767058.2019.1583738