In short
Most people carrying H. pylori never know. Who genuinely needs testing, why the blood antibody test is the weakest one, how acid medicines make a test read falsely negative, and what the check after treatment is for.
Emergency if: Go to emergency care immediately for red blood in your vomit or vomit that looks like coffee grounds; for black or tarry stool, or red or maroon blood mixed with stool; for sudden, sharp or severe abdominal pain that does not go away, which can mean an ulcer has perforated; and for dizziness, fainting, a racing pulse, cold clammy skin or breathlessness, which are signs of significant blood loss. Do not wait for an appointment and do not drive yourself.
On your report
Hemoglobin, Ferritin, Vitamin B12, CRP
On this page
01
What is H. pylori, and why do most people who carry it never know?
H. pylori is a bacterium that lives in the lining of the stomach, and carrying it is ordinary rather than unusual. StatPearls estimates that approximately 50% to 60% of the global population is infected, with higher prevalence in resource-limited regions; MedlinePlus gives a lower figure of about 30 to 40% of people in the United States, which is a fair illustration of how much the number varies by place and by how it is measured. Many infected individuals remain without any symptoms at all.
The reason it matters is what happens in the minority. MedlinePlus calls H. pylori the main cause of peptic ulcers and notes that it can also cause gastritis and stomach cancer, and NIDDK lists H. pylori infection and NSAID painkillers as the two most common causes of peptic ulcers. So the bacterium is common and the serious outcomes are not, which is exactly the combination that makes deciding who to test more useful than deciding how to treat.
It spreads within households rather than through casual contact with strangers. StatPearls describes transmission as primarily person to person, more likely among individuals living in the same household or sharing a common environment, with faecal-oral spread considered the most likely route, particularly where sanitation is poor. NIDDK adds that the bacteria may spread through contact with an infected person's vomit, stool or saliva, or through food or water contaminated with them. Most infections are picked up in childhood.
02
Who should actually be tested, and who should not?
Testing is for people with a reason, not for everyone with an uneasy stomach. The clearest indication is a peptic ulcer: the National Cancer Institute, citing CDC, says people with an active gastric or duodenal ulcer or a documented history of ulcers should be tested and, if infected, treated, and that testing and treatment are also recommended after surgery for early gastric cancer or low-grade gastric MALT lymphoma. StatPearls adds refractory iron-deficiency anaemia with no other cause found, selected patients with chronic immune thrombocytopenia, and children who have a first-degree relative with gastric cancer. Alarm features such as weight loss, persistent vomiting or difficulty swallowing are a reason for specialist referral and endoscopy, which answers the question in passing. Visible bleeding is not a referral at all: vomiting blood or passing black tarry stool means emergency care now, and the H. pylori question waits until after that.
Whether everybody else should be tested is genuinely contested, and it is worth knowing that the disagreement exists. The National Cancer Institute states that most experts agree the available evidence does not support widespread testing for and eradication of H. pylori infection, while several gastroenterology bodies run wider test-and-treat policies in regions where stomach cancer is common. Both positions are held by serious people. What neither supports is a stool or breath test ordered on a whim for mild heartburn.
If your main complaint is burning behind the breastbone, regurgitation and a sour taste, the question in front of you may not be H. pylori at all. Our separate guides on reflux and on home measures for acidity cover that ground. Testing anyway does no physical harm, but a positive result in someone with no ulcer and no alarm features commits you to a course of several antibiotics, and that decision deserves a conversation rather than a reflex.
03
Which test should I ask for?
Ask for a urea breath test or a stool antigen test. StatPearls describes both as having high sensitivity and specificity, similar to those of invasive methods, and both detect infection that is present now rather than infection that was present at some point in the past. The breath test works by having you swallow labelled urea, which the bacteria break down into carbon dioxide that is then measured in your breath. The stool test looks for antigen, a piece of the organism itself.
The blood antibody test is the weakest of the common options, and it is the one most often done. StatPearls says serology has limited clinical utility due to poor sensitivity and an inability to distinguish active from prior infection, and that it is not recommended for routine clinical use. Antibodies can persist long after the bacteria are gone, so a positive blood test in someone treated years ago tells you about history rather than about today. It is not a test to use for deciding on treatment or for checking whether treatment worked.
Endoscopy is the other route, and it answers more than one question at once. NIDDK notes that an upper GI endoscopy is ordered to confirm the diagnosis of a peptic ulcer and to try to find its cause, with tissue samples taken and examined by a pathologist. Biopsy allows rapid urease testing, histology, and culture, which StatPearls describes as highly specific, approaching 100%, though with lower sensitivity. If you need an endoscopy for another reason, the H. pylori question gets answered in the same sitting.
04
Why do acid medicines make the test read negative?
Because the breath and stool tests detect an active, working organism, and a proton pump inhibitor suppresses it without clearing it. The bacteria fall in number and their urease activity drops, so there may be too little left for the test to detect even though the infection is still there. Antibiotics taken for anything at all, a chest infection or a dental problem, do the same. The result is a false negative: a clean report in a person who is still infected.
The interval is specific and worth writing down. StatPearls states that testing should be performed at least two weeks after stopping proton pump inhibitors and at least four weeks after completing antibiotic therapy, in order to avoid false-negative results. If you have been taking pantoprazole, omeprazole, rabeprazole or a similar medicine, tell the person ordering the test before the sample is taken, not afterwards. The same interval applies to the confirmation test done after treatment.
Do not stop an acid-suppressing medicine on your own to make a test valid. Some people are on one because of a bleeding risk, a previous ulcer or long-term anti-inflammatory use, and stopping it without a plan is not a neutral act. Ask the doctor who ordered the test how to bridge the gap; there are usually alternatives that do not interfere in the same way. The point is to get one honest result, not a fast one.
05
What does treatment involve, and why does finishing it matter?
Treatment is a combination, not a single tablet. NIDDK describes it as a combination of medicines that most often includes two or more antibiotics, a proton pump inhibitor, and in some cases bismuth subsalicylate, all taken together for a set course at the doses your doctor sets. Taking several medicines several times a day is the hardest part for most people, and pharmacies will usually supply the whole course as a pack, which makes it easier to see what is left.
Stopping early is the specific mistake that costs the most. NIDDK is blunt about the mechanism: if you stop taking your medicine early, some bacteria may survive and persist in your stomach, and H. pylori bacteria may develop antibiotic resistance. That is not only a problem for you. StatPearls notes that rising antibiotic resistance has already forced a major shift away from empiric clarithromycin-based triple therapy, and that first-line treatment now varies according to regional resistance patterns.
This is why self-treatment on the basis of a leftover strip of antibiotics is worse than doing nothing. A partial course is enough to suppress the organism, enough to make a later test read negative, and enough to select for resistant bacteria, without being enough to clear the infection. Where clarithromycin resistance is high, StatPearls notes that vonoprazan-based regimens appear to hold their efficacy better than proton pump inhibitor-based counterparts. Which regimen suits you is a decision for a doctor who knows the local pattern.
06
The test after treatment: when to do it, and why it gets skipped
Treatment does not always work, and the only way to know is to test again. NIDDK says your health care professional may recommend testing you for H. pylori at least four weeks after you have finished taking the antibiotics, and that if you still have the infection your doctor may prescribe a different combination of antibiotics and other medicines. StatPearls names the urea breath test and the stool antigen test as the reliable non-invasive ways to confirm that the organism has gone.
The reason so many people skip it is simple: by then they feel fine. Symptoms settle during treatment whether or not the bacteria were cleared, partly because the acid-suppressing medicine in the regimen is doing its own work. Feeling better is not evidence of eradication, and an ulcer that recurs a year later in someone who was never rechecked is a common and entirely avoidable story. Book the confirmation test on the day you collect the medicines.
Two practical points decide whether the result means anything. The confirmation test must be a breath or stool test, never the blood antibody test, which may stay positive long after the infection has gone. And the same waiting rules apply: at least four weeks after the last antibiotic, and at least two weeks off any proton pump inhibitor. A test done too early is not a mildly imperfect test; it is one that will probably tell you the wrong thing.
07
What does this mean for my family and for stomach cancer risk?
The risk is real, and it is also smaller than the word cancer makes it sound. The International Agency for Research on Cancer, part of WHO, classified H. pylori as a human carcinogen in 1994. It is also tied to a specific stomach lymphoma: the National Cancer Institute states that nearly all patients with gastric MALT lymphoma show signs of H. pylori infection, and StatPearls reports the organism in more than 75% of cases. Yet the great majority of infected people never develop either cancer. That is a reason not to read a positive result as a sentence. It is not a reason to sit on weight you did not mean to lose, food sticking on the way down, vomiting that keeps happening, or any sign of bleeding, which need looking at on their own whatever your H. pylori result said.
There is evidence that treating the infection lowers that risk over a long horizon. The National Cancer Institute describes a randomised trial, run where rates of stomach cancer are very high, in which two weeks of antibiotic treatment to eradicate H. pylori significantly reduced the incidence of gastric cancer by nearly 50% over 22 years of follow-up. That is a result measured over decades in a high-risk population, not a promise about any one person, and it sits alongside the same agency's summary that most experts agree the available evidence does not support widespread testing and eradication.
For the household, the sensible position is neither panic nor indifference. Because the organism spreads within families, relatives of a person with H. pylori are more likely to carry it, and StatPearls specifically lists children with a first-degree relative who has had gastric cancer as candidates for testing. A first-degree relative with stomach cancer is the detail that should be mentioned at every consultation. Sharing meals and utensils with a treated household member is not the thing to worry about.
Stomach symptoms: when to book, when to be seen today, when to go now
Routine — see a doctor
Book an appointment for burning or gnawing upper abdominal pain that keeps coming back over weeks, for indigestion that needs acid medicine most days, for a peptic ulcer diagnosed in the past that was never confirmed as treated, and to ask whether you should be tested if a parent, brother or sister has had stomach cancer. Bring any old endoscopy or test reports, and say which acid medicines and antibiotics you have taken recently.
Same-day — call promptly
Ask for an urgent appointment, the same day if you can, for weight you have not tried to lose, for new difficulty or pain on swallowing, for persistent vomiting, for losing your appetite or feeling full after a very small amount of food, for a lump you can feel in the upper abdomen, and for new anaemia found on a blood test with no obvious cause. Also for upper abdominal pain that is getting worse, is not going away, or has started waking you at night, especially if you already take anti-inflammatory painkillers.
Emergency — act now
Go to emergency care immediately for red blood in your vomit or vomit that looks like coffee grounds; for black or tarry stool, or red or maroon blood mixed with stool; for sudden, sharp or severe abdominal pain that does not go away, which can mean an ulcer has perforated; and for dizziness, fainting, a racing pulse, cold clammy skin or breathlessness, which are signs of significant blood loss. Do not wait for an appointment and do not drive yourself.
Values mentioned in this story
Each one opens a visual guide with its normal range and what moves it — upload a report and we place your own numbers on the same scale.
Sources
- Helicobacter pylori Infection - StatPearlsncbi.nlm.nih.gov
- Peptic Ulcers (Stomach Ulcers) - Symptoms & Causes (NIDDK)niddk.nih.gov
- Peptic Ulcers (Stomach Ulcers) - Diagnosis (NIDDK)niddk.nih.gov
- Peptic Ulcers (Stomach Ulcers) - Treatment (NIDDK)niddk.nih.gov
- Helicobacter pylori and Cancer - National Cancer Institutecancer.gov
- Helicobacter Pylori Infections - MedlinePlusmedlineplus.gov
Share this story
Curious where your own values stand?
Two minutes from upload to a full visual picture. Free to analyze.