Our Services
Medical Information
Helpful Resources
Published on: 9/13/2026
Black or very dark stool after eating blueberries, black licorice, dark leafy greens, or iron supplements is usually harmless food pigment passing through your digestive tract, and it typically clears within one to two days. The key difference is appearance and texture: diet-related stool is dark but normal in consistency, while bleeding higher in the GI tract produces tarry, sticky, foul-smelling black stool called melena. Warning signs that point to something more serious include stomach pain, vomiting, dizziness, weakness, or black stool that continues after you stop eating the suspected food. There are several factors to consider, including medications and underlying conditions, so review the complete details below before assuming food is the cause.
Because harmless staining and internal bleeding can look similar at a glance, it helps to sort out your specific symptoms quickly rather than wait and worry, and you can start a free, instant, online symptom check to see which possible causes match your situation and what steps to take next.
Last reviewed for medical accuracy: 09/13/2026
Seeing dark or black stool can be alarming—but in many cases it’s simply the result of something you ate. Blueberries, black licorice and other deeply colored foods contain pigments that can change stool color. At the same time, true “black and tarry” stool (Medically known as melena) can signal bleeding in the upper digestive tract. Here’s what to know, how to tell the difference, and when to get checked by a doctor.
Certain foods and drinks contain natural or artificial pigments that can color your stool temporarily. Common culprits include:
• Blueberries, blackberries, elderberries
– Rich in anthocyanins (deep blue-purple plant pigments)
– Can produce a bluish-black or dark green tinge in stool
• Black licorice
– Uses licorice root extract plus black food coloring
– May lead to very dark brown or black stool, especially in large quantities
• Other dark foods and drinks
– Black beans, beetroot, iron-fortified cereals
– Dark chocolate, coffee and red wine
• Supplements and medications
– Iron tablets or liquid iron supplements
– Bismuth subsalicylate (the active ingredient in some anti-diarrheal medicines)
Key points:
Black, tarry stool with a distinct foul smell is called melena. It usually indicates that blood from somewhere in your upper gastrointestinal (GI) tract has mixed with digestive enzymes and acid, turning it dark.
Features of melena:
• Color and consistency
– Shiny, sticky, blackish stool—often described as “tar-like”
• Smell
– Foul, almost metallic odor that’s hard to miss
• Amount
– Can be small or large; may appear as streaks mixed with stool or as fully blackened stool
Common causes of melena include:
• Peptic ulcers (stomach or duodenal ulcers)
• Gastritis or esophagitis (inflammation of the stomach lining or esophagus)
• Esophageal varices (enlarged veins in the esophagus that can bleed)
• Mallory-Weiss tears (small tears at the junction of the esophagus and stomach)
• Certain tumors in the upper GI tract
Timing
– Pigment-related color changes usually appear within a day or two of eating the offending food.
– Melena may occur more gradually or without any relation to meals.
Consistency and smell
– Pigment-stained stool looks dark but has a normal odor and texture.
– Melena is tar-like, sticky and foul-smelling.
Additional symptoms
– Food pigments alone should not cause pain, weakness or other symptoms.
– Bleeding in the GI tract may be accompanied by:
• Abdominal pain or discomfort
• Dizziness, lightheadedness or fainting
• Rapid heartbeat
• Pale skin or shortness of breath (signs of anemia)
• Vomiting blood or coffee-ground–like vomit
Duration
– If stool remains dark for more than two days after eating a known pigment source, consider other causes.
Besides bleeding or pigments, dark stool can result from:
• Iron supplementation—common with prenatal vitamins or iron deficiency treatment
• Medications containing bismuth (e.g., Pepto-Bismol)
• Certain antibiotics (rarely)
• Chronic conditions (e.g., Crohn’s disease)
If you’re unsure whether your dark stool is harmless or a sign of something more serious, consider a quick self-assessment. You can try a free, online symptom check, using the doctor approved Ubie Symptom Checker. This tool can help you sort through your symptoms and decide whether you need to seek medical care right away.
Steps to take at home:
Even if you suspect pigments are the cause, it’s wise to speak to a healthcare professional if you experience:
• Persistent black or tarry stool lasting more than 48 hours after the pigment-containing meal
• Any of the following warning signs:
– Severe abdominal pain
– Dizziness, rapid heartbeat or fainting
– Pale skin, shortness of breath or other signs of anemia
– Vomiting blood or material that looks like coffee grounds
These could be signs of an upper GI bleed or another serious condition.
Key takeaways:
In most cases, black stool after eating deeply colored foods like blueberries or black licorice is simply a temporary effect of pigments moving through your digestive tract. True melena—“black and tarry” stool from GI bleeding—has a different appearance and is often accompanied by other warning signs. If you’re ever in doubt, use the Ubie Symptom Checker to guide your next steps, and always consult a doctor about any serious or life-threatening concerns.
(References)
* Picca SM. Licorice stool. N Engl J Med. 1979 May 31;300(22):1283. PMID: 431709.
* Liu JF, Srivatsa A, Kaul V. Black licorice ingestion: Yet another confounding agent in patients with melena. World J Gastrointest Surg. 2010 Jan 27;2(1):30-1. doi: 10.4240/wjgs.v2.i1.30. PMID: 21160832; PMCID: PMC2999197.
* Li G, Wang Q, Qian Y, Zhou Y, Wang R, Zhao X. Component analysis of Pu-erh and its anti-constipation effects. Mol Med Rep. 2014 May;9(5):2003-9. doi: 10.3892/mmr.2014.2009. Epub 2014 Mar 5. PMID: 24604453.
* Rudinsky AJ, Guillaumin J, Gilor C. Sensitivity of fecal occult blood testing in the cat. J Feline Med Surg. 2017 Jun;19(6):603-608. doi: 10.1177/1098612X16643752. Epub 2016 Apr 15. PMID: 27084754; PMCID: PMC11128802.
* Głąbska D, Guzek D, Zakrzewska P, Włodarek D, Lech G. Lycopene, Lutein and Zeaxanthin May Reduce Faecal Blood, Mucus and Pus but not Abdominal Pain in Individuals with Ulcerative Colitis. Nutrients. 2016 Sep 30;8(10). doi: 10.3390/nu8100613. Epub 2016 Sep 30. PMID: 27706028; PMCID: PMC5084001.
* Fu X, Li R, Zhang T, Li M, Mou H. Study on the ability of partially hydrolyzed guar gum to modulate the gut microbiota and relieve constipation. J Food Biochem. 2019 Feb;43(2):e12715. doi: 10.1111/jfbc.12715. Epub 2018 Nov 14. PMID: 31353659.
* Ohno H, Murakami H, Nakagata T, Tanisawa K, Konishi K, Miyachi M. [Investigation of the reproducibility and validity of a questionnaire on usual bowel movement patterns and stool characteristics compared to an evacuation diary]. Nihon Koshu Eisei Zasshi. 2021 Feb 26;68(2):92-104. doi: 10.11236/jph.20-037. Epub 2020 Dec 26. PMID: 33390507.
* Sprague SM, Ketteler M. A safety evaluation of sucroferric oxyhydroxide for the treatment of hyperphosphatemia. Expert Opin Drug Saf. 2021 Dec;20(12):1463-1472. doi: 10.1080/14740338.2021.1978973. Epub 2021 Oct 22. PMID: 34511018.
* Wang M, Cha R, Hao W, Du R, Zhang P, Hu Y, Jiang X. Nanocrystalline Cellulose Cures Constipation via Gut Microbiota Metabolism. ACS Nano. 2022 Oct 25;16(10):16481-16496. doi: 10.1021/acsnano.2c05809. Epub 2022 Sep 21. PMID: 36129390.
* Zhu S, Yan M, Feng Y, Yin J, Jiang S, Guan Y, Gao B. Extraction of Soluble Dietary Fiber from Sunflower Receptacles (Helianthus annuus L.) and Its Alleviating Effect on Constipation in Mice. Nutrients. 2024 Oct 26;16(21). doi: 10.3390/nu16213650. Epub 2024 Oct 26. PMID: 39519483; PMCID: PMC11547490.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.