Tests and procedures used to determine whether you have an H. pylori infection include:
- Blood test. Analysis of a blood sample may reveal evidence of an active or previous H. pylori infection in your body. However, breath and stool tests are better at detecting active H. pylori infections than is a blood test.
Breath test. During a breath test, you swallow a pill, liquid or pudding that contains tagged carbon molecules. If you have an H. pylori infection, carbon is released when the solution is broken down in your stomach.
Your body absorbs the carbon and expels it when you exhale. You exhale into a bag, and your doctor uses a special device to detect the carbon molecules.
Acid-suppressing drugs known as proton pump inhibitors (PPIs), bismuth subsalicylate (Pepto-Bismol) and antibiotics can interfere with the accuracy of this test. Your doctor will ask you to stop taking those medications for a week or two weeks before you have the test. This test is available for adults and children.
- Stool test. A laboratory test called a stool antigen test looks for foreign proteins (antigens) associated with H. pylori infection in your stool. As with the breath test, PPIs and bismuth subsalicylate can affect the results of this test, so your doctor will ask you to stop taking them for two weeks before the test.
Scope test. You'll be sedated for this test, known as an upper endoscopy exam. During the exam, your doctor threads a long flexible tube equipped with a tiny camera (endoscope) down your throat and esophagus and into your stomach and duodenum. This instrument allows your doctor to view any irregularities in your upper digestive tract and remove tissue samples (biopsy).
These samples are analyzed for H. pylori infection. This test isn't generally recommended solely to diagnose an H. pylori infection because it's more invasive than a breath or stool test, but it may be used to diagnose H. pylori ulcers or if it's needed to rule out other digestive conditions.
H. pylori infections are usually treated with at least two different antibiotics at once, to help prevent the bacteria from developing a resistance to one particular antibiotic. Your doctor also will prescribe or recommend an acid-suppressing drug, to help your stomach lining heal.
Drugs that can suppress acid include:
- Proton pump inhibitors (PPIs). These drugs stop acid from being produced in the stomach. Some examples of PPIs are omeprazole (Prilosec, others), esomeprazole (Nexium, others), lansoprazole (Prevacid, others) and pantoprazole (Protonix, others).
- Histamine (H-2) blockers. These medications block a substance called histamine, which triggers acid production. Examples include cimetidine (Tagamet) and ranitidine (Zantac).
- Bismuth subsalicylate. More commonly known as Pepto-Bismol, this drug works by coating the ulcer and protecting it from stomach acid.
Your doctor may recommend that you undergo testing for H. pylori at least four weeks after your treatment. If the tests show the treatment was unsuccessful, you may undergo another round of treatment with a different combination of antibiotic medications.
Explore Mayo Clinic studies testing new treatments, interventions and tests as a means to prevent, detect, treat or manage this disease.
Preparing for your appointment
See your primary care doctor if you have signs or symptoms that indicate a complication of H. pylori infection. Your doctor may test and treat you for H. pylori infection, or refer you to a specialist who treats diseases of the digestive system (gastroenterologist).
Because appointments can be brief, and because there's often a lot of ground to cover, it's a good idea to be well-prepared for your appointment. Here's some information to help you get ready for your appointment, and what to expect from your doctor.
What you can do
At the time you make the appointment, be sure to ask if there's anything you need to do in advance, such as restrict your diet. Before your appointment, you might want to write a list that answers the following questions:
- When did your symptoms begin?
- Does anything make them better or worse?
- Have your parents or siblings ever experienced similar problems?
- What medications or supplements do you take regularly?
Your time with your doctor is limited, so preparing a list of questions to ask may help you make the most of your time together. For H. pylori infection, some basic questions to ask your doctor include:
- How did H. pylori infection cause the complications I'm experiencing?
- Can H. pylori cause other complications?
- What kinds of tests do I need?
- Do these tests require any special preparation?
- What treatments are available?
- How will I know if the treatment worked?
In addition to the questions that you've prepared to ask your doctor, don't hesitate to ask additional questions that occur to you during your appointment.
What to expect from your doctor
Your doctor is likely to ask you a number of questions. Being ready to answer them may allow more time to cover other points you want to address. Your doctor may ask:
Have your symptoms been continuous or occasional?
- How severe are your symptoms?
- Do you take any over-the-counter pain relievers such as aspirin, ibuprofen (Advil, Motrin IB, others) or naproxen sodium (Aleve)?