Section Editor: Rodney E. Rohde PhD
June 4, 2026
Helicobacter pylori, usually shortened to H. pylori, is a bacterium that infects the lining of the stomach. A bacterium is a microorganism, a living thing too small to see without a microscope. H. pylori is very common, and many people who carry it have no symptoms. In others, it can cause inflammation of the stomach lining, ulcers in the stomach or upper intestine, and, over time, increase the risk of certain stomach cancers.
This article explains the different tests used to check for H. pylori, what the wording on your report means, and an important difference among the tests, which is whether they show a current infection or only that you were infected at some point, so you can better understand a report you have received.
H. pylori lives in the lining of the stomach. Inflammation of that lining is called gastritis; when it is caused by this bacterium, it may be reported as Helicobacter gastritis. Open sores in the lining of the stomach or the upper intestine are called peptic ulcers, and H. pylori is a common cause of both. Over many years, a long-standing infection also raises the risk of certain stomach cancers, including adenocarcinoma. Finding and treating H. pylori can heal ulcers, ease symptoms, and lower these risks, which is why testing is done when an infection is suspected.
Most H. pylori tests are designed to show whether you have an infection right now. These are the tests used both to diagnose an active infection and to confirm that treatment has worked.
The blood test, also called serology, looks for antibodies your immune system makes against H. pylori. Antibodies, and the difference between this kind of test and tests that detect the germ itself, are explained in the article on PCR, antigen, and antibody tests. A positive antibody test means you have been infected at some point, but it has an important limitation: antibodies can remain in the blood for a long time after the infection is gone, so this test cannot tell a current infection from a past one. For the same reason, it is not used to confirm that treatment has worked. Its one advantage is that, unlike the active-infection tests, it is not affected by the medications described in the next section.
Several common medications can cause active-infection tests (breath, stool, and biopsy tests) to come back falsely negative by lowering H. pylori levels below the test’s detection limit. These include acid-reducing medicines called proton pump inhibitors, antibiotics, and bismuth, which is found in some stomach remedies. For this reason, your doctor may ask you to stop these for a period before testing, often about two weeks for acid-reducing medicines and about four weeks for antibiotics or bismuth. The blood antibody test is not affected in this way.
The meaning of your result depends mainly on whether the test shows a current infection or past exposure.
An H. pylori test describes what was found, and it informs the decisions you and your healthcare team make together rather than dictating them on its own.
A current infection is usually treated with a combination of antibiotics together with a medicine that reduces stomach acid, taken for a set number of days. Because H. pylori is increasingly resistant to some antibiotics, your doctor may use susceptibility testing, which checks which antibiotics will work, as explained in the article on culture and sensitivity testing, to guide treatment, especially if a first round does not clear the infection. After treatment, a test is usually done to confirm the infection is gone, using an active-infection test such as a breath or stool test rather than a blood antibody test, generally at least 4 weeks after finishing antibiotics and after stopping acid-reducing medicines. If a biopsy was taken, what it shows about the stomach lining may guide further follow-up.