Key takeaways:
Normal poop colors include most shades of brown. If you have black poop or any other changes in your bowel habits, you should let your primary care provider know.
Black poop can sometimes be a result of something you ate or medications you’re taking. It can also be a sign of something more serious, like bleeding in the gastrointestinal tract.
Treatment for black stool will depend on the cause. Your healthcare team will look at your medical history and run some tests to figure out what’s causing your black poop and the best way to treat it.
You might not know that poop color and consistency can offer clues about the health of your diet and digestive system. So it’s important to pay attention to any changes.
Sometimes, a change in poop color can point to a serious underlying problem, like stomach or intestinal bleeding — and even cancer. Here, we’ll outline some common reasons for black poop, including when you should see a healthcare professional.
Any shade of brown is normal for poop. Even a greenish tinge can be normal for some people on some days. You’re the best expert on what’s normal for you.
SHINGRIX (Zoster Vaccine Recombinant, Adjuvanted) is now $0 for almost everyone*
Get SHINGRIX at the pharmacy or in-network doctor’s office today. 98% of privately insured people pay $0 and all Medicare Part D beneficiaries pay $0 at the pharmacy.
Prescribing Information
*Coverage and cost may vary and are subject to change without notice. Reimbursement decisions are made by individual insurance plans.
SHINGRIX is an FDA-approved vaccine for the prevention of shingles (herpes zoster) in adults 50 years and older. SHINGRIX is not used to prevent chickenpox.
• You should not receive SHINGRIX if you are allergic to any of its ingredients or had an allergic reaction to a previous dose of SHINGRIX
• An increased risk of Guillain-Barré syndrome (severe muscle weakness) was observed after vaccination with SHINGRIX
• Fainting can happen after getting injectable vaccines, including SHINGRIX. Precautions should be taken to avoid falling and injury due to fainting
• The most common side effects are pain, redness, and swelling at the injection site, muscle pain, tiredness, headache, shivering, fever, and upset stomach
• SHINGRIX was not studied in pregnant or nursing women. Tell your healthcare provider if you are pregnant, plan to become pregnant, or are breastfeeding
• Vaccination with SHINGRIX may not protect all individuals
• Ask your healthcare provider about the risks and benefits of SHINGRIX. Only a healthcare provider can decide if SHINGRIX is right for you
You are encouraged to report vaccine adverse events to the US Department of Health and Human Services. Visit www.vaers.hhs.gov to file a report, or call 1-800-822-7967.
For US audiences.
Trademarks are property of their respective owners.
©️2024 GSK or licensor.
PMUS-SGXWCNT240015 May 2024
Produced in the USA.
GoodRx Health information and resources are reviewed by our editorial staff with medical and healthcare policy and pricing experience. See our editorial policy for more detail. We also provide access to services offered by GoodRx and our partners when we think these services might be useful to our visitors. We may receive compensation when a user decides to leverage these services, but making them available does not influence the medical content our editorial staff provides.
It’s very normal for the color of your poop to change depending on what you eat or the medications you’re taking.
The amount of bile in the stool also affects the color. Bile is a yellow-green digestive fluid made by the liver and stored in the gallbladder. It’s released into the gastrointestinal (GI) tract when you eat to help digest food. It mixes with food waste to produce the classic brownish-green, healthy poop color.
There are many things that can change the color of your poop, some more serious than others. Certain foods, medications, and serious medical conditions can all cause black poop.
One of the most serious causes of black poop is bleeding in the GI tract. This type of black poop is known as melena. It can often be very sticky with a foul-smelling odor, and it can also be referred to as “tarry” or tar-like stool.
Melena can be the result of bleeding in the upper part of the GI tract from conditions like:
Peptic ulcer: This is a sore in the lining of your stomach or upper intestines. Peptic ulcers often cause a burning, painful sensation in your stomach.
Varices: When veins in the esophagus — the tube carrying food from the mouth to the stomach — become enlarged, they can rupture and bleed. This often happens if you have liver problems, like cirrhosis.
Esophagitis: This is inflammation and swelling in the esophagus lining. You might feel pain from swallowing. It’s typically due to too much acid within the esophagus and stomach.
Gastritis: This is inflammation of the stomach lining. You might have stomach pain, nausea, and vomiting. It’s also caused by too much acid production in the stomach.
Arteriovenous malformation (AVM): An abnormal grouping of blood vessels, AVMs can weaken and rupture easily, causing bleeding. This can occur anywhere in the GI tract.
Mallory-Weiss tear: The tissue of your esophagus can tear, especially after periods of forceful coughing or vomiting. This can also cause stomach pain and vomiting blood.
What if your poop is green, not black? Learn more about the foods, medications, and medical conditions that can turn your poop green.
Understanding the shape of your poop: The Bristol Stool Chart can help you track your bowel habits and what they mean for your digestive health.
A bleeding peptic ulcer is a common cause of black poop. Treatment with medication decreases stomach acid and helps the ulcer heal.
Cancer can happen in different parts of your GI tract. In some cases, black poop might be a sign of bleeding from a type of cancer, such as:
Gastric cancer: This cancer grows in the stomach. Other signs of stomach cancer can include nausea, abdominal pain, vomiting, always feeling full (early satiety), and weight loss.
Esophageal cancer: This cancer affects the esophagus. You might also have problems with swallowing, eating, weight loss, a hoarse voice, or cough that won’t go away.
Colorectal cancer: This cancer is from tumors in the colon and rectum. It doesn’t cause symptoms in early stages. But it can cause changes in bowel habits, shape, and color, including black and/or bloody stools.
There are a few medications that cause your poop to turn black. This is usually harmless and temporary. But it can last for a few days after taking the medicine. The most well-known include:
Stomach-upset medicines that contain bismuth salicylate (like Kaopectate and Pepto- Bismol)
Naturally occurring dark-colored foods or foods with dark food coloring can cause the color of your poop to change.
The foods that most often cause your poop to turn black include:
Blueberries
Blood sausage
Fortunately, a medical problem isn’t always the reason for black poop. But it’s potentially serious. So you should get medical attention first, before assuming it’s due to something you ate.
A few signs that can signal your black poop could be something more serious:
Black poop that won’t go away
Changes in poop shape or consistency
Changes in bowel habits
Feeling dizzy or lightheaded
Abdominal pain
Indigestion or heartburn
Nausea and/or loss of appetite
Vomiting blood or material with a coffee-ground texture
If you experience any of these, it’s best to notify your healthcare team sooner versus later.
There isn’t a treatment for black poop, per se. Rather, treatment will be based on what caused your stool to have a change in color. Your medical team will have to take a close look at your medical history and run some tests to figure out why you’ve developed black stools.
If you have black stool from medication or food, it should return to normal once you stop taking or eating it. If your stools are black due to bleeding from an ulcer or inflammation, you’ll likely take medication to treat those conditions. Black stool treatments for bleeding due to blood vessel problems or cancers may require procedures or surgery to treat.
Not necessarily. Iron tablets can change the color of your poop, but it’s not a guarantee that they’re working. The best way to know if iron supplements are “working” is to get your blood checked. Your healthcare team can discuss with you how often you’ll need to have this done while taking supplements.
It’s possible. Red wine contains some compounds that can turn your poop black, although there’s very little research on this question. When in doubt, stop the wine. If your poop stays black, it’s best to get it checked out.
The color of your poop can frequently change depending on what you eat or if you take certain medications. Most of the time, this won’t last for very long. But if you have black poop — or other symptoms that don’t go away like stomach pain, trouble swallowing, or dizziness — the safest thing to do is get medical attention.
American Cancer Society. (2020). Signs and symptoms of esophageal cancer.
American Cancer Society. (2021). What is stomach cancer?
American Recovery Center. (2024). Why is black stool after drinking a cause for concern?
Antunes, C., et al. (2023). Esophagitis. StatPearls.
LaFee, S. (2018). End results: What color is your poop and other pressing fecal matters. UC San Diego Health.
Liu, J. F., et al. (2010). Black licorice ingestion: Yet another confounding agent in patients with melena. World Journal of Gastrointestinal Surgery.
MedlinePlus. (2022). Mallory-Weiss tear.
MedlinePlus. (2023). Bleeding esophageal varices.
MedlinePlus. (2023). Gastritis.
MedlinePlus. (2024). Bile.
MedlinePlus. (2024). Black or tarry stools.
Saltzman, J. R., et al. (2012). Small bowel bleeding: Overview. American College of Gastroenterology.