Health information to help you understand symptoms. It isn't a diagnosis.
Check symptoms

Black or tarry stool

Also called: Melena, black poop, dark stool, tarry stool

Black or tarry stool can be a sign of bleeding in the upper digestive tract, like the stomach, and needs prompt medical care. But some harmless things also turn stool black, including iron pills, Pepto-Bismol, black licorice, and blueberries. If you're not sure why your stool is black, get checked.

Common causesStomach ulcers, iron pills, Pepto-Bismol, certain foods
Usually serious?Can be serious if from bleeding
Get checked ifAlways, unless you know it's from iron, bismuth, or food
If you think it's an emergency, call 911.Thinking about suicide? Call or text 988.

Overview

Black, sticky, tar-like stool that smells very bad usually means there's bleeding high up in the digestive tract, in the esophagus, stomach, or first part of the small intestine. As the blood is digested, it turns black. This is called melena.

Stool that is dark but not sticky or tarry may just be from iron pills, bismuth (Pepto-Bismol), activated charcoal, or foods like black licorice, blueberries, or blood sausage. A simple stool test can tell whether there's blood.

When to get medical care

Call 911Black stool with dizziness, fainting, a fast heartbeat, pale or clammy skin, or confusion. Vomiting blood or material that looks like coffee grounds. Large amounts of blood in the stool.
Get care todayBlack, tarry stool that isn't explained by iron, bismuth, or food. Black stool with belly pain. Black stool if you take blood thinners, aspirin, or NSAIDs regularly, or have liver disease.
See a doctor soonDark stool that keeps happening and you're not sure why. Tiredness, shortness of breath, or pale skin that could mean slow blood loss (anemia).

Causes

Bleeding causes include stomach or duodenal ulcers (the most common cause), gastritis (stomach irritation, often from NSAIDs or alcohol), a tear in the esophagus from forceful vomiting, enlarged veins in the esophagus from liver disease (varices), abnormal blood vessels, injury, and cancer of the esophagus or stomach. Blood thinners, aspirin, and NSAIDs like ibuprofen raise the risk of bleeding. Harmless causes include iron pills, bismuth (Pepto-Bismol), activated charcoal, black licorice, blueberries, and blood sausage. Swallowed blood from a nosebleed can also cause black stool.

OwieClear has pages on 6 conditions that can cause black or tarry stool. Each shows how soon to get care.

Common causes

Less likely causes

What you can do at home

  • Think about what you've taken or eaten. Iron pills, Pepto-Bismol, and dark foods are common, harmless causes.
  • Don't take aspirin or NSAIDs like ibuprofen or naproxen until you've been checked, since they can cause or worsen bleeding.
  • Avoid alcohol until you know the cause.
  • Don't stop prescribed blood thinners on your own; call your doctor.
  • Get checked promptly if you can't explain it. Black stool from bleeding is not something to treat at home.

Medicines

Don't treat black stool at home. If bleeding is found, treatment may include acid-reducing medicine for ulcers, antibiotics for H. pylori infection, IV fluids or a blood transfusion, or a procedure to stop the bleeding.

At the doctor

The doctor will find out whether there's bleeding and where it's coming from.

Questions you may be asked

  • When the black stools started and what they look like
  • Whether you take iron, Pepto-Bismol, aspirin, NSAIDs, or blood thinners
  • Whether you've vomited blood or coffee-ground material
  • Any belly pain, dizziness, or weakness
  • Your alcohol use and any liver disease or ulcers

The exam

A physical exam of the belly, and sometimes a rectal exam with a stool test for blood.

Tests

  • Blood tests, including blood count and clotting tests
  • A stool test for blood
  • An upper endoscopy (EGD) to look at the esophagus, stomach, and small intestine
  • A test for H. pylori
  • A colonoscopy, capsule endoscopy, or imaging if the source isn't found

Prevention

You can lower your risk of stomach bleeding.

  • Use NSAIDs only as directed and for short periods
  • Limit alcohol
  • Get treated for H. pylori and ulcers
  • Ask your doctor about stomach protection if you need long-term aspirin or blood thinners

Check your symptoms

Most symptoms have more than one possible cause. The symptom checker looks at all of your symptoms together, plus your age, and shows how soon to get care.

Start the symptom checker

Sources

Last updated 2026-11-13.

See something wrong or unclear on this page? Suggest a correction. OwieClear is for education only and isn't medical advice.