Black stool can be alarming, but it is not always a medical emergency. The color comes from digested blood or from certain foods and supplements. The most important step is figuring out which category you fall into, because the causes range from harmless to serious.
What Are The Reasons For Black Stool?
Black stool happens for two main reasons: bleeding in the upper digestive tract or something you ate. When blood is digested, it turns dark and tarry. This is called melena. Foods, iron supplements, and certain medications can also turn stool black without any bleeding at all.
The distinction matters. If your stool is black because of food, it will resolve on its own. If it is from bleeding, you need medical attention. The texture and smell help tell the difference.
When Black Stool Means Bleeding in the Digestive Tract
Bleeding high in the digestive system — the esophagus, stomach, or the first part of the small intestine — produces black, tarry stool. The blood travels down the digestive tract and gets broken down by enzymes and bacteria. This process turns the blood black.
Doctors call this melena. It often has a distinct, foul odor and a sticky, tar-like consistency. Even a small amount of bleeding — as little as 50 milliliters, or about 3 tablespoons — can turn stool black.
Common causes of upper GI bleeding include:
- Peptic ulcers — open sores in the stomach or duodenum lining
- Gastritis — inflammation of the stomach lining
- Esophageal tears — often from severe vomiting
- Esophageal varices — enlarged veins in the esophagus, usually from liver disease
- Stomach cancer — a less common but serious cause
If you have black stool along with dizziness, weakness, shortness of breath, or pale skin, you may be losing enough blood to cause anemia. This requires urgent medical care.
Iron Supplements and Black Stool
Iron supplements are one of the most common causes of black stool. The body does not absorb all the iron you take, and the unabsorbed iron passes through the digestive tract. As it travels, it reacts and turns the stool dark gray or black.
This is harmless. The stool from iron supplements is usually black but not tarry or sticky like melena. It also does not have the strong odor that bleeding causes.
Foods high in iron can also darken stool, though usually less dramatically than supplements. Black licorice, blueberries, and dark chocolate can all contribute to darker stool.
If you take iron supplements and develop black stool, this is expected. The color change alone does not mean something is wrong. But if it comes with pain, cramping, or other symptoms, talk to your doctor.
Pepto-Bismol and Other Bismuth Medications
Bismuth subsalicylate — the active ingredient in Pepto-Bismol and Kaopectate — can turn stool black. This happens through a chemical reaction. Bismuth combines with sulfur in the saliva and digestive tract to form bismuth sulfide, which is black.
This effect is completely harmless and temporary. Your stool will return to normal color within a few days of stopping the medication. The same reaction can also darken the tongue, which is equally harmless.
It is worth noting that bismuth can also cause a harmless black discoloration of the stool that may be mistaken for bleeding. If you have taken Pepto-Bismol recently, that is the most likely explanation for dark stool.
Foods That Can Turn Stool Black
Certain foods are notorious for darkening stool. The most common ones include:
- Black licorice — contains natural pigments that survive digestion
- Blueberries — especially in large amounts
- Dark chocolate — the darker the chocolate, the more likely
- Blood sausage — contains actual blood, which digests like any other blood
- Dark leafy greens — in very large quantities
- Activated charcoal — used in some foods and drinks, passes straight through
Food-related black stool is usually not tarry and does not have a strong smell. If you recently ate any of these foods, the color change is likely harmless. It should resolve within a day or two as the food passes through your system.
How to Tell the Difference at Home
You can narrow down the cause without a doctor by asking a few questions. Did you take iron, Pepto-Bismol, or eat black licorice in the last day or two? If yes, that is the likely cause. Did the stool have a strong, foul odor and a sticky, tar-like texture? That points toward bleeding.
Another test: the color of the toilet water. With food or supplement-related black stool, the water is usually clear. With melena, the water may have a reddish or dark tinge from the digested blood.
You can also do a simple test at home. Put a small amount of stool on a white paper towel and add a drop of hydrogen peroxide. If it bubbles or foams, blood is present. This is not a perfect test, but it can provide a clue.
The most reliable way to know is a stool test done by a doctor. A fecal occult blood test detects hidden blood in the stool. If you are unsure about the cause, this test can settle the question.
When to See a Doctor Immediately
Some symptoms alongside black stool require urgent medical care. Do not wait to see if they pass. Seek emergency care if you have:
- Black stool with dizziness or fainting
- Rapid heart rate or chest pain
- Shortness of breath
- Cold, clammy skin
- Severe abdominal pain
- Vomiting blood or material that looks like coffee grounds
These symptoms suggest significant blood loss. The body can lose a large amount of blood through the digestive tract before you notice. Anemia from chronic slow bleeding can also develop without obvious symptoms.
If you have black stool that cannot be explained by food or supplements, and it persists for more than a day or two, see a doctor. They can test for blood and determine the source.
Medical Tests for Black Stool
If your doctor suspects bleeding, they will likely start with a stool test. This checks for hidden blood. If blood is present, the next step is usually an endoscopy.
An upper endoscopy uses a thin, flexible tube with a camera to look at the esophagus, stomach, and duodenum. This procedure can find the source of bleeding, whether it is an ulcer, inflammation, or another issue. It also allows the doctor to treat some causes during the procedure.
In some cases, a colonoscopy may be needed to rule out lower digestive tract bleeding. Blood tests can check for anemia and evaluate how much blood you may have lost.
These tests are routine and safe. Finding the cause of black stool early can prevent complications from ongoing blood loss.
Frequently Asked Questions
Can black stool be caused by stress?
Stress alone does not turn stool black. However, stress can worsen conditions like ulcers or gastritis, which can bleed and cause black stool.
How long does black stool last after taking iron?
Black stool lasts as long as you take iron supplements and for a few days after stopping. The color change is harmless and expected.
Is black stool always an emergency?
No. Black stool from food, iron, or Pepto-Bismol is harmless. Black stool from bleeding is serious and requires medical attention.
Can black stool be a sign of cancer?
Black stool can be a sign of stomach or esophageal cancer, but this is uncommon. Bleeding ulcers and gastritis are far more common causes.

