Do you need antibiotics for a stomach ulcer?
Written by the HpyloriTest.com editorial team. Updated on .
Key facts
- Only if H. pylori is the cause. The antibiotics are there to fight H. pylori (Healthdirect).
- Ulcers are treated with acid-reducing medicine, with or without antibiotics (Healthdirect).
- A test shows whether you have H. pylori, and you can do one at home in 10 minutes.
Which antibiotics are used?
In Australia the first choice is clarithromycin with amoxicillin, taken with the acid-reducing medicine esomeprazole for 14 days. If you're allergic to penicillin, metronidazole replaces the amoxicillin (AJGP 2025). More in which antibiotics treat H. pylori.
Why does the cause matter?
Stomach ulcers are usually caused by H. pylori or by anti-inflammatory painkillers such as aspirin and ibuprofen (Healthdirect). Antibiotics are only for H. pylori.
How do you find out?
With an H. pylori test. A poo test is one of the tests doctors use (Healthdirect), and it's the test in our kit.
How to check for H. pylori at home
- Catch a poo sample in a clean, dry container 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 Nexium or Somac. If they agree, stop it 2 weeks before you test. Test at least 4 weeks after your last dose of antibiotics or bismuth (AJGP 2025), and never cut a course of antibiotics short.
Reading your result
- 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 GP instead
See your 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 000.
Frequently asked questions
Do I need to finish the antibiotics if I feel better?
Yes. Finish the full course (Healthdirect).

Test at home today
One faecal antigen test with everything you need. Your result in 10 minutes, delivered anywhere in Australia.
Sources
- Healthdirect Australia. Stomach ulcers. Last reviewed September 2025. www.healthdirect.gov.au/stomach-ulcers
- Hopkins Z, Diab J, Obeyesekera K, Tse T, Wu B. Helicobacter pylori: rise of the resistance. Australian Journal of General Practice. 2025;54(10). www1.racgp.org.au/ajgp/2025/october/helicobacter-pylori-rise-of-the-resistance
- Healthdirect Australia. Helicobacter pylori. Last reviewed December 2025. www.healthdirect.gov.au/helicobacter-pylori
First published November 2026.