H. Pylori Test: Breath, Stool and Blood Options Compared

H. Pylori Test: Breath, Stool and Blood Options Compared

Because the stomach lining does part of the work of absorbing certain nutrients, markers such as Vitamin B12 sometimes come up in the same conversation.

What does an H. pylori test actually look for?

An H. pylori test looks for one of three things, the organism itself, a chemical trace of its activity, or the antibodies your immune system built against it. Which of those three a test targets is what decides how useful its result is.

Helicobacter pylori is a spiral shaped bacterium that settles in the mucus layer sitting on top of the stomach wall. It survives in an acidic environment partly because it produces large amounts of urease, an enzyme that splits urea into ammonia and carbon dioxide and buffers the acid immediately around the organism. That one enzyme is the mechanism behind two separate tests, the urea breath test and the rapid urease test performed on a biopsy sample.

Testing falls into two families. Non-invasive tests use a sample you can give without a procedure, a breath sample, a stool sample or a blood draw. Invasive tests use tissue taken from the stomach lining during an upper endoscopy, which can then be examined under a microscope, dropped into a urease reagent, or grown in a laboratory.

The practical distinction for a reader is simpler. Breath, stool and biopsy based methods look for the organism or its activity right now. Blood antibody tests look at your immune memory, which does not reset the moment the bacterium disappears. Two tests with the same positive result can therefore mean two very different things.

Why does it matter whether this bacterium is present?

It matters because the bacterium drives inflammation in the stomach lining, and because that inflammation sits upstream of conditions a clinician would want to know about.

Most of the time the infection is quiet. Many people carry H. pylori for years with no symptoms at all, which is why testing is driven by a specific clinical question rather than curiosity. When symptoms do appear they are usually non-specific, things like recurring discomfort or burning in the upper abdomen, fullness after small meals, nausea or bloating. Those same symptoms have many other explanations, so a symptom pattern alone never establishes the cause.

What a test gives a clinician is a yes or no on one variable. Knowing whether the bacterium is there changes the direction of the work-up, and knowing it is not there pushes the conversation toward other explanations. A single positive result is not a diagnosis of any particular condition, and it is not something to interpret alone. It is a finding that belongs in a discussion with a clinician, alongside your symptoms, your history and anything else your results show.

Who is usually offered testing?

Testing is usually offered when a clinician has a concrete reason to ask the question, not as a routine screen for everybody. Reviews of H. pylori management describe testing in people with ongoing upper abdominal discomfort, in people with a past or present peptic ulcer, and in people with certain other stomach conditions 1.

Other common prompts include a family history of gastric cancer, planned long term use of some medicines where a prescriber wants to know the status first, and unexplained iron deficiency that has no obvious source 2. The specific threshold varies between clinicians and between regions, because background prevalence of the infection differs widely and that changes how useful a given test result is.

Age and symptom pattern also shape the decision. In an older adult with new upper digestive symptoms, or in anyone with warning features such as difficulty swallowing, unintended weight loss, persistent vomiting or signs of bleeding, a clinician will often go straight to endoscopy rather than a non-invasive test, because the procedure answers more than one question at once. Those features are worth discussing with a clinician promptly rather than waiting for a test slot.

If you are simply curious about your status with no symptoms and no risk factors, the useful first step is a conversation about whether a result would change anything for you.

How does the urea breath test work?

The urea breath test works by feeding the bacterium its own fuel and then measuring the exhaust. You swallow a small amount of urea that has been labelled with a traceable carbon atom. If H. pylori is present, its urease enzyme splits that urea, the labelled carbon ends up in carbon dioxide, the carbon dioxide crosses into the blood, and you breathe it out. A rise in labelled carbon dioxide in your breath means urease activity in your stomach.

There are two labels in use. The carbon 13 version uses a stable, non-radioactive isotope, which makes it suitable across a wide range of people including children and in pregnancy. Research suggests the carbon 13 urea breath test is accurate for identifying current infection 3. The carbon 14 version uses a trace amount of a radioactive isotope and is cheaper to run in some settings. Research suggests the carbon 14 breath test also performs well for detecting infection 4.

The procedure itself is simple. You arrive fasted, give a baseline breath sample into a bag or tube, swallow the labelled urea, often with a citric acid drink that slows stomach emptying and spreads the solution across the lining, then wait and give a second breath sample. The waiting interval and the exact protocol are set by the laboratory, so follow the instructions you are given rather than a generic timetable.

Because the test measures live enzyme activity, it reflects the situation on the day. That is its strength, and it is also why preparation matters so much.

What does a stool antigen test show?

A stool antigen test shows whether H. pylori proteins are being shed into your stool, which indicates the organism is currently in the stomach rather than merely remembered by your immune system. It answers the same question as the breath test, using a different sample.

The laboratory version uses antibodies raised against H. pylori antigens to capture and detect those proteins in a small stool sample. Research suggests stool antigen testing performs well for detecting current infection in adults 5. There are two broad formats, a laboratory enzyme immunoassay and a rapid immunochromatographic card read in an office or at home. Studies suggest that laboratory based monoclonal stool antigen assays perform better than rapid formats 6.

Practically, this test suits people who cannot easily attend for a breath test, who find the fasting requirement difficult, or who are collecting samples for a child. Sample handling is the main variable under your control. Antigens degrade if a sample sits warm for too long, so collect as instructed, keep the sample cool if the laboratory asks you to, and return it within the stated window. A sample taken during a bout of diarrhoea may be diluted enough to affect the reading, which is worth mentioning when you hand it in.

Like the breath test, the stool antigen test is influenced by anything that temporarily suppresses the bacterium, which is covered further down.

Why can a blood antibody test not confirm a current infection?

A blood antibody test cannot confirm a current infection because it measures your immune response, and that response outlives the bacterium. Antibody levels can stay raised for a long time after the organism has gone, so a positive antibody result is associated with exposure at some point rather than with an active infection today 7.

This single property explains almost everything about how serology is used. It is the reason a positive antibody result is not a basis for a management decision on its own, and the reason it is never used to check whether an infection has cleared. Someone who carried H. pylori years ago and no longer does can still show antibodies, and acting on that result would mean acting on history.

Serology does keep a narrow role. Its usefulness also depends heavily on how common the infection is in the local population and on whether the specific assay has been validated there.

If you have already had an antibody test and it came back positive, the next step is confirmation with a breath or stool antigen test, decided with your clinician.

How do the non-invasive options compare on accuracy?

On accuracy for current infection, the urea breath test and the laboratory stool antigen test sit clearly ahead of antibody testing. A Cochrane review of non-invasive tests found the urea breath test had high diagnostic accuracy 8, and a separate meta-analysis of urea breath testing reported high sensitivity and specificity for detecting infection 9.

Stool antigen testing is close behind when the laboratory format is used, and research suggests it is a reliable non-invasive option in adults 5. Overviews of non-invasive testing describe breath and stool antigen methods as the mainstays for identifying active infection, with serology limited by its inability to separate present from past 10.

The better question is usually not which test is most accurate in the abstract, but which test is most accurate for your situation on the day you take it.

Which test fits which situation?

The right test depends on whether you need proof of a live infection, whether an endoscopy is already planned, and what you can realistically prepare for.

Test What it detects Confirms a current infection Typically used for Main limitations
Urea breath test Urease activity from live bacteria Yes First line check and confirmation of clearance Needs fasting and a medicine washout set by your prescriber
Stool antigen test (laboratory) Bacterial antigens shed in stool Yes First line check when breath testing is impractical Sample handling matters, rapid card formats perform less well
Blood antibody test Antibodies made against the bacterium No Selected situations where active tests are compromised Stays positive after clearance, cannot confirm current infection
Endoscopy with biopsy The organism in stomach tissue, plus urease activity and culture Yes When the stomach lining itself needs assessment Invasive, requires a procedure and specialist access

No single row is the best answer for everyone. Availability, cost, local prevalence and your own history all feed into the choice, which is why this decision belongs with a clinician rather than with a shopping list. If you are choosing between formats of the same test, the laboratory version generally gives a more dependable result than a rapid card.

When is endoscopy with a biopsy the better route?

Endoscopy is the better route when the stomach lining itself needs to be looked at, not just surveyed for one bacterium. That applies when warning features are present, when symptoms persist despite a previous course of care, or when a clinician needs tissue for other reasons.

During the procedure, small biopsy samples can be used three ways. They can be placed in a urease reagent for a rapid in-room answer, examined under a microscope so a pathologist can see both the organism and the state of the lining, or cultured. Reviews of diagnosis note that biopsy based testing allows culture and susceptibility work that non-invasive samples cannot provide 2, which matters when a previous attempt at clearance has not worked.

The trade-offs are real. Endoscopy requires access to a specialist, preparation, often sedation, and it carries the small risks of any procedure. It also depends on where the biopsies are taken from, because colonisation can be patchy across the stomach lining, so sampling from more than one site is standard practice 7.

For most people with uncomplicated symptoms and no warning features, a non-invasive test answers the question at far lower cost and inconvenience. Warning features such as bleeding, difficulty swallowing, unintended weight loss or persistent vomiting are worth raising with a clinician promptly, and they shift the balance toward endoscopy.

What can throw a result off, and how do you prepare?

The single biggest source of a wrong answer is anything that temporarily suppresses the bacterium before the sample is taken. Research suggests that recent use of some medicines can reduce the sensitivity of breath and stool tests and produce a false negative 7. Ask your prescriber which of your medicines matter here and how long before the test anything should be paused. Never stop a prescribed medicine on your own.

Timing after a course of care matters for the same reason, because a suppressed but surviving population can read as absent.

Preparation itself is straightforward once you know the rules. For a breath test, arrive fasted as instructed, follow the laboratory's protocol for the baseline sample and the waiting interval, and do not eat, drink or smoke during the wait. For a stool antigen test, collect the sample as described, keep it at the temperature the laboratory specifies, and return it inside the stated window rather than letting it sit.

False positives are less common but possible. Urease producing bacteria other than H. pylori can occasionally influence urease based tests, and rapid urease testing on biopsies can read negative when the bacterial load is low 11. If a result does not match the clinical picture, repeating with a different method is a normal next step.

What do positive and negative results mean?

A positive breath or stool antigen result means the bacterium is present now. A negative result means no current infection was detected under the conditions of that test. Neither result is a diagnosis on its own, and both are read alongside your symptoms and history.

What the result shows What it may reflect Worth discussing with a clinician
Positive breath or stool antigen Active colonisation of the stomach lining What the finding means for your symptoms and what comes next
Negative breath or stool antigen No current infection detected, or suppression from preparation issues Whether the preparation was correct, and what else could explain symptoms
Positive blood antibody Exposure at some point, past or present Confirmation with an active test before any decision
Negative blood antibody No detectable antibody response Whether an active test is still needed given your symptoms

The step after a positive active test is a conversation, not a self-directed project. Management decisions, including whether any medicine is appropriate, belong to a licensed provider who has reviewed your full picture. The same applies to a negative result that leaves your symptoms unexplained, because that is a signal to keep looking rather than to stop.

Should testing be repeated after a course of care?

Yes, confirmation testing after a course of care is standard, and it uses an active test rather than an antibody test. Antibody levels do not reliably fall in a way that confirms clearance, while stool antigen and breath testing can show whether the organism is still there.

Timing is the part people get wrong. Because recent medicines can suppress the bacterium without removing it, testing too soon can produce a false negative and a false sense of resolution. Your prescriber sets the waiting interval, and it is worth asking for that date explicitly when the course finishes rather than guessing from the internet.

Symptom improvement is not a substitute for a test. Symptoms can settle while colonisation persists, and symptoms can continue after successful clearance because something else is driving them. That is exactly why confirmation is done with an objective measure.

If a confirmation test comes back positive, that is information rather than a failure. A clinician may then consider a different approach, and in some situations biopsy based testing with culture is used to guide that decision 2. All of those choices sit with a licensed provider.

Which other markers are worth looking at alongside?

The markers most often looked at alongside H. pylori status are the ones that describe iron status and the blood count, because stomach lining inflammation and the symptoms that prompt testing frequently overlap with them. Ferritin is the usual measure of iron stores, and a complete blood count describes red cell size, haemoglobin and the broader cell picture.

Unexplained iron deficiency is one of the situations in which clinicians consider testing for the bacterium in the first place 1, so running those markers in the same window often saves a second round of blood draws. Inflammatory markers and a basic metabolic panel are sometimes included to give context, since ferritin rises with inflammation and can read normal when stores are actually low.

This is the general argument for testing broadly rather than one marker at a time. FitScript's membership includes 150+ biomarkers tested per year, with results interpreted by Atlas, its AI health advisor, so a single result sits inside a fuller picture instead of standing alone. One related nutrient marker is worth its own note, covered next.

Where does Vitamin B12 fit into this picture?

The stomach does part of the work of absorbing Vitamin B12 from food, because its lining produces both acid and intrinsic factor, the protein that carries B12 to the point where it is absorbed. That is why a conversation about long standing inflammation of the stomach lining often ends up touching this marker. A typical lab reference range runs 211 to 946 pg/mL, while FitScript's optimal range is 500 to 800 pg/mL. Optimal ranges are optimization targets, not diagnostic cut-offs, and reference ranges vary by lab, age and sex. The fuller picture, including how the marker is tested and what high and low values may reflect, sits on the Vitamin B12 guide.

When is it worth talking to a clinician?

It is worth talking to a clinician before testing, to decide which test answers your question, and after testing, to decide what the result means for you. Those two conversations are where the value of the test is actually realised.

Some situations warrant a prompt conversation rather than a scheduled one. Signs of bleeding such as black stools or vomiting that looks like coffee grounds, difficulty or pain on swallowing, unintended weight loss, persistent vomiting, or severe and unrelenting upper abdominal pain all deserve prompt medical attention, whatever a test shows. A negative H. pylori result does not make those symptoms less important.

Also bring in a clinician when results conflict, for example a positive antibody test with a negative breath test, or when a result does not fit how you feel. Repeating with a different method, or moving to biopsy based testing, is a normal and sensible next step rather than a sign something went wrong.

This article is educational and is not medical advice. Discuss your results and any treatment decision with a clinician or licensed provider, who evaluates whether a given approach is appropriate for you.

Key takeaways

References

  1. Helicobacter pylori: A Review of Current Diagnostic and Management Strategies. Digestive Diseases and Sciences, 2020.
  2. Updates to the Diagnosis and Clinical Management of Helicobacter pylori Infections. Clinical Chemistry, 2023.
  3. 13C-Urea breath test for the diagnosis of Helicobacter pylori infection. European Review for Medical and Pharmacological Sciences, 2013.
  4. Diagnostic accuracy of the (14)C-urea breath test in Helicobacter pylori infections: a meta-analysis. Wiener Klinische Wochenschrift, 2017.
  5. Stool Antigen Test for Helicobacter Pylori Infection in Adults: A Meta-analysis of Diagnostic Test Accuracy. Journal of Clinical Gastroenterology, 2025.
  6. Stool antigen tests for the management of Helicobacter pylori infection. World Journal of Gastroenterology, 2013.
  7. Diagnostic methods for Helicobacter pylori infection: ideals, options, and limitations. European Journal of Clinical Microbiology & Infectious Diseases, 2019.
  8. Non-invasive diagnostic tests for Helicobacter pylori infection. Cochrane Database of Systematic Reviews, 2018.
  9. Accuracy of urea breath test in Helicobacter pylori infection: meta-analysis. World Journal of Gastroenterology, 2015.
  10. Non-invasive tests for the diagnosis of helicobacter pylori: state of the art. Acta Bio-Medica: Atenei Parmensis, 2018.
  11. The Diagnostic Tests for Detection of Helicobacter pylori Infection. Monoclonal Antibodies in Immunodiagnosis and Immunotherapy, 2019.

Common questions

What is an H. pylori test?

It is a test that checks whether the bacterium Helicobacter pylori is living in your stomach lining. The three common versions are a urea breath test, a stool antigen test and a blood antibody test, and a biopsy taken during endoscopy is a fourth route. Which one suits you is a decision to make with a clinician.

Which test confirms a current infection?

The urea breath test and the laboratory stool antigen test both detect an infection that is present now. A blood antibody test does not, because antibodies can stay detectable long after the bacterium has gone. If you have only had an antibody test, confirmation with a breath or stool test is the usual next step.

Do you need to fast before a urea breath test?

Yes, a fasting period is part of the standard protocol, and the laboratory will tell you how long. You will usually give a baseline breath sample, swallow the test solution, wait for a set interval and then give a second sample. Avoid eating, drinking and smoking during that wait unless you are told otherwise.

Can medicines affect the result?

Some medicines can suppress the bacterium enough that a breath or stool test reads negative when the infection is still there. Ask your prescriber which of your medicines matter and how far in advance anything should pause. Never stop a prescribed medicine on your own to prepare for a test.

How soon after a course of care should you be retested?

A waiting period is needed, because testing too soon can give a false negative while the bacterium is suppressed rather than gone. Your prescriber sets the interval, so ask for the date when the course finishes. Confirmation is done with a breath or stool antigen test, not a blood antibody test.

Are home test kits reliable?

Home stool antigen kits using rapid card formats are convenient but generally less dependable than a laboratory assay run on the same sample type. If you use one, follow the collection and storage instructions exactly, since antigens degrade in a warm sample. Take any result, positive or negative, to a clinician rather than acting on it alone.

Does a positive result mean you have an ulcer?

No. A positive result means the bacterium is present, which is one factor among several that a clinician considers. Many people carry it without symptoms or complications, and symptoms such as upper abdominal discomfort have many other causes. What the finding means for you is a conversation to have with a clinician.

What happens after a positive test?

A clinician reviews the result alongside your symptoms, history and any other findings, and decides what comes next. Any management decision, including whether a medicine is appropriate, belongs to a licensed provider. Confirmation testing after that course of care is standard, at a time your prescriber specifies.

Related reading