1. Home
  2. Canada
  3. Testing

How long should you stop medicines before an H. pylori test?

Medically reviewed by Dr Paul Frank, Gastroenterologist, on .
Written by the HpyloriTest.com editorial team. Updated on .

Key facts

  • PPIs such as Losec and Pantoloc: stop 2 weeks before, if your doctor agrees.
  • Antibiotics and bismuth (Pepto-Bismol): don't take them for 1 month before a stool test.
  • H2 blockers such as Pepcid aren't on the list of medicines to stop before a stool test.

Which medicines need a break before the test?

For a stool test, these need a break first (HealthLink BC):

Medicine (Canadian brands) Before your test
PPIs: Losec, Nexium, Pantoloc, Tecta, Pariet, Prevacid, Dexilant Ask your doctor. If they agree, stop 2 weeks before
Bismuth: Pepto-Bismol Don't take it for 1 month before
Antibiotics Don't take them for 1 month before

PPIs you buy at a pharmacy for heartburn count too. If you're taking antibiotics now, finish the course, then wait 1 month. Never cut a course of antibiotics short.

What about Pepcid (famotidine)?

Pepcid is an H2 blocker. The list for a stool test covers PPIs, antibiotics and bismuth only (HealthLink BC). If you're not sure about a medicine, ask your doctor or pharmacist.

Tell your doctor about your medicines

Tell your doctor about all the prescription and non-prescription medicines you take (HealthLink BC). That way they can tell you what to stop and when.

Reading your result

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

When to see a doctor instead

See a doctor 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 stools, call your doctor now. Call 911 if you have sudden, severe belly pain that won't stop.

Test at home today

One stool antigen test with everything you need. Your result in 10 minutes, delivered anywhere in Canada.

$49.00

Sources

  1. HealthLink BC. Helicobacter pylori tests. Current as of October 31, 2022. www.healthlinkbc.ca/tests-treatments-medications/medical-tests/helicobacter-pylori-tests
  2. HealthLink BC. Peptic ulcer disease. Current as of March 22, 2023. www.healthlinkbc.ca/healthwise/peptic-ulcer-disease
  3. HealthLink BC. Gastroesophageal reflux disease (GERD). Current as of March 22, 2023. healthlinkbc.ca/health-topics/gastroesophageal-reflux-disease-gerd

First published November 2026.

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