908-941-4805For emergencies, call 911
Back to BlogPrevention

H Pylori Testing: Which Test Should You Actually Get?

Dr. Meet Parikh|
H Pylori Testing: Which Test Should You Actually Get?

H Pylori Testing: Which Test Should You Actually Get?

For most adults without alarm symptoms, a urea breath test or stool antigen test is the right first move for active H. pylori infection, and endoscopy with biopsy gets reserved for people 60 and older or anyone showing red-flag symptoms. Blood-based serology, despite still being ordered in some offices, cannot reliably confirm whether an infection is active, so most gastroenterology societies no longer recommend it for diagnosis.

Here’s the shortlist that actually matters:

  • Urea breath test (UBT) or stool antigen test: first-line for adults under 60 with no alarm symptoms
  • Serology (blood antibody test): useful only for prior-exposure surveys, not for diagnosing current infection
  • Endoscopy with biopsy: needed for age 60 or older, alarm symptoms (bleeding, unexplained weight loss, anemia, trouble swallowing), or prior treatment failure

Table of Contents

Urea Breath Test: Procedure, Preparation, and Accuracy

The urea breath test works because H. pylori produces an enzyme called urease that breaks down urea into carbon dioxide and ammonia. You swallow a capsule or liquid containing urea labeled with a carbon isotope (either carbon-13, which is nonradioactive, or carbon-14, which involves a trace amount of radiation), then breathe into a collection bag or device before and after. If the bacteria are present, the labeled carbon shows up in your exhaled breath within 15 to 30 minutes.

The workflow is simple: give a baseline breath sample, drink or swallow the urea substance, wait, then give a second sample. Labs measure the ratio of labeled carbon dioxide between the two samples to determine a positive or negative result.

Statistic callout: UBT sensitivity and specificity typically exceed 90%, making it one of the more dependable noninvasive options available for detecting active infection.

Preparation is where most false negatives come from, and it is entirely within your control:

  • Stop proton-pump inhibitors (PPIs) like omeprazole or pantoprazole 2 weeks before testing
  • Stop antibiotics and bismuth-containing products (like Pepto-Bismol) 4 weeks before testing
  • Avoid smoking for at least 1 hour before the test
  • Fast for the period your clinic specifies, usually a few hours, since food can dilute the urease reaction

The Cleveland Clinic notes that adherence to these prep steps has a direct and measurable effect on whether the result reflects reality. Skip the PPI washout and you risk a false negative even with active infection sitting in your stomach.

On the downside, UBT requires specialized breath-collection equipment that not every primary care office stocks, and young children or people who struggle to follow breathing instructions may not be ideal candidates. Otherwise it’s fast, painless, and gives same-day or next-day answers depending on the lab.

Stool Antigen Testing: Sample Handling, Accuracy, and When to Choose It

Stool antigen testing looks for actual pieces of the bacteria (antigens) in a stool sample, not antibodies your immune system made in response to it. That distinction matters because it means a positive result reflects a current infection, not just a memory of a past one.

1787387813781_Lab-technician-preparing-stool-antigen-sample.jpeg

The HpSA (H. pylori stool antigen) test typically runs sensitivity and specificity around 93% each when the sample is collected and handled correctly. That’s a big “when.” Improper handling, letting a sample sit too long at room temperature, or using an expired collection kit, can drag sensitivity down to roughly 69%, which turns a reliable test into a coin flip.

Stool antigen testing tends to make the most sense for:

  • Children, since breath-test cooperation can be tricky at younger ages
  • Clinics or regions without ready access to UBT equipment
  • Patients who simply prefer a stool collection over a breath device
  • Monitoring whether treatment actually cleared the infection

Pro Tip: Refrigerate your stool sample immediately if you can’t drop it off within an hour, and always use the exact collection container your clinic provides. A mismatched kit or a warm sample sitting in your bathroom is the single most avoidable reason for an inaccurate stool antigen result.

Rapid immunochromatographic (point-of-care) versions give quicker answers, while lab-based ELISA formats tend to run slightly more consistent numbers. Either format works for initial diagnosis and for confirming eradication after treatment.

Why Blood Tests Fall Short for Diagnosing Active Infection

Serology measures antibodies your immune system built against H. pylori, and those antibodies can linger for months or years after the bacteria are long gone. That means a positive blood test tells you that you were exposed at some point. It does not tell you whether the infection is active right now.

This is precisely why serology gets left out of most diagnostic algorithms for confirming current infection, and why it’s useless for test-of-cure. Getting a blood test after treatment can show a positive result even in someone successfully cured, which leads to unnecessary anxiety and sometimes unnecessary retreatment.

Serology still has a narrow, legitimate use:

  • Epidemiologic research tracking exposure rates across populations
  • Settings where UBT and stool antigen testing genuinely aren’t accessible

Outside those scenarios, if your doctor recommends a blood test to check whether your H. pylori is gone, that’s worth a second conversation.

Endoscopy and Biopsy: What Happens and Who Needs It

Upper endoscopy, technically an esophagogastroduodenoscopy or EGD, lets a gastroenterologist look directly at your stomach lining and take tissue samples during the same procedure. Biopsy specimens can be tested three different ways:

  1. Rapid urease test: a biopsy sample is placed in a chemical gel that changes color if urease activity (a sign of H. pylori) is present, often giving an answer within hours.
  2. Histology: pathologists examine stained tissue slides under a microscope to directly identify the bacteria and assess the degree of inflammation or damage.
  3. Culture with antimicrobial susceptibility testing: the bacteria are grown in a lab and tested against different antibiotics, which becomes essential when a patient has already failed one round of treatment.

Mayo Clinic identifies the clearest triggers for choosing endoscopy over noninvasive testing: age 60 or older, alarm symptoms like GI bleeding, unexplained weight loss, anemia, or progressive difficulty swallowing, prior treatment failure, or a need to rule out other conditions like ulcers or gastric cancer.

The advantage endoscopy offers that no breath or stool test can match is direct visualization. A gastroenterologist can spot an ulcer, unusual tissue changes, or other pathology in the same visit, and if initial treatment already failed once, susceptibility testing from biopsy tissue is often the only path to picking an antibiotic combination that will actually work.

Preparing for Testing: What to Stop and When

Getting an accurate result comes down almost entirely to following the prep instructions, and the rules are specific enough to write down.

  • Stop PPIs (omeprazole, esomeprazole, pantoprazole, and similar) 2 weeks before any noninvasive test or endoscopy
  • Stop antibiotics and bismuth subsalicylate (Pepto-Bismol) 4 weeks before testing
  • Stop H2 blockers like famotidine 24 to 48 hours before a urea breath test specifically, since they can still dampen urease activity
  • Avoid smoking for at least 1 hour before breath testing
  • Follow your clinic’s fasting window, and store stool samples cold if there’s any delay in dropping them off

Pro Tip: If stopping your PPI isn’t safe because your reflux symptoms flare badly without it, don’t just power through the test anyway. Call your gastroenterologist. Depending on symptom severity, the right call might be delaying testing, switching to a different acid-control approach temporarily, or moving straight to endoscopy instead.

This washout period exists for a reason grounded in biology, not bureaucracy: PPIs and antibiotics suppress bacterial activity without necessarily killing every organism, which is exactly the scenario that produces a falsely reassuring negative result.

How Accurate Is Each Test, and How Do You Choose?

Both frontline noninvasive tests, the urea breath test and stool antigen test, routinely post sensitivity and specificity above 90% when patients follow prep instructions and samples are handled properly. Serology trails well behind both on the metric that matters most for diagnosis: distinguishing active infection from past exposure.

Statistic callout: ARUP Consult frames noninvasive testing, UBT or stool antigen, as equally appropriate first-line options for adults under 60 who have no alarm symptoms. Neither test outranks the other on accuracy; the choice usually comes down to what’s available and what the patient prefers.

The decision tree gastroenterologists actually use looks like this:

  • Under 60, no alarm symptoms: order UBT or stool antigen
  • 60 or older, any age: refer for endoscopy regardless of symptoms
  • Any age with alarm symptoms (bleeding, unexplained weight loss, anemia, difficulty swallowing): endoscopy, not noninvasive testing
  • Prior treatment failure: endoscopy with culture and susceptibility testing to guide the next antibiotic regimen

Beyond the clinical rule, practical factors shape the real-world choice. Not every primary care office has breath-test equipment on hand, insurance coverage varies by test type, and some patients simply find a stool sample easier to manage than a breath device with waiting periods. Cost also varies: noninvasive tests generally run cheaper than an endoscopic procedure, which matters for anyone paying out of pocket or working through a high deductible. If you’re weighing your options, a complete list of GI diagnostic tests can help you understand where each fits into a broader workup.

When and How to Confirm the Infection Is Gone

Testing too soon after treatment is one of the most common mistakes patients and even some providers make, and it produces misleading results in both directions.

  1. Wait at least 4 weeks after finishing antibiotics before any test-of-cure, per guidance from MedlinePlus. Testing earlier can show suppressed bacteria that haven’t fully cleared, giving a false sense of success.
  2. Wait 1 to 2 weeks after stopping any PPI you resumed after treatment, for the same reason PPIs interfere with initial diagnosis.
  3. Use UBT or stool antigen testing, not serology, since lingering antibodies make blood tests worthless for confirming eradication.
  4. If the infection persists, the next step is usually culture or molecular resistance testing from a biopsy sample to identify which antibiotics will actually work, followed by a second, more targeted treatment course.

Skipping test-of-cure altogether is common but risky. Untreated or incompletely treated H. pylori keeps working on your stomach lining, and understanding why treating H. pylori matters makes clear why confirming eradication isn’t an optional final step.

What Your Result Actually Means

A positive UBT or stool antigen result generally means active infection, and the standard next step is antibiotic-based eradication therapy. A negative result with someone whose symptoms haven’t improved deserves a second look rather than automatic reassurance, since recent PPI or antibiotic use and poor stool sample handling are the two most common reasons a test falsely reads negative.

False positives happen too, though less often. Cross-reactivity with other bacteria, lab handling errors, or testing too soon after a partial treatment course can all produce a misleading positive. When results and symptoms don’t line up, gastroenterologists typically repeat the test after confirming proper prep, or move to endoscopy for a direct look and biopsy-based confirmation.

When to See a Gastroenterologist for H. Pylori Testing

Certain symptoms should prompt a specialist visit rather than a routine primary care order: unexplained weight loss, blood in stool or vomit, iron-deficiency anemia, persistent vomiting, or trouble swallowing that’s getting worse. Anyone 60 or older with new stomach symptoms falls into this category too, regardless of how mild the symptoms seem.

Dr. Meet Parikh, DO, a board-certified gastroenterologist, provides EGD with biopsy, coordinates noninvasive testing when appropriate, and manages tailored follow-up care through eradication confirmation. Services span the full range from upper endoscopy to colon cancer screening, GERD management, and IBD care.

PointDetails
Specialist referral triggersAge 60+, GI bleeding, unexplained weight loss, or anemia warrant a gastroenterology visit, not just repeat testing.
Full diagnostic rangePrecision Digestive Health offers both noninvasive testing coordination and EGD with biopsy under one practice.

Why the Test-Choice Conversation Gets Oversimplified

Most patient-facing content treats H. pylori testing like a menu where you just pick your preferred discomfort level: breath, stool, or blood. That framing misses the part that actually determines whether the result means anything, which is preparation. A perfectly chosen test ruined by a PPI taken three days too recently is worse than useless, because it hands a patient false reassurance.

The bigger blind spot is age. Plenty of otherwise thorough guides walk through breath test mechanics in detail and then bury the age-60 endoscopy threshold in a footnote. That threshold isn’t a formality. It exists because the risk profile changes, and a noninvasive test, however accurate on paper, can’t rule out the other conditions that matter more at that age.

If there’s one thing worth prioritizing over which test to pick, it’s this: read the prep instructions twice, follow them exactly, and don’t let symptom severity talk you into skipping test-of-cure. That’s where most testing failures actually happen, not in the lab.

— Precision Digestive Health

Get Specialist Testing and Follow-Up Care in South Plainfield

Precision Digestive Health gives you a direct path from suspected infection to confirmed eradication under one gastroenterologist, instead of bouncing between a primary care order, an outside lab, and a specialist referral if results come back unclear.

1776703107697_precisiondigestive-174.jpg

Dr. Meet Parikh coordinates noninvasive testing for patients under 60 without alarm symptoms and performs upper endoscopy with biopsy on-site for anyone who needs direct visualization, susceptibility testing, or evaluation for other causes of stomach symptoms. That matters most if you’ve already been through one round of antibiotics that didn’t clear the infection. Rather than guessing at a second treatment course, biopsy-based culture identifies exactly which antibiotics will work against your specific strain. If you’re dealing with ongoing stomach symptoms, a positive test result, or a treatment that didn’t take, schedule a consultation to get a clear diagnostic plan instead of another round of trial and error.

This article is general information, not a substitute for advice from a qualified doctor. Consult a qualified healthcare professional about your own circumstances before acting on anything here.

Sources

FAQ

How do doctors test you for H. pylori?

Doctors typically start with a urea breath test or stool antigen test for adults under 60 without alarm symptoms, and move to endoscopy with biopsy for older patients, those with red-flag symptoms, or after a failed treatment attempt.

What are three symptoms of an H. pylori infection?

Common symptoms include burning stomach pain that may worsen on an empty stomach, bloating, and frequent burping; many infected people, however, have no symptoms at all.

What kills H. pylori in the gut?

A combination of antibiotics along with an acid-suppressing medication, typically a PPI, clears the infection in most patients, though the exact drug combination depends on local resistance patterns and prior treatment history.

What do stools look like if you have H. pylori?

Most people with H. pylori have no visible change in stool appearance, but black or tarry stools can signal bleeding from an ulcer caused by the infection and warrant immediate medical evaluation.

Can you test for H. pylori with a blood test?

Blood tests detect antibodies from past exposure, not active infection, so they’re not recommended for diagnosing current H. pylori or confirming a cure after treatment.

Recommended

Have Questions About This Topic?

Schedule a consultation with Dr. Parikh to discuss your concerns and get personalized guidance for your digestive health.