The short answer
H. pylori is a common bacterium that can live in the stomach. Long-term infection can cause inflammation that may lead to certain stomach cancers and ulcers. It can be found with a test and treated with antibiotics, which can lower cancer risk in some people.
H. pylori is a common bacterium that lives in the stomach lining.
Long-term infection can cause inflammation that may lead to certain stomach cancers.
Most people with H. pylori never develop cancer.
The infection can be found with a test and treated with antibiotics.
Watch: The stomach bacterium linked to cancer
54 sec · Captioned · H. pylori is a stomach cancer risk you can test for and treat with antibiotics.
Also on YouTube.
Educational only — this video explains general report language and is not medical advice. Only your care team can say what a result means for you.
Open this video's own page →Choose how you want to read this
The whole article, with every detail and caution.
This page is for anyone who has heard that a common stomach germ, H. pylori, is linked to cancer. It explains what the germ is, which cancers it is tied to, and who gets tested.
The simple version
H. pylori is a bacterium that can live in the stomach. It is very common. NCI says about two-thirds of people worldwide carry it, often without knowing.
Most people with H. pylori never develop cancer. But long-term infection can cause inflammation that, over many years, may lead to certain stomach cancers.
The helpful news: H. pylori can be found with a test and treated with antibiotics.
What is H. pylori?
H. pylori is a spiral-shaped bacterium. It lives in the mucus layer that coats the inside of the stomach.
NCI says H. pylori neutralizes the acid around it and burrows into the stomach lining. This lets it live there, sometimes for many years.
People often first pick up H. pylori during childhood. NCI says it spreads from person to person through oral contact with stool, saliva, or vomit.
How it can lead to cancer
Having H. pylori does not make you sick right away. But over time, the infection causes ongoing inflammation in the stomach lining.
Long-term inflammation can slowly damage the cells there. In some people, this damage leads to changes that may become cancer.
NCI describes long-term H. pylori infection as a risk factor for stomach cancer. Still, it is important to remember that most people with H. pylori never get stomach cancer.
Which cancers are linked to it?
H. pylori is linked to two types of stomach cancer.
- Gastric adenocarcinoma: This is the most common type of stomach cancer. Long-term H. pylori infection raises the risk of this cancer.
- Gastric MALT lymphoma: This is a rare cancer of the stomach lining. Nearly all people with it show signs of H. pylori infection. Treating the infection with antibiotics usually makes these tumors shrink.
H. pylori can also cause stomach ulcers, which are painful sores in the stomach lining.
What raises the risk?
Not everyone with H. pylori faces the same risk. Several things can affect it.
Factors that may increase risk include:
- Certain strains of the bacterium that make a specific toxin
- Smoking, which raises stomach cancer risk in infected people
- A diet high in salt and processed meats
A family history of stomach cancer also matters. These factors help explain why some people with H. pylori develop problems and most do not.
Testing and treatment
H. pylori can be found with a test. Ask your provider which test fits your situation.
Not everyone needs testing. NCI says most experts agree the evidence does not support widespread testing. The CDC recommends testing people who have:
- An active stomach or upper intestinal ulcer
- A history of ulcers
If you are found to have H. pylori, it can be treated. Treatment uses antibiotics. In one large trial, NCI reports, treatment cut stomach cancer cases by nearly 50% over 22 years. Ask your provider what applies to you.
What this means for you
If you have ongoing stomach symptoms, such as pain, see a doctor. If you have black stools, vomit blood, or have severe stomach pain, get care right away or call 911.
Your healthcare team can tell you whether testing makes sense for you, what any results mean, and whether treatment is right for your situation.
Why not test everyone?
You might wonder why doctors do not simply test every person for H. pylori. There are good reasons for a careful approach.
- The infection is very common, and most people with it never get cancer.
- Treating everyone would mean many people taking antibiotics who may not benefit.
- NCI says unnecessary treatment may be adding to H. pylori resistance to several antibiotics in the United States.
For these reasons, experts focus testing on people who are more likely to benefit, such as those with ulcers. This targeted approach balances the benefits and risks of testing and treatment.
A calm way to think about it
Learning that a common bacterium is linked to cancer can be worrying. But context helps.
Keep in mind that:
- Most people with H. pylori never develop stomach cancer.
- A test can find the infection.
- Antibiotics can treat it.
If you have stomach symptoms, or a family history of stomach cancer, it is reasonable to bring this up with your provider. They can decide whether testing fits your situation, guide any treatment, and help you understand what your results mean for your health.

Common questions
What is H. pylori?
H. pylori is a spiral-shaped bacterium that can live in the mucus layer of the stomach. It is very common worldwide and is often first picked up in childhood. Many people have it without knowing.
How does H. pylori raise cancer risk?
Long-term infection causes ongoing inflammation in the stomach lining. Over many years, this can lead to certain stomach cancers in some people.
Which cancers are linked to H. pylori?
H. pylori is linked to a common type of stomach cancer called gastric adenocarcinoma and to a rare stomach lymphoma called gastric MALT lymphoma. It can also cause stomach ulcers.
Should everyone be tested for H. pylori?
No. Most experts do not recommend testing everyone. The CDC recommends testing people with ulcers or a history of ulcers. Your provider can advise you.
How is H. pylori treated?
It is treated with antibiotics. Treatment can clear the infection and, in some people, lower the risk of stomach cancer.
Does having H. pylori mean I will get cancer?
No. Most people with H. pylori never develop cancer. Other factors, such as the strain of bacteria, smoking, and diet, can affect the risk.
Questions to ask your doctor
Being prepared helps you get the most out of your appointments. Save or print these questions.
Tap a question to save it to your list (kept on this device).
Talk with a trained specialist or navigator
Cancer Explained provides educational guidance, but does not replace trained specialists, social workers, or your medical team.
Talk to a trained cancer information specialist
Free, confidential assistance from NCI Cancer Information Service via phone, chat, or email.
Contact your oncology team
Locate after-hours contact numbers, portal messages, or urgent triage phone lines.
Find a patient navigator
Get one-on-one help with appointments, logistics, translation, and care coordination.
Find a genetic counselor
Discuss inherited mutation risk, family history, and genetic testing options.
Find an oncology social worker
Access emotional counseling, family support groups, and mental health resources.
Find a financial navigator
Locate copay assistance foundations, grant programs, and lodging/travel support.
Find a clinical-trial specialist
Search matching studies and speak with NCI trial information specialists.
Get urgent help
Fever of 100.4°F (38°C) or higher during chemo, severe pain, or trouble breathing: call your cancer care team right away, day or night. Call 911 for an emergency.
Know someone who needs this?
Plenty of people are looking for something like this and do not know where to start. If this would help a friend or someone you love, send it on — we have written an opening line so you do not have to stare at an empty message. You can change every word of it.
Your message is written and sent in your own email or messaging app — we never see who you send it to, and nothing is added to any list.
Plain-language explanation of the published sources cited on this page. AI-assisted, source-checked, not clinician-reviewed.
Last updated: 2026-07-04Next planned review: 2027-07-04
Review details and limits
Cancer Explained does not originate medical claims. Every page restates guidance already published by the National Cancer Institute, the CDC, the USPSTF and the FDA, in plain language, with the source cited so you can check the original yourself. AI does the translating and organizing; automated checks test claims, citations, clarity and safety before anything publishes, and this is translation and navigation, not clinical judgment. Nothing here is personal medical advice, and no page can account for your particular situation.
Editorial status — Source checked. This page was written with AI assistance and then compared with the sources listed on it, looking for statements those sources do not back up. That check is not a sentence-by-sentence record and can miss errors. It is not a medical review, and it does not confirm the page is complete or right for your situation.
General education — varies by person. Answers genuinely differ between people. This page explains what commonly varies and points you to your care team for your situation.
Human medical review: not completed. Pages here are not signed off by a clinician before they publish. That is not an oversight we are quietly working around: we restate published guidance and cite it, so the authority belongs to the source rather than to us, and every page names where its claims come from — you can verify us instead of trusting us. Where a volunteer clinician has reviewed a page, their name and credentials appear on it; where no name appears, no clinician has checked it. We are glad to have reviewers and are recruiting them, and we do not hold pages back waiting for one. Use this site to understand your situation and to ask better questions of the people treating you.
Words to know
Tap any term to see what it means.
Knowledge check
0 of 4 answered
This self-assessment checks understanding of educational content only. It is not medical advice.
How this page was created
Cancer Explained does not originate medical claims. Every page restates guidance already published by the National Cancer Institute, the CDC, the USPSTF and the FDA, in plain language, with the source cited so you can check the original yourself. AI does the translating and organizing; automated checks test claims, citations, clarity and safety before anything publishes, and this is translation and navigation, not clinical judgment. Nothing here is personal medical advice, and no page can account for your particular situation.
Editorial status: Source checked — This page was written with AI assistance and then compared with the sources listed on it, looking for statements those sources do not back up. That check is not a sentence-by-sentence record and can miss errors. It is not a medical review, and it does not confirm the page is complete or right for your situation.
Human medical review: not completed. Pages here are not signed off by a clinician before they publish. That is not an oversight we are quietly working around: we restate published guidance and cite it, so the authority belongs to the source rather than to us, and every page names where its claims come from — you can verify us instead of trusting us. Where a volunteer clinician has reviewed a page, their name and credentials appear on it; where no name appears, no clinician has checked it. We are glad to have reviewers and are recruiting them, and we do not hold pages back waiting for one. Use this site to understand your situation and to ask better questions of the people treating you.
Read more about our editorial process, our use of AI, and our corrections policy.
Spotted a problem? Report an error — a factual mistake, broken or outdated source, confusing wording, or anything that seems unsafe. Please do not include names, medical record numbers, dates of birth, addresses, or other identifying medical information in your report.
After using this page, do you understand what to do next?
Anonymous — we only record the answer, never who gave it.
