How long does H. pylori treatment take?
Written by the HpyloriTest.com editorial team. Updated on .
Key facts
- 7 or 14 days. UK guidance for GPs sets out a 7-day course (UK guidance for GPs), and a 2-week course is more effective (Guts UK).
- Then you wait at least 4 weeks before testing that it worked (UK guidance for GPs).
- You can do that test at home.
What do you take?
A medicine that reduces stomach acid and two antibiotics, all twice a day (UK guidance for GPs). More in how H. pylori is treated.
Does it matter if you miss doses?
Yes. Treatment is much more successful if the whole course is taken exactly as prescribed (Guts UK).
When do you feel better?
Symptoms may take time to settle after treatment (Guts UK). Feeling better doesn't prove the bacteria have gone, which is why a test is used.
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
What if the test is still positive?
Further treatment is possible (Guts UK).

Test at home today
One stool antigen test with everything you need. Your result in 10 minutes, delivered to the UK.
Sources
- 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
- Guts UK. Helicobacter pylori. Published November 2025. gutscharity.org.uk/advice-and-information/conditions/helicobacter-pylori/
- NHS. Stomach ulcer. Page last reviewed 12 August 2025. www.nhs.uk/conditions/stomach-ulcer/
First published November 2026.