1. Home
  2. UK
  3. Treatment

How is H. pylori treated?

Written by the HpyloriTest.com editorial team. Updated on .

Key facts

  • With a combination of 3 or 4 different tablets. One reduces stomach acid and the others are antibiotics (Guts UK).
  • It works much better if you take the whole course exactly as prescribed (Guts UK).
  • At least 4 weeks after you finish, you can check at home that it worked.

Which medicines are used first?

UK guidance for GPs sets out:

  • a proton pump inhibitor (PPI), such as omeprazole or lansoprazole
  • amoxicillin
  • clarithromycin or metronidazole

All are taken twice a day (UK guidance for GPs).

What if you're allergic to penicillin?

Amoxicillin is a penicillin. The guidance gives a PPI with clarithromycin and metronidazole (UK guidance for GPs).

What are the side effects?

Most people have none. Some notice a strange taste in the mouth, feeling sick or a headache (Guts UK).

What if it doesn't work?

Treatment doesn't always get rid of the bacteria. If a test is still positive, further treatment is possible (Guts UK), using antibiotics you haven't had before (UK guidance for GPs).

How do you check the treatment worked?

Finish your whole course first. Then test at least 4 weeks after your last dose of antibiotics. If you take a PPI, ask your GP about stopping it 2 weeks before the test (UK guidance for GPs). A poo test can be used to confirm the infection has been cleared (Guts UK), and you can do one at home. More in testing after treatment.

What your result means

  • C line only: H. pylori not detected.
  • C and T lines: H. pylori is still there. Take your result to your GP to talk about further treatment.
  • No C line: the test didn't work. Use a new test.

When to see a GP instead

See a GP straight away, instead of testing at home, if you have:

  • trouble swallowing
  • weight loss you can't explain
  • vomiting that keeps coming back

If you're vomiting blood or passing black poo, call 999.

Frequently asked questions

How long is the course?

See how long H. pylori treatment takes.

Test at home today

One stool antigen test with everything you need. Your result in 10 minutes, delivered to the UK.

$49.00

Sources

  1. Guts UK. Helicobacter pylori. Published November 2025. gutscharity.org.uk/advice-and-information/conditions/helicobacter-pylori/
  2. Public Health England (now UK Health Security Agency). Test and treat for Helicobacter pylori (HP) in dyspepsia: quick reference guide for primary care. August 2019. assets.publishing.service.gov.uk/media/5d6ceea740f0b607c946aa65/HP_Quick_Reference_Guide_v18.0_August_2019_change_highlighted.pdf
  3. NHS. Stomach ulcer. Page last reviewed 12 August 2025. www.nhs.uk/conditions/stomach-ulcer/

First published November 2026.

How to test for H. pylori at home (39 sec)