Skip to content

Infections test

H. pylori test

H. pylori tests detect Helicobacter pylori bacteria that infect the stomach and small intestine lining.

  • Sample: Stool
  • Result: 1 day
  • No fasting needed
  • Also called H. Pylori
  • Also called H Pylori
  • Also called H. Pylori Antigen

About this test

What it is used for

  • Find if H. pylori infection causes digestive symptoms
  • Check if treatment cured H. pylori infection

Why you might need it

  • Symptoms of gastritis or ulcer like upper belly pain
  • Bloating or feeling full quickly
  • Nausea, vomiting, burping
  • Loss of appetite or weight loss
  • Signs of stomach bleeding or severe belly pain
  • To confirm if treatment worked after H. pylori infection

How to prepare

  • Stop certain medicines 2 weeks to 1 month before test
  • Fast for several hours before endoscopy
  • Arrange for someone to take you home after endoscopy

How it is done

  • Breath test with urea pill and breath samples
  • Stool sample tested for H. pylori antigens or DNA
  • Endoscopy with tissue biopsy if needed

What the results can mean

  • Negative result means no H. pylori infection
  • Positive result means H. pylori infection present
  • Positive results usually treated with antibiotics
  • Repeat tests may be done after treatment
  • Abnormal results indicate infection or treatment failure
  • Your doctor will explain your results.

Risks

  • No known risks for breath or stool tests
  • Endoscopy may cause discomfort or rare intestinal tear
  • Small risk of bleeding from biopsy site

Written in simple words from MedlinePlus (US National Library of Medicine) · 19 October 2026

Questions people ask

Do I need to fast before a H. pylori test test?

Usually not for this test on its own. If other tests are done at the same time, you may need to fast for those, so ask the lab.

How long does the H. pylori test result take?

Usually 1 day, depending on the lab.

Is a result outside the normal range dangerous?

Not always. Normal ranges differ between labs and depend on age, sex and health. Ask the doctor who ordered the test what your result means for you.

Book it, and keep it, in the Medira app

Book visits, video calls and lab tests, get a reminder for every dose and keep the whole family's records together. Free to download.

  • Clinic visits & video calls
  • Medicine reminders
  • Family's records

Get the Medira app

    Get it on Google Play

    Free to download. Android phones.