Black poop has two very different explanations: something you ate or swallowed, or bleeding somewhere in your upper digestive tract. The difference usually comes down to texture and smell, and knowing what to look for can help you figure out whether this is a harmless color change or something that needs medical attention right away.
Foods and Medications That Turn Stool Black
The most common reason for black stool is something you consumed. Black licorice, blueberries, blood sausage, iron supplements, activated charcoal, and bismuth-based medications like Pepto-Bismol can all turn your poop noticeably dark or fully black. These causes are harmless and temporary.
Pepto-Bismol deserves a special mention because it catches so many people off guard. The active ingredient, bismuth, reacts with tiny amounts of sulfur naturally present in your saliva and digestive system. The two combine to form bismuth sulfide, a black-colored compound that stains both your tongue and your stool. The effect is completely harmless and clears up within a few days after you stop taking it.
If you recently ate any of these foods or took one of these medications, that’s very likely your answer. The stool may look dark, but it will have a normal consistency and a normal (or at least not dramatically worse) smell.
When Black Stool Means Bleeding
Black stool caused by bleeding in the upper digestive tract, such as the stomach or the first part of the small intestine, has a medical name: melena. It looks and feels distinctly different from food-stained stool. Classic melena is jet black with a tarry, sticky consistency, almost like roofing tar. It also has a strong, unusually foul odor that is hard to miss. That smell is a byproduct of blood being broken down as it travels through your digestive system.
The black color itself comes from a chemical reaction. When blood is exposed to stomach acid, the red pigment in your blood cells gets oxidized and converts into a dark brown or black substance. The longer blood sits in the digestive tract, the darker and more pungent it becomes by the time it reaches the toilet.
Upper gastrointestinal bleeding is not rare. It occurs in roughly 50 to 150 out of every 100,000 people per year. Bleeding ulcers are the single most common source, accounting for over half of identified bleeding sites in clinical studies. Other causes include small abnormal blood vessels in the stomach lining, tears in the esophagus, and inflammation from chronic alcohol use or long-term painkiller use.
How to Tell the Difference
Two features reliably separate harmless black stool from melena. The first is texture. Stool that’s been stained by food or medication keeps its normal shape and consistency. Melena is sticky, loose, and tar-like. It may coat the toilet bowl in a way that’s hard to flush.
The second is smell. Everyone’s stool has an odor, but melena has a distinctively offensive smell that people describe as unlike anything they’ve experienced before. If your stool is black but formed normally and doesn’t smell remarkably different, a dietary cause is far more likely. If it’s black, tarry, and smells terrible, that pattern points toward digested blood.
Symptoms That Signal an Emergency
Black, tarry stool on its own warrants a call to your doctor. But if it shows up alongside other symptoms, the situation may be more urgent. Watch for lightheadedness or fainting, a racing heartbeat, feeling unusually weak or confused, vomiting material that looks like dark coffee grounds, or visible paleness in your skin. These signs suggest significant blood loss and need immediate medical attention.
Even without those dramatic symptoms, melena that persists for more than a day or two should not be ignored. Slow, steady blood loss can cause anemia over time, leaving you tired and short of breath without an obvious explanation.
What Happens at the Doctor’s Office
If your doctor suspects bleeding, the first step is often a simple stool test that checks for hidden blood. This can confirm whether blood is actually present or whether the color change is from something else entirely.
When blood is confirmed or strongly suspected, the standard next step is an upper endoscopy. A thin, flexible camera is passed through your mouth and into your stomach and upper small intestine. This lets the doctor see the bleeding source directly and, in many cases, treat it during the same procedure. The test is done under sedation, so you won’t feel it, and it typically takes 15 to 30 minutes.
For people with chronic or intermittent black stools, the same type of scope is used to look for slow-bleeding ulcers, inflamed tissue, or other sources that might not cause dramatic symptoms but still need treatment.
What to Do Right Now
Start by thinking about what you’ve eaten or taken in the last 24 to 48 hours. Iron supplements, Pepto-Bismol, black licorice, and blueberries are the usual suspects. If one of those fits, stop taking or eating it and see if your stool returns to its normal color within a day or two.
If you can’t trace it to a food or medication, pay attention to the texture and smell. Normal consistency and unremarkable odor are reassuring. Tarry, sticky stool with a strong foul smell is not. In that case, or if you notice any of the warning symptoms listed above, contact your doctor promptly rather than waiting to see if it resolves on its own.