Black poop usually means one of two things: something you ate or swallowed changed the color, or there’s bleeding somewhere in your upper digestive tract. The harmless causes are far more common, but telling the difference matters because upper GI bleeding is a medical emergency. The key distinction comes down to texture and smell.
How to Tell Harmless Black Stool From a Warning Sign
When bleeding occurs high in the digestive tract, in the stomach or upper small intestine, stomach acid breaks down the blood as it travels through your system. By the time it reaches your stool, the blood has turned jet black and gives the stool a tarry, sticky consistency. This is called melena. It also produces a distinctly strong, foul odor that’s noticeably worse than normal stool. The longer blood has traveled through your digestive system, the darker and smellier it becomes.
Black stool caused by food or medication looks different. It may be dark, but it won’t have that sticky, tar-like texture, and it won’t carry the same unusually offensive smell. If your stool is black but formed normally and doesn’t seem sticky when you flush, a dietary cause is much more likely.
Foods and Medications That Turn Stool Black
Several everyday items can darken your stool enough to look alarming:
- Iron supplements are one of the most common culprits, especially at higher doses
- Bismuth subsalicylate (the active ingredient in Pepto-Bismol) reliably turns stool black
- Activated charcoal supplements or detox products
- Blueberries in large quantities
- Black licorice (real licorice, not just licorice-flavored candy)
- Blood sausage and similar foods made with animal blood
If you recently started any of these and your stool is black but otherwise normal in texture, that’s almost certainly the explanation. The color change typically stops within a day or two of discontinuing the food or supplement.
Upper GI Bleeding: The Serious Cause
Peptic ulcers are one of the most common causes of upper GI bleeding that leads to black, tarry stool. These are open sores in the lining of the stomach or the first part of the small intestine. When an ulcer erodes into a blood vessel, blood seeps into the digestive tract and gets broken down by acid on its way through.
Other potential sources of upper GI bleeding include torn blood vessels in the esophagus (often related to liver disease), inflammation of the stomach lining, and, less commonly, tumors in the stomach or upper intestine. The underlying cause varies, but the appearance of the stool is similar across all of them because the mechanism is the same: blood plus stomach acid equals black, sticky stool.
Along with black, tarry stool, upper GI bleeding often comes with other symptoms. These include vomiting blood (which can look red or resemble dark coffee grounds), dizziness or lightheadedness, feeling faint, and sometimes abdominal pain. If you’re experiencing any combination of these alongside black stool, that points strongly toward active bleeding.
What Happens at the Doctor’s Office
If there’s any question about whether your black stool contains blood, your doctor can run a simple stool test. A small sample is checked for hidden (occult) blood that isn’t visible to the naked eye. A newer version of this test uses antibodies specific to human blood, which means it won’t be thrown off by foods like red meat or certain raw vegetables the way older tests sometimes were.
If the test comes back positive, the next step is typically a scope procedure where a camera is passed down through the mouth to look at the esophagus, stomach, and upper small intestine. This lets doctors find the bleeding source and often treat it during the same procedure.
If the test is negative for blood, you and your doctor can confidently point to diet or medication as the cause and move on.
Black Stool in Newborns
If you’re a new parent searching this, here’s some reassurance: a newborn’s first bowel movements are supposed to be black. This substance, called meconium, is a thick, dark, tar-like material that built up in your baby’s intestines before birth. Babies typically pass meconium within 24 to 48 hours after delivery. Once they start feeding on breast milk or formula, their digestive system pushes the remaining meconium out, and stool gradually transitions to green and then yellow or brown over the following days. If your baby hasn’t passed meconium within 48 hours, let your pediatrician know, as this can sometimes signal a digestive issue that needs evaluation.
A Quick Decision Framework
Think through these three questions when you notice black stool. First, have you recently taken iron, Pepto-Bismol, activated charcoal, or eaten blueberries or black licorice? If yes, that’s your likely answer. Second, is the stool sticky and tar-like with an unusually strong smell? That pattern suggests digested blood rather than a dietary cause. Third, do you have any other symptoms like dizziness, vomiting, weakness, or abdominal pain? The combination of tarry black stool with any of these symptoms warrants urgent medical attention, as it suggests active bleeding that can worsen quickly.
Most people who search this question will find their answer in the harmless category. But because the serious cause is time-sensitive, it’s worth paying attention to those texture and smell differences rather than assuming everything is fine.

