Digestion & Liver

H. pylori: Getting the Right Test, Treatment and Retest

Share

“You’ve got the stomach bug” is something many people in Egypt hear after complaining of heartburn, bloating or stomach pain. Helicobacter pylori (H. pylori) is a bacterium that lives in the stomach lining and is one of the most common chronic infections in the world. Cleveland Clinic notes that it affects more than half the world’s population, yet causes no illness in most of them.

The real problem is not how common it is, but wrong diagnosis and incomplete treatment. This article explains the right tests, how long treatment lasts and when to retest.

How it spreads and what it can cause

H. pylori is usually picked up in childhood and is more common in crowded places with poor sanitation. Most people never notice it, but in some it can cause:

  • Inflammation of the stomach lining (gastritis).
  • Stomach or duodenal ulcers.
  • A higher long-term risk of stomach cancer, although most infected people never develop it.

Possible symptoms

  • Burning or dull pain in the upper tummy, often a few hours after eating or at night.
  • Bloating, burping and indigestion.
  • Nausea or vomiting.
  • Poor appetite or feeling full quickly.
  • Unexplained weight loss.

These symptoms are not specific to H. pylori. Irritable bowel, acid reflux and overuse of painkillers can all cause similar complaints, which is why proper testing comes before treatment.

Which test is right?

Urea breath test

You breathe into a bag or tube, drink a special solution, then breathe out again. The bacteria change the make-up of your exhaled breath. You usually need to fast for several hours beforehand.

Stool antigen test

This looks for parts of the bacteria in a stool sample. Along with the breath test, it is the most widely used because both detect active infection.

Blood antibody test

This is the test many labs offer most, but it is the least useful for diagnosis. MedlinePlus explains that antibodies can stay in the blood after a past infection has cleared, so a positive result does not necessarily mean current infection. It is not generally recommended for diagnosis and is never suitable for checking whether treatment worked.

Endoscopy

This is used when there are warning signs, in older patients, or when other tests are not enough, and a small tissue sample is taken from the stomach lining.

Medicines that can spoil the result

Some medicines suppress the bacteria temporarily, causing a falsely negative test. The American College of Gastroenterology (ACG) advises stopping:

  • Proton pump inhibitor acid medicines (such as omeprazole, esomeprazole and similar) for two weeks before testing.
  • Antibiotics and bismuth products for four weeks before testing.

Do not stop a prescribed medicine on your own. Ask your doctor first; they may suggest a temporary alternative for heartburn.

Treatment: how long and why finishing matters

Treatment usually combines two or more antibiotics with a strong acid-reducing medicine, sometimes with bismuth, for about 14 days. Your doctor chooses the regimen based on your situation, any drug allergies and whether you have been treated before.

  • Finish the full course even if you feel better after a few days.
  • Do not share medicine with family members or reuse an old prescription.
  • Tell your doctor about troublesome side effects rather than just stopping.
  • Avoid anti-inflammatory painkillers (NSAIDs) where you can, as they raise ulcer risk.

Repeated incomplete courses help bacteria become resistant to antibiotics, making the next treatment harder.

When and how to retest

The ACG recommends that everyone treated for H. pylori has a test of cure at least four weeks after finishing treatment, using a breath test, stool test or biopsy, not a blood test. You also need to have stopped acid medicines two weeks before.

If the test is still positive, the same treatment should not simply be repeated; your doctor will choose a different regimen.

Should the rest of the family be tested?

The ACG lists adults living with an infected person among those who may be offered testing. Talk it over with your doctor rather than having everyone take treatment without a test.

Useful questions to ask your doctor

  • Which test do you suggest for me, breath or stool, and why?
  • Which medicines should I stop before the test, and what can I use if my heartburn flares?
  • Exactly how long is the course, what side effects should I expect and how do I manage them?
  • When should I retest after treatment, and where?
  • Do my symptoms need an endoscopy, or is a test enough for now?

It also helps to bring a list of medicines you take regularly, especially painkillers and acid medicines, and any previous H. pylori results with their dates and test type.

When to see a doctor immediately

Go to the emergency department or seek urgent care if you have:

  • Black, tarry stools or blood in your stool.
  • Vomiting blood or material that looks like coffee grounds.
  • Sudden, severe tummy pain that does not ease.
  • Repeated vomiting that stops you eating or drinking.
  • Severe dizziness or fainting with stomach pain.

Book a prompt appointment if you have unexplained weight loss, difficulty swallowing, unexplained anaemia or a family history of stomach cancer, as these may call for an endoscopy.

The bottom line

H. pylori is best diagnosed with a breath or stool test rather than a blood test, treatment lasts around two weeks and must be completed, and a retest at least four weeks later confirms it has gone. This article is for general information and does not replace medical advice. If your stomach symptoms keep coming back, you can find a gastroenterologist in Cairo.

Share

Frequently asked questions

My blood test is positive. Should I start treatment?

A blood test can stay positive after an old infection. Ask your doctor about confirming active infection with a breath or stool test before treatment.

Can H. pylori come back after treatment?

If treatment does not fully work, the bacteria can persist and symptoms may return. That is why a retest is done afterwards, and you should see your doctor if symptoms come back later.

Does everyone with H. pylori need treatment?

The American College of Gastroenterology recommends treating everyone found to be infected. Your doctor will decide based on your situation and history.

Can I use a blood test to check I'm cured?

No. A breath test, stool test or biopsy at least four weeks after treatment is used instead.

Sources

  1. Cleveland Clinic — H. pylori Infection
  2. MedlinePlus — Helicobacter Pylori (H. pylori) Tests
  3. American College of Gastroenterology — ACG Guideline Highlights: Treatment of Helicobacter pylori Infection (2024)
  4. NHS — Stomach ulcer: diagnosis

This content is for health education only and does not replace advice from a qualified doctor. In an emergency, call emergency services immediately. Read the full disclaimer

Need to speak to a doctor?

Browse Gastroenterology & Endoscopy doctors and call them directly — no online booking, no commission.

Find a doctor

Related articles

Share

H. pylori: Getting the Right Test, Treatment and Retest

Scan with your phone