Why Was My Diarrhea Black? Causes and When to Worry

Black diarrhea has two very different explanations: something harmless you ate or swallowed, or bleeding somewhere in your upper digestive tract. The key to telling them apart is the texture and smell of the stool, not just the color. Understanding that difference can help you figure out whether this is a wait-and-see situation or something that needs prompt medical attention.

Harmless Causes That Turn Stool Black

Several everyday foods, supplements, and medications can temporarily dye your stool black. The most common culprits include iron supplements, bismuth-based stomach medicines (like Pepto-Bismol), activated charcoal, black licorice, blueberries, and blood sausage. If you took or ate any of these in the last day or two, that’s likely your answer.

Iron supplements are especially well known for this. Dark or black stool is a routine side effect of oral iron, and it does not mean you’re bleeding internally. Bismuth works a little differently: the active ingredient reacts with tiny amounts of sulfur naturally present in your saliva and digestive system, forming a black compound called bismuth sulfide. That reaction can darken both your tongue and your stool. In both cases, the color change stops once you stop taking the product.

The important thing about food- or medication-related black stool is what it doesn’t have: a strong, foul smell beyond normal, and it won’t look sticky or tarry. It’s simply stained a darker color. If your black diarrhea showed up within a day of eating one of these foods or taking one of these medications, and it otherwise looks and smells like your usual stool, the cause is almost certainly dietary.

When Black Stool Means Bleeding

The medical term for black stool caused by internal bleeding is melena. Classic melena is jet black with a tarry, sticky consistency, almost like roofing tar. It also has a distinctively strong, offensive odor that’s noticeably worse than normal stool. That smell comes from blood being broken down by digestive enzymes as it passes through your gastrointestinal tract. You won’t notice that same distinctive smell with stool that’s simply been stained black by food or medication.

Melena points to bleeding in the upper part of your digestive system: the esophagus, stomach, or the first section of the small intestine. The blood turns black because hemoglobin, the protein that makes blood red, gets progressively darker as digestive enzymes break it down during transit. By the time it reaches the toilet, it no longer looks red at all. This is different from bright red blood in the stool, which typically signals bleeding much lower in the digestive tract, like the colon or rectum.

Common causes of upper GI bleeding include peptic ulcers (open sores in the stomach or upper small intestine lining), inflammation of the stomach lining, tears in the esophagus, and swollen veins in the esophagus that can occur with liver disease. Frequent use of anti-inflammatory painkillers like ibuprofen or aspirin increases the risk of stomach ulcers and, by extension, melena.

How to Tell the Difference

Because patients often can’t distinguish medication-stained stool from true melena just by looking at it, here are the features that matter most:

  • Texture: Melena is sticky and tarry. Food- or drug-stained stool has a normal consistency (or in this case, the loose consistency of diarrhea, but without the tar-like stickiness).
  • Smell: Melena has a uniquely strong, foul odor that stands out even compared to regular diarrhea. Stained stool smells normal.
  • Recent intake: If you took iron, Pepto-Bismol, activated charcoal, or ate dark-colored foods in the past 24 to 48 hours, that’s a likely and benign explanation.
  • Other symptoms: Melena from significant bleeding often comes with lightheadedness, feeling faint when you stand up, rapid heartbeat, unusual fatigue, or abdominal pain. If you’re experiencing any of these alongside black stool, the situation is more urgent.

What Happens if You Get Checked

If there’s any question about whether the black color comes from bleeding, a simple stool test can check for hidden blood. The most common version, called a fecal immunochemical test, has a sensitivity around 86% for detecting significant bleeding, meaning it catches most cases. Your doctor can also order blood work to check for anemia, which would confirm that you’ve been losing blood over time.

If the test comes back positive, the next step is usually an upper endoscopy, where a thin, flexible camera is passed through your mouth to look at your esophagus, stomach, and upper small intestine directly. This procedure identifies the bleeding source and, in many cases, allows the doctor to treat it during the same session.

Black Diarrhea Specifically

Most descriptions of melena focus on tarry, sticky stool rather than watery diarrhea. But the two aren’t mutually exclusive. If you’re experiencing a stomach bug or another cause of loose stools at the same time as upper GI bleeding, the result can be black, loose stool that’s harder to classify by texture alone. The smell remains the most reliable clue. A powerfully foul odor that goes beyond what you’d expect from diarrhea alone should raise concern.

On the other hand, if you took Pepto-Bismol to treat your diarrhea, the medication itself is the most straightforward explanation for the color change. Bismuth is one of the most common active ingredients in over-the-counter anti-diarrheal products, so the timing lines up perfectly: you had diarrhea, you treated it, and the treatment turned your stool black. In that scenario, the color should return to normal within a couple of days after you stop taking the medication.

If your black diarrhea is tarry, unusually foul-smelling, or accompanied by dizziness, weakness, or stomach pain, and you haven’t recently taken iron, bismuth, or activated charcoal, treat it as a potential sign of internal bleeding and seek medical evaluation promptly.