Can an H. pylori ulcer bleed?
Written by the HpyloriTest.com editorial team. Updated on .
Key facts
What are the signs of a bleeding ulcer?
- black or tarry stools, or red or maroon blood in your stool
- red blood in your vomit, or vomit that looks like coffee grounds
- sudden, sharp belly pain that doesn't go away
- feeling dizzy or faint
Source: NIDDK. If you have any of these, call 911. Don't test at home first.
Why does finding H. pylori matter?
An ulcer can come back if its cause stays. H. pylori and NSAID painkillers are the two most common causes (NIDDK). US guidelines say everyone who has, or has had, a peptic ulcer should be tested for H. pylori (ACG).
When is a home test useful?
After the emergency has been dealt with, or if you had an ulcer in the past and were never tested. A stool antigen test shows whether you have H. pylori now.
Before you test
Ask your doctor before stopping a PPI such as Prilosec or Nexium. If they agree, stop it 2 weeks before you test. Test at least 4 weeks after your last dose of antibiotics or bismuth (Pepto-Bismol) (ACG), and never cut a course of antibiotics short.
What your result means
- C and T lines: H. pylori detected. Take your result to your doctor to talk about treatment.
- C line only: not detected.
- No C line: the test didn't work. Use a new test.
Frequently asked questions
My stools went black on Pepto-Bismol. Is that bleeding?
Bismuth can turn stools black for a few days, and that's harmless (Pylera label). If you're not taking bismuth, or you feel faint, treat black stools as an emergency.

Test at home today
One stool antigen test with everything you need. Your result in 10 minutes, delivered to your door in the US.
Sources
- National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK). Symptoms and causes of peptic ulcers. Last reviewed September 2022. www.niddk.nih.gov/health-information/digestive-diseases/peptic-ulcers-stomach-ulcers/symptoms-causes
- NIDDK. Symptoms and causes of gastritis and gastropathy. Last reviewed August 2019. www.niddk.nih.gov/health-information/digestive-diseases/gastritis-gastropathy/symptoms-causes
- MedlinePlus Medical Encyclopedia. Gastrointestinal bleeding. Reviewed January 24, 2025. medlineplus.gov/ency/article/003133.htm
- Chey WD, et al. ACG Clinical Guideline: Treatment of Helicobacter pylori Infection. Am J Gastroenterol. 2024. Guideline highlights, American College of Gastroenterology. mediacdn.gi.org/giorgcdn/wp-content/uploads/2025/01/ACG-Hpylori-Guidelines-Highlights-2024-FINAL.pdf.pdf
- DailyMed, US National Library of Medicine. Pylera (bismuth subcitrate potassium, metronidazole, tetracycline hydrochloride) capsules: prescribing information. dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=a762e164-b390-4e8c-bd46-bf6c31eeb486
First published November 2026.