Skip to textbook content
Doctor’s PassportTextbook
TopicsAll topics

Loading topic navigation…

Textbook navigation
TopicsAll topics

Loading topic navigation…

Educational draft · awaiting clinical reviewUse Rapid for revision, not patient-care decisions. Check current national and local guidance and the BNF or BNFC before acting.

Helicobacter pylori testing and eradication

Gastroenterology and hepatology · UK scope · Sources checked 27 Aug 2026 · Clinical review pending

RapidFull
!
Escalate

H. pylori infection itself is not managed as an emergency, but haematemesis, melaena, shock, sudden generalised abdominal pain, guarding or free perforation overrides routine test-and-treat care. Use the acute upper-GI bleeding or perforated-viscus pathway first. Samples obtained during emergency endoscopy can be falsely negative during bleeding or acid suppression, so arrange a later active-infection test when suspicion remains rather than declaring the infection absent.

Synopsis

Choose a test that demonstrates active Helicobacter pylori infection, prepare the patient to avoid false-negative results, select eradication treatment around allergy and antibiotic exposure, and confirm cure when clinically required.

  • H. pylori causes chronic active gastritis and is a major driver of duodenal and gastric ulcer, gastric adenocarcinoma and gastric MALT lymphoma.
  • Use a carbon-13 urea breath test or validated stool antigen test for uncomplicated non-invasive assessment because each detects current infection rather than remote antibody exposure.
  • Stop a proton-pump inhibitor for two weeks before breath or stool testing and avoid antibiotics or bismuth for four weeks where clinically safe to reduce false-negative results.
  • Near-patient serology performs inadequately and should not be used; laboratory serology cannot distinguish active from past infection and cannot prove eradication.
  • During indicated endoscopy, histology and rapid urease testing can diagnose infection, but biopsy site, recent PPI, bleeding and patchy colonisation affect sensitivity.
  • NICE first-line eradication uses a seven-day twice-daily PPI-based combination with two antibiotics, chosen around true penicillin allergy and previous clarithromycin or metronidazole exposure.
  • Treatment failure should trigger adherence and exposure review, an alternative regimen and local antimicrobial advice rather than repetition of the same antibiotic pair.
  • A test of cure is particularly important after ulcer disease, persistent symptoms, MALT lymphoma or later-line treatment; perform it after the appropriate medicine washout.

Key red flags

Cancer-pathway override

Dysphagia, qualifying age–weight-loss combinations, suspicious mass, progressive vomiting or unexplained iron-deficiency anaemia requires appropriate expedited investigation; a stool test must not become a gatekeeper.

Acute ulcer complication

Coffee-ground vomiting, melaena, syncope, sudden severe pain or peritonism may represent bleeding or perforation. Stabilise and involve acute services before routine eradication planning.

Investigation priorities

01
Carbon-13 urea breath testFirst step

Detect urease activity from current gastric H. pylori non-invasively.

Management branches

PrepareCreate a valid test window

Non-invasive H. pylori testing is appropriate and no urgent endoscopic feature supersedes it.

  1. Check PPI, antibiotic and bismuth use, arrange a two-week PPI washout and four-week antibiotic or bismuth interval when safe, and offer temporary symptom measures that do not invalidate testing.
  2. Choose carbon-13 breath or validated laboratory stool antigen testing based on availability, patient preference and ability to provide a valid specimen; avoid office antibody kits.
  3. If stopping acid suppression is unsafe or endoscopy is already indicated, discuss an alternative diagnostic strategy rather than accepting a predictably low-sensitivity result.

Key medicines

First-line PPI-based H. pylori eradication combinationNICE uses seven days of a PPI twice daily plus amoxicillin 1 g twice daily and either clarithromycin or metronidazole twice daily; confirm current antibiotic strengths and selection in the local formulary.Never prescribe antibiotic monotherapy. Verify immediate and severe delayed penicillin allergy, previous macrolide or nitroimidazole exposure, pregnancy, liver and renal function, QT-prolonging combinations and major CYP3A interactions; use the penicillin-allergy or rescue pathway when indicated.
Open full textbook →Answer 2 questions
Sources and review status4 sources · checked 27 Aug 2026 · clinical review pending+
Sources

Sources and review status

National guidance is shown before implementation-dependent detail. Typical adult dose examples remain subject to patient factors, contraindications and the live BNF or specialist protocol. Source check completed 27 Aug 2026; clinical approval remains outstanding.

  • NICE CG184: Dyspepsia and gastro-oesophageal reflux diseaseNational testing, first- and second-line eradication, ulcer follow-up and antimicrobial-exposure recommendations.
  • NICE QS96: H. pylori testing conditionsQuality standard requiring a two-week PPI washout before breath or stool testing.
  • British Infection Association H. pylori test-and-treat guidanceUK active-test selection, PPI and antibiotic washout, serology limitations and resistance-aware prescribing resource.
  • Omeprazole 20 mg capsules SmPCLicensed eradication combinations, ulcer dosing context, contraindications and interaction information.

Editorial contact: Doctor’s Passport editorial team. Source-check date is separate from clinical approval. Report a content problem · Content changes

Authoring stateRapid draftClinical stateAwaiting reviewJurisdictionUnited Kingdom