Can H. pylori cause stomach cancer?
Medically reviewed by Dr Leon Fisherman, Gastroenterologist & Interventional Endoscopist, on .
Written by the
HpyloriTest.com editorial team. Updated on .
Key facts
- Yes. Long-term H. pylori infection raises the risk of a type of stomach cancer (MedlinePlus).
- Treating H. pylori can lower that risk.
- A test tells you whether you have H. pylori, and you can do it at home.
How does H. pylori raise the risk?
In most people, long-term H. pylori infection causes lasting inflammation of the stomach lining, and that raises the risk of cancer in the main part of the stomach (National Cancer Institute).
Does treating H. pylori lower the risk?
It can. In a large trial in China, treating H. pylori cut new stomach cancers by nearly half over 22 years (National Cancer Institute).
What are the symptoms of stomach cancer?
Early symptoms can include indigestion and stomach discomfort, a bloated feeling after eating, mild nausea, loss of appetite and heartburn. These can be caused by many conditions other than stomach cancer (National Cancer Institute).
Who should test for H. pylori?
Testing is recommended for people with an ulcer or a history of ulcers (National Cancer Institute). US guidelines also list a family history of stomach cancer as a reason to test (ACG).
How to check for H. pylori at home
- Catch a stool sample and dip the end of the sampling stick into it.
- Put the stick back in the tube, then stir and turn it for about 10 seconds.
- Squeeze 2 drops into the round sample hole on the test.
- Lay the test flat and read it at 10 minutes.
Our step-by-step instructions and video walk you through each stage.
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.
When to see a doctor instead
See a doctor right away, instead of testing at home, if you have:
- trouble swallowing
- weight loss you can't explain
- vomiting that keeps coming back
If you're vomiting blood or passing black, tarry stools, call 911.
Frequently asked questions
Can a home test check for stomach cancer?
No. It checks for H. pylori only. Stomach cancer is diagnosed by a doctor.

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
- MedlinePlus, US National Library of Medicine. Helicobacter pylori infections. Last updated August 24, 2025. medlineplus.gov/helicobacterpyloriinfections.html
- National Cancer Institute. Helicobacter pylori (H. pylori) and cancer. Reviewed April 12, 2023. www.cancer.gov/about-cancer/causes-prevention/risk/infectious-agents/h-pylori-fact-sheet
- National Cancer Institute. Stomach cancer symptoms. Updated October 30, 2024. www.cancer.gov/types/stomach/symptoms
- 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
- NIDDK. Symptoms and causes of indigestion. Last reviewed March 2025. www.niddk.nih.gov/health-information/digestive-diseases/indigestion-dyspepsia/symptoms-causes
- MedlinePlus Medical Encyclopedia. Gastrointestinal bleeding. Reviewed January 24, 2025. medlineplus.gov/ency/article/003133.htm
First published November 2026.