What this article covers
- What is H. pylori and why does it matter?
- The four tests compared
- Why the blood antibody test cannot confirm cure
- The urea breath test: why it is the gold standard
- The stool antigen test: a practical alternative
- Endoscopy: when is it necessary?
- Antibiotic resistance: the regional challenge
- Does a positive result always mean treatment?
- Prevention and everyday habits
What is H. pylori and why does it matter?
Helicobacter pylori, or H. pylori, is a bacterium that lives in the lining of the stomach. It has a remarkable ability to survive the stomach's acid environment, producing enzymes that weaken the protective mucous layer and allow stomach acid to irritate the underlying tissue. Most people pick it up in childhood through contaminated food or water, or close contact with an infected person.
For many people the infection causes no symptoms at all and goes unnoticed for years. For others it causes chronic inflammation, leads to a peptic ulcer in the stomach or the duodenum, and in some cases is linked to a higher long-term risk of stomach cancer. A study published in the World Journal of Gastroenterology in 2010 noted that infection rates in parts of the Middle East exceed 70 percent of the adult population, making it a genuinely regional health priority.
Understanding the difference between the available tests matters because the wrong test for the wrong question gives you a misleading answer. A blood test taken after treatment to check whether the infection has cleared is the most common example of a test chosen for the wrong purpose.
The four tests compared
Each test has a specific role and its accuracy depends on when it is used and how you prepare for it. The three non-invasive tests, blood, stool and breath, are the usual starting point. Endoscopy is reserved for situations where a direct look inside the stomach adds important information.
A Cochrane review published in 2018 that evaluated dozens of studies concluded that the urea breath test and the stool antigen test have the highest accuracy for both initial diagnosis and for confirming eradication after treatment. The blood antibody test scored lower on both counts. This finding is important because many clinics in the region still use the blood test as a routine check after treatment, which can give false reassurance.
The regional consensus published in 2025 by gastroenterology experts from across the Middle East now gives clear guidance on which test to use at which stage, and emphasises the importance of confirming eradication rather than assuming treatment worked.
Comparing the four H. pylori tests
| Test | How it works | Good for diagnosis | Good for confirming cure |
|---|---|---|---|
| Blood antibody test | Detects IgG antibodies to H. pylori in blood | Yes, but lower accuracy | No: antibodies persist for months after clearance |
| Stool antigen test | Detects H. pylori proteins shed in stool | Yes, high accuracy | Yes, at least two weeks after stopping treatment |
| Urea breath test (UBT) | Detects CO2 produced if H. pylori breaks down labelled urea | Yes, very high accuracy | Yes, best single test for confirming eradication |
| Endoscopy and biopsy | Direct view of stomach with tissue sample | Yes, most thorough | Possible but reserved for specific situations |
Why the blood antibody test cannot confirm cure
The blood antibody test measures immunoglobulin G antibodies that your immune system produces in response to the infection. The problem is that these antibodies stay in your bloodstream for many months, sometimes more than a year, even after H. pylori has been completely eliminated. A positive result therefore only tells you that you have been infected at some point, not whether the bacterium is present right now.
The Cochrane review found that the blood test is the least accurate of the four options for initial diagnosis as well. It is used in some settings because it is simple and widely available, but if the question is whether your treatment course worked, the blood test will give you an answer that cannot be trusted.
If your doctor orders a blood test after you have finished antibiotic treatment, it is worth asking whether a breath test or stool antigen test would give a clearer answer. Many patients complete a full course of antibiotics and then receive a positive blood antibody result, and incorrectly conclude that the treatment failed.
The urea breath test: why it is the gold standard
The urea breath test works on a simple principle. You swallow a capsule or drink a solution containing urea labelled with a special carbon isotope. If H. pylori is living in your stomach, it produces an enzyme called urease that breaks down the urea, releasing labelled carbon dioxide that you breathe out. A technician measures the level of this labelled gas in your breath sample.
The test is painless, involves no needles, and takes around half an hour at the clinic. A study published in the American Journal of Gastroenterology in 2002 confirmed that both the breath test and the stool antigen test reliably distinguish between active infection and successful eradication in the weeks after treatment.
One preparation step is critical. You must stop antibiotics at least four weeks before the test, and stop proton pump inhibitors such as omeprazole or pantoprazole at least two weeks before. These drugs suppress H. pylori without eliminating it, so a patient who takes the test while still on a PPI can get a false negative result and believe, wrongly, that the infection is gone.
The stool antigen test: a practical alternative
The stool antigen test detects proteins from living H. pylori bacteria shed into the faeces. It matches the breath test in accuracy for both diagnosis and confirmation of cure, and it is easier to carry out in laboratories that do not have the equipment for breath testing. You collect a small stool sample at home using a container provided by the lab and return it within the time frame they specify.
The same preparation rules apply: stop antibiotics four weeks before and proton pump inhibitors two weeks before, or the result may be falsely negative. Beyond that, there is no fasting needed and no special procedure. The result usually comes back within one to three days.
The stool antigen test is particularly useful for children who find the breath test difficult, and for anyone in a location where breath test equipment is not available. A study from the Arab Journal of Urology noting semen quality differences across Arab countries has no bearing on this, but regional laboratory infrastructure does vary considerably, and the stool test is more widely accessible across the region than the breath test.
How to prepare for the breath test or stool antigen test
- 1Stop all antibiotics at least four weeks before the test
- 2Stop proton pump inhibitors such as omeprazole or pantoprazole at least two weeks before
- 3Stop antacids for at least one day before the test
- 4Fast for at least two hours before the urea breath test
- 5Tell the lab about all medicines you take so they can give you precise instructions
Endoscopy: when is it necessary?
Endoscopy allows the doctor to look directly at the stomach lining through a thin flexible camera passed down the throat, and to take a tiny tissue sample for laboratory analysis. The lab can detect H. pylori in the biopsy by examining the tissue under a microscope and by a rapid urease test on the sample itself. It is the most thorough diagnostic tool available.
Endoscopy is not the routine first step for most patients with suspected H. pylori. The regional 2025 consensus recommends it for patients above a certain age threshold, for those who have warning symptoms such as difficulty swallowing, significant weight loss, or bleeding, and for those who do not respond to a standard treatment course. In these situations, directly viewing the stomach and confirming the absence of other serious conditions matters more than a simple non-invasive test.
Antibiotic resistance complicates treatment in the region, and where endoscopy is performed and a tissue sample is taken, the laboratory can sometimes test which antibiotics the specific H. pylori strain is sensitive to. This culture and sensitivity testing helps the doctor choose an antibiotic combination that is more likely to work the first time.
Antibiotic resistance: the regional challenge
A systematic review published in Clinical Microbiology Reviews in 2022 documented rising antibiotic resistance rates in H. pylori across many regions of the world, driven partly by widespread antibiotic use without prescription. In many Arab countries, antibiotics can be bought over the counter, which means patients commonly take incomplete or inappropriate courses that allow bacteria to develop resistance.
The practical consequence is that the antibiotic combination that worked for your neighbour or a family member may not work for you, because the strain of H. pylori circulating in the community may be resistant to those drugs. This is one reason why self-treatment without a doctor's guidance is likely to fail and may make the infection harder to treat afterwards.
Your doctor selects the antibiotic combination based on local resistance patterns and the options available in your area. Treatment usually involves two antibiotics alongside a proton pump inhibitor, taken for one to two weeks. Once you finish the course, confirming eradication with a breath test or stool antigen test four weeks later is not optional. The symptoms settling is not proof that the infection is gone.
Does a positive result always mean treatment?
Many people carry H. pylori without any symptoms or ulcers and live with it for years without problems. The decision to treat is based on whether you have a confirmed peptic ulcer, persistent symptoms such as chronic indigestion that is affecting your quality of life, or other risk factors your doctor judges to be significant.
The first regional consensus on H. pylori management published in 2025 provides guidance for clinicians in the Middle East on when to treat and which regimens to prefer. It does not recommend blanket treatment of every positive result, and it acknowledges that the balance between the benefits of eradication and the risks of antibiotic overuse is an active consideration in the region.
When treatment is decided, your role is to complete the full course even if symptoms improve quickly. Stopping early because you feel better is one of the most common reasons treatment fails and leaves a resistant strain behind. After finishing, the confirmation test is the final step that closes the loop properly.
Prevention and everyday habits
Prevention starts with food and water hygiene. Washing hands thoroughly before eating and after using the toilet, drinking water from a reliable treated source, and eating at places where food handling standards are known, all reduce the risk of acquiring H. pylori. In parts of the region where tap water quality is inconsistent, using filtered or bottled water for drinking and food preparation is a practical step.
Within a household, if one family member is found to have H. pylori with a confirmed ulcer or significant symptoms, it is worth discussing with a doctor whether close family members should be tested. People who share cooking, utensils, and meals are at higher exposure, and children in the home are particularly vulnerable because their immune systems are still developing.
The high prevalence of H. pylori across the Arab world does not mean infection is inevitable. Raising hygiene standards at home, improving water access, and seeking early assessment when digestive symptoms persist are the practical tools for reducing the serious complications this otherwise invisible bacterium can cause over years.
The Sihtak app lets you keep a record of your H. pylori test results over time, including the test type, the date, and whether you were on any medication that could affect the result. You can compare your pre-treatment and post-treatment results side by side, and share a clear summary with your doctor at your next visit. It keeps your health history organised even when you move between clinics or cities.
Frequently asked questions
Can I test myself for H. pylori at home?
Rapid home test kits for H. pylori are sold in some pharmacies, but they are blood-based antibody tests with lower accuracy than lab-based methods. They may serve as a rough first pointer, but diagnosis and treatment decisions should always involve a doctor and a proper lab test.
How long does the stool antigen test take to get a result?
Most laboratories return a stool antigen test result within one to three days. The urea breath test is often faster and may give a result the same day or the next morning, depending on the clinic.
My blood test came back positive after treatment. Does that mean the treatment failed?
Not necessarily. Blood antibody tests remain positive for many months after successful eradication, so a positive result after treatment does not mean the infection is still active. You need a urea breath test or stool antigen test, performed at least four weeks after finishing antibiotics, to answer that question accurately.
My doctor said I do not need treatment even though my result is positive. Why?
Many people harbour H. pylori without any ulcer or significant symptoms and do not benefit enough from antibiotic treatment to justify the side effects and resistance risk. Your doctor weighs the evidence for your specific situation. If you have no symptoms and no confirmed ulcer, watchful waiting may be the right decision.
When should I have the confirmation test after treatment?
Wait at least four weeks after finishing the last antibiotic dose, and at least two weeks after stopping a proton pump inhibitor, before doing a breath test or stool antigen test. Testing earlier risks a falsely negative result that gives you false confidence the infection is cleared when it may not be.
Can H. pylori come back after successful eradication?
Reinfection after a confirmed cure is possible but uncommon in higher-income settings with clean water. In areas with poor sanitation or where the infection is very prevalent, the reinfection rate is somewhat higher. Good food hygiene and clean water remain the best long-term protection.
Does H. pylori infection always cause stomach cancer?
No. The vast majority of people infected with H. pylori never develop stomach cancer. The infection does raise long-term risk compared with those who are not infected, and eliminating it is considered a preventive measure for stomach cancer in high-risk individuals. But it is one of many factors, and most infected people have no serious outcome.
Can H. pylori spread within a household?
Yes. The bacterium spreads through close contact, shared utensils, and possibly saliva. Multiple members of the same household can be infected, particularly in settings with shared cooking and eating arrangements. This is why some doctors discuss screening close family members when one person is found to have H. pylori with a confirmed ulcer.
Sources
- Sharara AI, Alsohaibani FI, Alsaegh A et al: First regional consensus on the management of Helicobacter pylori infection in the Middle East, World journal of gastroenterology, 2025
- Best LM, Takwoingi Y, Siddique S et al: Non-invasive diagnostic tests for Helicobacter pylori infection, The Cochrane database of systematic reviews, 2018
- Hussein NR: Helicobacter pylori and gastric cancer in the Middle East: a new enigma?, World journal of gastroenterology, 2010
- Ansari S, Yamaoka Y: Helicobacter pylori Infection, Its Laboratory Diagnosis, and Antimicrobial Resistance: a Perspective of Clinical Relevance, Clinical microbiology reviews, 2022
- Perri F, Manes G, Neri M et al: Helicobacter pylori antigen stool test and 13C-urea breath test in patients after eradication treatments, The American journal of gastroenterology, 2002
- McConaghy JR, Decker A, Nair S et al: Peptic Ulcer Disease and H. pylori Infection: Common Questions and Answers, American family physician, 2023
This content is for health education only and is not a substitute for medical advice. If you have symptoms that worry you, see your doctor.