Tests for H. pylori


Helicobacter pylori () is the bacterium (germ) responsible for most ulcers and many cases of stomach inflammation (chronic gastritis).

Alternative Names

Peptic ulcer disease - ; PUD -

How the test is performed

There are several different methods to test for infection.

Breath test (called the carbon isotope-urea breath test or UBT):

  • Up to 2 weeks before the test, the patient must stop taking any antibiotics, bismuth-containing medications such as Pepto-Bismol, and proton pump inhibitors (PPIs).
  • The patient swallows a special substance containing urea (a waste product the body produces as it breaks down protein) that has been made harmlessly radioactive.
  • If are present, the bacteria convert the urea into carbon dioxide, which is detected and recorded in the patient's exhaled breath after 10 minutes.
  • This test can identify almost all people who have and confirm that the infection has been fully treated.

Blood tests:

  • Blood tests are used to measure antibodies to , and the results are reported in minutes.
  • This test is not quite as accurate as the other tests.
  • These blood tests can be used to diagnose whether an infection is present. However, the test cannot determine whether you have an infection at the time of the test or how long you have had it because the test remains positive for years even if the infection is cured. As a result, it cannot be used to see if the infection has been eradicated.

Stool test:

  • A test to detect the genetic traces of in the feces appears to be as accurate as the breath test for initially detecting the bacteria, and for detecting recurrences after antibiotic therapy.
  • This test can also be used to diagnose the infection and confirm that the infection has been eradicated.


  • The most accurate way to identify the presence of is by taking a tissue biopsy from the lining of the stomach. The only way to do this is with endoscopy, which is an invasive but safe procedure.
  • A biopsy will be done if endoscopy was needed for other reasons. This includes diagnosing the ulcer, treating any bleeding, or making sure cancer is not present. Otherwise, many patients are treated for based on one of the three noninvasive tests listed above.

Why the test is performed

Testing is most often done to diagnose infection:

  • If you have a peptic ulcer currently
  • If you had a peptic ulcer in the past and were never tested for
  • After treatment for infection, to make sure the infection is fully treated and that the bacteria has gone away

Testing may also be done if you need to take long-term ibuprofen or other NSAIDs drugs. Ask your doctor.

Testing may also be done on some people with dyspepsia.

  • Dyspepsia, or indigestion, is a feeling of fullness or of heat, burning, or pain in the area between the navel and the lower part of the breastbone during or after eating.
  • Testing for is most often done only when the indigestion is new, the person is younger than 55, and no other worrisome symptoms are present.

Normal Values

Normal results mean there is no sign that you have an infection.

What abnormal results mean

Abnormal results mean that there is an infection of the stomach by .

• Patients who have and also have an ulcer are most likely to benefit from being treated.

• Patients who only have indigestion, heartburn, or acid reflux and are less likely to benefit from treatment. The treatment does not work in all patients.

• Patients who are taking long-term NSAID drugs may be treated for , in order to prevent ulcers.


McColl KEL. Helicobacter pylori infection. . 2010;362(17):1597-1604.

Spee LA. Association between Helicobacter pylori and gastrointestinal symptoms in children. . 2010;125(3):e651-e669.


    Encyclopedia content is provided as information only and not intended to replace the advice and instruction from your personal physician.