Most people with H. pylori never know they have it. The bacterium infects the stomach lining and can live there for years without causing any noticeable problems. When symptoms do appear, they typically stem from inflammation of the stomach lining or, in about 10% to 15% of infected people, a peptic ulcer.
Symptoms That Suggest H. Pylori
The most common sign is a burning or aching pain in your upper abdomen, roughly in the area between your navel and your breastbone. This pain often gets worse on an empty stomach, which is why many people notice it between meals or in the middle of the night. Eating something or taking an antacid may temporarily ease it.
Other symptoms include frequent bloating, excessive burping, nausea, loss of appetite, and unexplained weight loss. None of these are unique to H. pylori. They overlap with acid reflux, functional dyspepsia, and other digestive conditions. That overlap is exactly why testing matters: symptoms alone can’t confirm or rule out the infection.
Some warning signs point to a more serious complication like a bleeding ulcer. Dark or tarry stools, vomit that looks like coffee grounds, severe abdominal pain that doesn’t let up, and persistent dizziness or fatigue all warrant prompt medical attention.
The Breath Test
The urea breath test is one of the most accurate non-invasive options for detecting an active H. pylori infection. You swallow a small capsule or drink containing a special form of urea labeled with a carbon isotope. If H. pylori is present in your stomach, the bacterium breaks that urea down into ammonia and carbon dioxide. The labeled carbon dioxide enters your bloodstream, travels to your lungs, and shows up in your breath. A sample collected 15 to 30 minutes later can detect it.
This test has a sensitivity above 90% and a specificity around 96%, meaning it catches most true infections and rarely flags someone who isn’t infected. Some newer versions push both numbers above 95%. You need to fast for at least one hour beforehand, and the test should not be used if you have a citric acid allergy, since the test solution contains it.
The Stool Antigen Test
A stool antigen test looks for proteins from the H. pylori bacterium directly in a stool sample. It confirms active infection, not just past exposure, and it’s widely used both for initial diagnosis and to verify that treatment worked. Lab-based versions using monoclonal antibodies tend to be the most reliable. Rapid office versions exist but have shown more variable results across studies.
Preparation is simpler than for the breath test. No fasting is required. You collect a sample at home or at a lab, and results typically come back within a few days.
Why Blood Tests Are Less Useful
Blood tests for H. pylori detect antibodies your immune system produced to fight the bacterium. The problem is that these antibodies can linger in your blood for months or even years after the infection has cleared. A positive result tells you that you were infected at some point, but it can’t distinguish between an active infection happening right now and one your body already defeated. For that reason, blood antibody tests are not commonly recommended for diagnosing current H. pylori infection.
When Endoscopy Is Used
If you have more concerning symptoms, like difficulty swallowing, significant weight loss, or signs of internal bleeding, your doctor may recommend an upper endoscopy. During this procedure, a thin flexible tube with a camera is guided down your throat to examine your stomach and the first part of your small intestine directly. Small tissue samples (biopsies) can be taken at the same time.
One of the most common biopsy-based tests is the rapid urease test. A small piece of stomach tissue is placed on a test strip containing urea. If H. pylori’s enzyme is present, the urea breaks down and changes the color of the strip, usually within an hour or two. This test has a sensitivity of 80% to 95% and a specificity above 95%. Endoscopy isn’t the first choice when the only goal is to check for H. pylori, but when it’s already being done for other reasons, the rapid urease test adds valuable information at no extra cost to the patient.
Medications That Interfere With Results
Several common medications can suppress H. pylori enough to cause a false negative on breath and stool tests, even though the infection is still there. The key rules are straightforward:
- Proton pump inhibitors (omeprazole, lansoprazole, and similar acid-reducing drugs): stop at least two weeks before testing.
- H2 blockers (famotidine and similar): also stop at least two weeks before testing.
- Bismuth compounds (the active ingredient in Pepto-Bismol): stop at least two weeks before testing.
- Antibiotics: stop at least four weeks before testing.
Standard antacids like calcium carbonate (Tums) do not interfere with test accuracy, so you can continue taking those if needed. If you’re currently on any of these medications, coordinate with your healthcare provider on timing rather than stopping them on your own.
What About At-Home Test Kits?
You may have seen H. pylori test kits sold online. While the FDA has cleared at least one breath-based testing system for H. pylori detection, it is designed for use by trained healthcare professionals in a clinical setting, not for self-administration at home. Over-the-counter finger-prick antibody kits suffer from the same limitation as lab-drawn blood tests: they detect past exposure, not necessarily active infection. If you suspect you have H. pylori, a clinician-ordered breath test or stool antigen test will give you a far more reliable answer.
Getting Tested Without Obvious Symptoms
Because most H. pylori infections are silent, you might wonder whether screening makes sense even if you feel fine. Testing is generally recommended if you have recurring upper abdominal discomfort, a personal history of peptic ulcers, or a close family history of stomach cancer. In many cases, a primary care visit for persistent indigestion is all it takes to get a breath test or stool test ordered. The tests are quick, non-invasive, and highly accurate when medication timing guidelines are followed.

