menu iconknow your dna logosearch icon
Heliobacter Pylori (H. Pylori) Test
Updated on March 23, 2023
Back to top
back to top icon
At Home Health
Heliobacter Pylori (H. Pylori) Test

An H. pylori test checks for the presence of Helicobacter pylori in your digestive tract. Doctors also use the test to confirm if you have an H. pylori infection.

Helicobacter pylori (H. pylori) is a bacteria that lives in your digestive system. 

It damages the tissues lining your upper digestive tract, causing irritation and painful sores to develop on your esophagus, stomach, and small intestine.

H. pylori testing can tell your doctor if your symptoms are caused by the bacteria. Early diagnosis helps you get proper treatment.

Heliobacter Pylori (H. Pylori) Test 2

Quick Facts on H. Pylori Testing

  • H. pylori is a bacteria that can infect your stomach lining
  • Infections can lead to peptic ulcers and inflammation
  • Testing for H. Pylori can  diagnose the infection
  • An H. Pylori diagnostic test needs a sample of your stool, breath, or blood
  • To prepare for the test, you may need to avoid certain medications 

When Should You Take An H. Pylori Test?

H. Pylori infections are common. It is estimated that half of the world’s population is infected with the bacteria. Not everyone who is infected with H. pylori will develop symptoms.

Left untreated, H. pylori can increase your risk for:

  • Ulcers (peptic ulcer disease)
  • Chronic stomach inflammation (gastritis)
  • Gastric cancer or stomach cancer

Your doctor will likely order the test if you have signs of an H. pylori infection—so you can be treated right away.

You may also be asked to retake an H. pylori test four to six weeks after you finish treatment. It helps your doctor confirm if the prescribed medications worked.

Signs of H. Pylori Infection

H. pylori causes your stomach to produce less mucus. This makes your stomach more sensitive to its own digestive acids. As a result, you’re more likely to suffer from peptic ulcers.

Signs and symptoms of an H. pylori infection include:

  • Persistent abdominal pain
  • Unexplained weight loss
  • Indigestion
  • Bloating
  • Nausea
  • Excessive burping
  • Loss of appetite
  • Gastrointestinal bleeding

“If you have a peptic ulcer, you may experience burning or sharp pain in the abdomen during or after eating,” says Dr. Rizza Mira, our in-house medical expert at KnowYourDNA.

Know Your DNA Reviews

Best DNA Kit

Don't miss out on the opportunity to learn more about yourself. Read our best DNA test page to find the best one for you.

How Do You Test for H. Pylori?

Diagnostic tests may be done using a stool sample, a breath test, and a blood test:

1. Urea Breath Test

“The H. pylori breath test can check for the presence of the bacteria in the stomach or detect an active infection,” says Dr. Mira.

A healthcare professional will make you breathe into a bag to collect two breath samples. These initial samples will serve as their baseline. 

Next, you have to swallow a specially marked liquid or pill containing a harmless substance called urea. After 15 minutes, they will collect another sample.

H. pylori breaks down urea into carbon dioxide gas. The gas leaves your body when you exhale air from your lungs.

At the laboratory, they will analyze your second breath sample. Higher levels of marked carbon dioxide gas indicate a Helicobacter pylori infection in your gut. 

Preparing for an H. Pylori Breath Test

Remember to inform your doctor about the medications you’re taking. You may be asked to avoid the following two to four weeks before the H. pylori breath test:

  • Antibiotics or oral bismuth subsalicylate
  • Prescription or over-the-counter proton pump inhibitors (PPIs), such as omeprazole, lansoprazole, or esomeprazole

An hour before the breath test, you must avoid eating or drinking anything—including water—for accurate test results.

2. Stool Antigen Test

Antigen tests look for proteins that trigger an immune response.

An H. pylori antigen test checks for antigens or proteins linked to the bacteria. A positive result suggests an active Helicobacter pylori infection.

It requires that you collect a small stool sample at home. The stool should be placed in a clean and dry plastic container with a screw-cap lid. 

You can wear protective gloves to avoid contamination while collecting the sample. Make sure to thoroughly wash your hands after.

Bring the sample to the lab immediately for accurate results.

Preparing for an H. Pylori Antigen Test

Your doctor may ask you to avoid these medications for up to fourteen days before the test:

  • Antibiotics
  • Antacids
  • Bismuth treatments
  • Peptic ulcer medicines (e.g., PPIs and histamine receptor (H2) blockers)

3. Blood Test

Blood tests check for the presence of antibodies or infection-fighting cells in your blood. It can help your doctor find out if you have an active infection.

However, Dr. Mira warns that blood testing isn’t as accurate for H. pylori testing.

“Blood tests can’t tell whether your H. pylori infection is still active. Your results may remain positive for years after you’ve been cured,” she explains.

A healthcare professional will draw a blood sample from your arm with a needle. Your blood sample is collected into a vial or test tube. 

Summary

Doctors can confirm an H. pylori infection with blood testing, a urea breath test, and a stool antigen test. A positive test result usually indicates an ongoing infection.

How to Interpret Your H. Pylori Test Results

If you test positive for H. pylori, it means that your symptoms may be caused by a Helicobacter pylori infection.

A negative test result suggests you’re not infected with H. pylori. Your symptoms may be caused by a different condition. 

If your symptoms persist, you may have to undergo other tests like an endoscopy. This will help your doctor rule out what’s causing them.

H. Pylori Test FAQs

Here are common questions on H. Pylori testing:

How do I get infected with H. pylori?

Healthcare experts believe that you can get infected with H. pylori if you eat food or drink water that contains contaminated human stool. 

It is also transmitted directly via contact with infected human stool, vomit, or saliva. For example, you can catch it when you’re exposed to family members with H. pylori.

Does an H. pylori infection always lead to an ulcer?

It’s unclear why some people with H. pylori infections get peptic ulcers while others don’t.

But H. pylori doesn’t always lead to ulcers. Many people show signs of infection but have no symptoms of ulcerative diseases. 

How do you treat H. pylori?

Treating an H. pylori infection includes taking antibiotics and medications that lower the production of stomach acid in your GI tract.

Treatment usually lasts for several weeks. Examples of medications that treat high stomach acidity include PPI, H2 blockers, and bismuth preparation.

Should I get tested for H. pylori?

H. pylori is a common infection, but not everyone gets ulcers from it. Testing is suggested only for those who show signs and symptoms.

Can you take an H. pylori test at home?

Yes. At-home breath tests and stool tests can also test for H. pylori infections. Doctors may hand out breath or stool test kits so you can take them home.  

The general guidelines for taking an at-home breath or stool test are as follows:

● Follow the instructions on the package and labels of your testing kit
● If you need extra help, talk to your doctor about how to take the tests
● Collect your samples in a dry and sterile container to avoid contamination
● Bring your samples to the clinic or lab right away to process the result

Know Your DNA Reviews

Best Microbiome Test

Looking for the best microbiome kit on the market? Look no further! Our review round-up page has all the information you need to make an informed decision.

Updated on March 23, 2023
Minus IconPlus Icon
6 sources cited
Updated on March 23, 2023
  1. Helicobacter Pylori.” John Hopkins Medicine.
  2. H. Pylori (Helicobacter Pylori) Breath Test / Urea Breath Test.” Cleveland Clinic.
  3. Pathogenesis of Helicobacter pylori Infection.” American Society for Microbiology.
  4. Stomach ulcer.” NHS.
  5. H. pylori, a true stomach “bug”: Who should doctors test and treat?” Harvard Health Publishing.
  6. Helicobacter pylori (H. pylori) infection.” Mayo Clinic.
Dr. Rizza Mira
Dr. Rizza Mira
Medical Reviewer
Dr. Rizza Mira is a medical doctor and a general practitioner who specializes in pediatrics, nutrition, dietetics, and public health.

As a pediatrician, she is dedicated to the general health and well-being of children and expecting parents. She believes that good nutrition, a healthy lifestyle, and prevention of illness are key to ensuring the health of children and their families.

When she’s not in the hospital, Rizza advocates and mobilizes causes like breastfeeding, vaccination drives, and initiatives to prevent illness in the community.
Cristine Santander
Cristine Santander
Content Contributor
Cristine Santander is a content writer for KnowYourDNA. She has a B.S. in Psychology and enjoys writing about health and wellness.
Back to top icon