The H. pylori breath test is a noninvasive diagnostic test that detects an active Helicobacter pylori infection in your stomach by analyzing a sample of your breath. It works by having you swallow a small amount of specially labeled urea, then measuring whether your exhaled breath contains a chemical byproduct that only appears when H. pylori bacteria are present. With sensitivity around 93–99% and specificity around 96–98%, it is the most accurate noninvasive method available for diagnosing this common stomach infection.
How the Test Works
H. pylori bacteria produce an enzyme called urease, which breaks down urea into ammonia and carbon dioxide. Your stomach lining naturally has small amounts of urea that diffuse from your bloodstream, and H. pylori uses this enzyme to neutralize stomach acid and survive in that harsh environment. The breath test exploits this biology.
Before the test, you swallow a tablet or solution containing urea that’s been tagged with a traceable form of carbon. If H. pylori is living in your stomach, its urease enzyme breaks down that tagged urea, releasing tagged carbon dioxide into your bloodstream. That carbon dioxide travels to your lungs and shows up in your breath. If there’s no infection, the labeled urea passes through without being broken down, and your breath sample comes back unchanged.
Two Versions of the Test
There are two versions, distinguished by the type of carbon label used. The C-13 version uses a nonradioactive, naturally occurring form of carbon and is analyzed with a specialized instrument called a mass spectrometer. The C-14 version uses a mildly radioactive carbon isotope and is read by a scintillation counter. Both are accurate.
The radiation exposure from C-14 is extremely small, estimated at less than 0.003 millisieverts. For comparison, you absorb roughly 1.8 millisieverts per year just from natural background radiation, and a single routine X-ray delivers 5 to 30 millisieverts. Still, the C-13 version is preferred for children and during pregnancy simply because it involves zero radiation. Many clinics default to C-13 for all patients to avoid any concern entirely.
What to Expect During the Test
The entire process takes about 20 to 25 minutes. You start by providing a baseline breath sample: hold your breath for 4 to 5 seconds, then exhale into a collection bag (usually color-coded blue) until it’s full. This first sample establishes your normal exhaled carbon levels.
Next, you drink a solution prepared by dissolving a urea tablet and a citric acid powder in about 5 to 7 ounces of water. You need to finish the entire drink through a straw within two minutes, regardless of your age or body weight. The citric acid slows stomach emptying, giving the urea more contact time with any bacteria that might be there.
Then you wait. Exactly 15 minutes after finishing the drink (and no later than 20 minutes), you provide a second breath sample into a different collection bag, typically gray. You hold your breath the same way, exhale until the bag is full, and cap it. Both bags are sent to a lab for comparison. The whole experience feels like drinking a mildly tart solution and breathing into a balloon twice.
How Results Are Determined
The lab compares the amount of labeled carbon dioxide in your second breath sample against your baseline. The difference is expressed as a “delta over baseline” (DOB) value. A DOB at or above the cutoff, commonly set at 3.5 to 4.0 for adults, indicates an active H. pylori infection. Below that cutoff, the result is negative.
Higher DOB values generally reflect greater bacterial activity in the stomach. A study in children found that a DOB above 5.285 predicted peptic ulcer risk with 84% sensitivity and 90% specificity, suggesting the test may eventually offer more than a simple yes-or-no answer. For now, though, it’s used as a binary diagnostic: infected or not infected.
Preparation Requirements
Certain medications suppress H. pylori enough to produce a falsely negative result without actually eliminating the infection. You’ll need to stop taking proton pump inhibitors (common heartburn medications like omeprazole or lansoprazole) for at least one to two weeks before testing. Antibiotics and bismuth-containing products (like Pepto-Bismol) should be stopped at least four weeks before the test.
Most clinics also ask you to fast for at least one hour, and sometimes four to six hours, before the appointment. Eating can alter stomach acidity and interfere with the chemical reaction the test depends on. If you’re unsure about any medication you’re taking, check with the office scheduling your test beforehand rather than risk an unreliable result.
Accuracy Compared to Other Tests
The breath test consistently outperforms the two other noninvasive options, blood antibody tests and stool antigen tests, in overall diagnostic accuracy. In a study of 154 patients using tissue biopsy as the reference standard, the C-13 breath test achieved 93% sensitivity and 95.6% specificity at a 3.5 DOB cutoff. When combined with genetic confirmation of the bacteria, those numbers climbed to 98.8% sensitivity and 98.3% specificity.
Blood tests for H. pylori detect antibodies, which means they can stay positive for months or even years after the infection has been successfully treated. That makes blood tests unreliable for confirming whether treatment worked. The breath test and the stool antigen test both detect active infection only, but the breath test edges ahead in head-to-head accuracy comparisons, particularly in patients who haven’t recently taken antibiotics or acid-suppressing medication.
The test is less reliable in patients who have had stomach surgery, because altered anatomy changes how the labeled urea interacts with the stomach lining. Most studies validating the test’s accuracy excluded these patients.
Using the Breath Test After Treatment
The breath test is the go-to method for confirming that H. pylori treatment actually worked. Guidelines recommend waiting at least four weeks after finishing your antibiotic course before retesting. This waiting period helps avoid false negatives, where antibiotics have temporarily suppressed the bacteria without fully eliminating them.
Some research suggests that testing as early as two weeks after treatment produces results comparable to the standard four-to-six-week window, but most gastroenterologists still follow the four-week rule to be safe. You’ll also need to be off proton pump inhibitors for one to two weeks before the follow-up test, just as you would for the initial diagnosis. Confirming eradication matters because untreated or incompletely treated H. pylori can lead to recurring ulcers and, over the long term, increases the risk of stomach cancer.