beginning of content

Gastritis medicines

6-minute read

Key facts

  • There are different medicines used to treat gastritis (inflammation of the stomach).
  • Gastritis medicines treat both your symptoms and the inflammation in your stomach.
  • Acid-reducing medicines and antibiotics are the main types of medicines used to treat gastritis.
  • If you have H.pylori infection, take the whole course of treatment.

What are gastritis medicines?

Gastritis medicines help relieve your symptoms and treat the cause of gastritis.

Gastritis is when your stomach lining becomes inflamed (irritated, swollen and red). It has several causes, including infection. Your treatment will depend on the cause.

How do gastritis medicines work?

Gastritis medicines may:

What types of gastritis medicines might I be prescribed?

The medicines your doctor prescribes will depend on:

H2 blockers

H2 blockers are medicines that reduce stomach acid. They include:

In 2020, supply of medicines containing ranitidine was suspended by the Therapeutic Goods Administration (TGA). For more information read the TGA alert.

The problems with medicines containing ranitidine were resolved in late 2024 and it is available on prescription or over the counter once again.

Speak to your doctor or pharmacist if you have questions about medicine changes.

Proton pump inhibitors (PPIs)

PPIs also reduce the amount of acid in your stomach. They include:

Antacids

Antacids work by neutralising the acid that is in your stomach. They may help improve your symptoms. You will also need to take other medicines to properly treat gastritis.

Helicobacter pylori treatment

If you have an infection with Helicobacter pylori, this may be treated with a combination of antibiotics, such as:

You will need to take these as well as a medicine to reduce stomach acid — usually esomeprazole.

It's important to take these medicines as instructed by your doctor. Make sure you finish the full course of antibiotics.

If you are allergic to penicillin, your doctor may recommend an antibiotic called metronidazole instead of amoxycillin.

After treatment, your doctor will order a test to check it has worked.

As well as gastritis, H. pylori infection can cause:

Do gastritis medicines have any side effects or risks associated with them?

If you have gastritis, discuss with your doctor:

H2 blockers

H2 blockers don't cause many side effects. Rare side effects are:

Proton pump inhibitors (PPIs)

PPIs also cause few side effects. The most common side effects of PPIs are:

Proton pump inhibitors are effective for short-term use. Long-term use isn't recommended for most people, especially older people.

Antacids

Antacids can stop some other medicines from working properly. Take antacids at least 1 hour before or 1 hour after taking your other medicines. Antacids can also cause constipation or diarrhoea. Speak to your doctor or pharmacist about this.

If you take antacids regularly as an older person, they could increase your chances of getting kidney problems over time.

Helicobacter pylori treatment

Possible side effects from H. pylori treatment are:

You should not drink alcohol if you are taking metronidazole. This can cause an unpleasant reaction.

Rare but serious side effects can include:

When should I see my doctor?

See your doctor if you have ongoing gastritis symptoms. Also see your doctor if you have side effects when taking your gastritis medicines.

Go to the nearest hospital emergency department if you vomit blood or notice dark blood in your stool (poo) as these may be signs of stomach bleeding.

FIND A HEALTH SERVICE — The Service Finder can help you find doctors, pharmacies, hospitals and other health services.

Are there any alternatives to these medicines?

Avoiding non-steroidal anti-inflammatory drugs (NSAIDS) and alcohol can improve gastritis in some people.

The treatment of gastritis depends on the cause.

Resources and support

The Gastroenterological Society of Australia (GESA) has information on conditions that affect your gastrointestinal system.

The Gut Foundation also has information on gastrointestinal and digestive health.

You can also call the healthdirect helpline on 1800 022 222 (known as NURSE-ON-CALL in Victoria). A registered nurse is available to speak with 24 hours a day, 7 days a week.

LOOKING FOR A MEDICINE? — To search by brand name or active ingredient, use the Medicines information search feature.

Check your symptoms Find a health service

Healthdirect 24hr 7 days a week hotline

24 hour health advice and information you can count on

1800 022 222

Government Accredited with over 140 information partners

We are a government-funded service, providing quality, approved health information