A black stool is usually caused by bleeding somewhere in the upper part of the digestive tract — the stomach or the first section of the small intestine. When blood sits in the gut long enough, digestive acids and bacteria break it down into a dark, tarry substance called melena. But not every black stool means bleeding. Iron supplements, bismuth medicines, and certain foods can turn stool black too, and those causes are harmless.
The distinction matters a great deal. True melena is a medical warning sign. A stool that is simply dark from iron or blueberries is not. Learning to tell them apart — and knowing when to call a doctor — is the single most useful thing you can take from this article.
What Is The Cause Of A Black Stool?
The cause comes down to two broad categories: digested blood from the upper digestive tract, or a non-blood substance that darkens the stool. The first category is the one that needs medical attention.
Here is why upper-tract bleeding produces black stool rather than red. Blood leaving the stomach passes through many feet of intestine before it is excreted. Along the way, hemoglobin — the oxygen-carrying protein in red blood cells — is broken down by digestive enzymes and gut bacteria. The iron in hemoglobin converts into compounds that are black. By the time the stool appears, the blood no longer looks like blood.
Bleeding from the lower digestive tract — the colon or rectum — usually shows up as bright red or maroon stool, because it moves through too quickly to be broken down. That is why the color of the stool tells a clinician something about where a problem might be.
What Does Melena Look Like and How Is It Different From Normal Dark Stool?
Melena has a distinctive appearance that separates it from stool that is merely dark. It is black or very dark brown, and it is tarry and sticky, almost like asphalt or thick tar. It usually has a strong, foul odor that people describe as unusually bad.
Genuine melena typically requires a meaningful amount of blood — clinicians generally consider roughly 50 to 100 milliliters or more of blood in the upper gut to produce the classic tarry appearance. Smaller amounts may not be visible at all.
Stool darkened by iron pills or food tends to look different. It is usually dark but not tarry, and it does not have the same sticky texture. If you are unsure, the texture and smell are often more telling than the color alone.
One clarification worth making: a single black stool is not automatically an emergency, but melena that continues or comes with dizziness, weakness, or a racing heart is a sign of significant blood loss and needs urgent care.
What Non-Blood Causes Turn Stool Black?
Several common substances darken stool without any bleeding involved. These are the most frequent harmless explanations.
- Iron supplements — the most common cause of black stool in healthy adults. The unabsorbed iron is black, and it darkens stool reliably.
- Bismuth subsalicylate — the active ingredient in some over-the-counter stomach remedies. It reacts with sulfur in the gut to form bismuth sulfide, which is black. This can also temporarily darken the tongue.
- Activated charcoal — used for some poisonings and sold as a supplement. It is black and passes through largely unchanged.
- Dark foods — black licorice, blueberries, blackberries, and dark chocolate can darken stool in large amounts.
These causes produce stool that is dark but not tarry. The color usually returns to normal within a day or two of stopping the substance. If you take iron and your stool is black but you feel well, that is an expected effect, not a warning sign.
What Medical Conditions Cause Black Stool?
When melena is real, the source is bleeding in the upper digestive tract. Several conditions can cause it, and they range from minor to serious.
Peptic ulcers are among the most common causes. These are open sores in the stomach lining or the upper small intestine, often linked to infection with Helicobacter pylori bacteria or to long-term use of nonsteroidal anti-inflammatory drugs such as ibuprofen and naproxen. An ulcer that erodes into a blood vessel can bleed substantially.
Gastritis — inflammation of the stomach lining — can ooze blood that turns stool black. Esophageal varices, enlarged veins in the esophagus often related to liver disease, can bleed heavily and are a medical emergency. Mallory-Weiss tears, small tears at the junction of the esophagus and stomach, can follow forceful vomiting and cause bleeding.
Less common causes include stomach or esophageal tumors and bleeding disorders. In each case, the mechanism is the same: blood enters the upper gut, gets digested, and exits as melena. The cause behind the bleeding is what a doctor needs to identify.
When Should You See a Doctor About Black Stool?
See a doctor promptly if you have black, tarry stool and you are not certain it comes from iron or another harmless substance. Seek emergency care if black stool comes with any of the following:
- Dizziness, lightheadedness, or fainting
- Weakness or unusual fatigue
- A rapid heartbeat or shortness of breath
- Vomiting blood, or vomit that looks like coffee grounds
- Pale skin or cold, clammy hands
- Abdominal pain that is severe or worsening
Those symptoms point to significant blood loss, which can become dangerous quickly. Do not wait to see whether it resolves on its own. Call emergency services or go to an emergency department.
If you feel well but have unexplained black stool that persists, a routine appointment is reasonable. A doctor can review your medications and supplements, ask about your diet, and decide whether testing is needed.
How Does a Doctor Find the Cause?
Doctors start with history and a physical exam. They will ask about iron and bismuth use, recent foods, alcohol intake, and medications — especially NSAIDs and blood thinners. They will also ask about prior ulcers, liver disease, and any family history of gastrointestinal problems.
If bleeding is suspected, the main test is upper endoscopy. A thin flexible tube with a camera is passed through the mouth to look directly at the esophagus, stomach, and upper small intestine. It can find the bleeding source and, in many cases, treat it during the same procedure.
Blood tests can check for anemia, which would support the possibility of chronic blood loss. A stool test may be used to confirm the presence of blood. The choice of tests depends on the person’s symptoms, age, and history — there is no single correct path for everyone.
Can Black Stool Be Prevented?
You cannot prevent every cause, but some steps reduce risk. If you take NSAIDs regularly, talk with your doctor about whether you need them and whether your stomach should be protected. Long-term NSAID use is a well-established risk factor for ulcers and upper-tract bleeding.
Limit alcohol, which can irritate the stomach lining and contribute to liver disease. If you have known liver disease or a history of ulcers, keep regular follow-up with your doctor. Do not stop a prescribed blood thinner on your own because of black stool — call your doctor first, since stopping without guidance carries its own serious risks.
For most people, the practical step is simpler: know what your supplements and medicines can do to stool color, so a harmless change does not cause needless alarm — and a real warning sign does not get dismissed.
Frequently Asked Questions
Is black stool always a sign of bleeding?
No. Iron supplements, bismuth medicines, activated charcoal, and dark foods are common non-blood causes. Tarry texture and accompanying symptoms like dizziness are what point toward bleeding.
What does black stool from bleeding look like?
It is black or very dark, tarry, sticky, and usually has a strong foul odor. This appearance is called melena and typically means bleeding in the stomach or upper small intestine.
Can iron pills cause black stool?
Yes, iron supplements commonly turn stool black because unabsorbed iron is dark. The stool is usually not tarry, and the color returns to normal after stopping the supplement.
When should I worry about black stool?
Worry if it is tarry and comes with dizziness, weakness, a rapid heartbeat, or vomiting blood. Those signs suggest significant blood loss and need emergency care.

