Taking anti-inflammatories long term? Why H. pylori matters
Medically reviewed by Dr Leon Fisherman, Gastroenterologist & Interventional Endoscopist, on .
Written by the
HpyloriTest.com editorial team. Updated on .
Key facts
- If you take NSAIDs long term, it helps to know whether you have H. pylori.
- H. pylori and long-term use of anti-inflammatory medicines (NSAIDs) are the most common causes of peptic ulcers (Healthify).
- You can check for H. pylori at home with a faecal antigen test, with a result in 10 minutes.
Why does H. pylori matter with NSAIDs?
In people taking NSAIDs, H. pylori infection can increase the risk of stomach bleeding or an ulcer, and testing may be needed for people who need long-term NSAID treatment (bpac nz).
Which medicines are NSAIDs?
NSAIDs include aspirin and ibuprofen (Healthify). Don't stop or change any medicine your doctor prescribed without talking to them first.
How to do the home test
- Catch a poo sample and dip the end of the sampling stick into it.
- Put the stick back in the tube, then stir and turn it for about 10 seconds.
- Squeeze 2 drops into the round sample hole on the test.
- Lay the test flat and read it at 10 minutes.
Our step-by-step guide and video show each stage.
Before you test
Ask your GP before stopping a PPI such as omeprazole or pantoprazole. If they agree, stop it 2 weeks before you test. Don't take antibiotics, or bismuth (found in some indigestion remedies), for 4 weeks before the test (bpac nz), and never cut a course of antibiotics short.
What your result means
- C and T lines: H. pylori detected. Take your result to your GP 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 urgently, 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, passing black poo or have sudden, severe belly pain, call 111.
Frequently asked questions
Do I need to see a GP first?
No. You can order our kit online and test at home.

Test at home today
One faecal antigen test with everything you need. Your result in 10 minutes, delivered anywhere in New Zealand.
Sources
- Healthify He Puna Waiora. Peptic ulcer. Reviewed 8 November 2022. healthify.nz/health-a-z/p/peptic-ulcer
- bpac nz. Helicobacter pylori. Published July 2022, updated 27 August 2026. bpac.org.nz/2022/h-pylori.aspx
- Healthify He Puna Waiora. Helicobacter pylori. Reviewed 2 October 2025. healthify.nz/health-a-z/h/helicobacter-pylori
First published November 2026.