1. Home
  2. Australia
  3. Symptoms

Can ibuprofen cause stomach ulcers?

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

Key facts

  • Yes. Anti-inflammatory painkillers (NSAIDs) such as ibuprofen and aspirin can cause stomach ulcers (Healthdirect).
  • H. pylori bacteria are the other usual cause (Healthdirect).
  • You can check for H. pylori at home with a faecal antigen test, with a result in 10 minutes.

Who is most at risk?

The risk from these painkillers is higher if you:

  • are over 65
  • smoke
  • take blood-thinning medicines

Source: Healthdirect.

How do you lower the risk?

Take the lowest dose that works, for the shortest time. Your GP may also recommend an acid-lowering medicine while you take them (Healthdirect). If the painkiller was prescribed, talk to your GP before you stop it (Healthdirect).

Why check for H. pylori as well?

Because it's the other usual cause, and it can be treated. If H. pylori is found before an ulcer develops, treatment can prevent one from forming (Healthdirect).

How to check for H. pylori at home

  1. Catch a poo sample in a clean, dry container and dip the end of the sampling stick into it.
  2. Put the stick back in the tube, then stir and turn it for about 10 seconds.
  3. Squeeze 2 drops into the round sample hole on the test.
  4. 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

Does aspirin count?

Yes. Aspirin is one of the painkillers that can cause stomach ulcers (Healthdirect).

Test at home today

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

$49.00

Sources

  1. Healthdirect Australia. Stomach ulcers. Last reviewed September 2025. www.healthdirect.gov.au/stomach-ulcers
  2. Healthdirect Australia. Gastritis. Last reviewed March 2025. www.healthdirect.gov.au/gastritis
  3. 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
  4. Healthdirect Australia. Helicobacter pylori. Last reviewed December 2025. www.healthdirect.gov.au/helicobacter-pylori

First published November 2026.

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