Healthdirect Free Australian health advice you can count on.

Medical problem? Call 1800 022 222. If you need urgent medical help, call triple zero immediately

healthdirect Australia is a free service where you can talk to a nurse or doctor who can help you know what to do.

beginning of content

Gastritis medication

3-minute read

Understanding gastritis medication

Gastritis occurs when the stomach lining becomes inflamed (swollen and red). It can last for a short time then go away on its own, or it can last a long time.

Gastritis has several causes, including infection. Treatment will depend on the cause.

Sometimes the symptoms of gastritis can be eased by eating and drinking in ways that don’t irritate the stomach. These include:

However, sometimes medication is needed. Medication may be used to:

  • reduce the production of stomach acid
  • make the stomach less acidic
  • treat an infection with Helicobacter pylori, or H. pylori, which is a common cause of gastritis

Types of gastritis medications

H2 blockers

H2 blockers are medicines that reduce the amount of acid in the stomach. They include cimetidine, nizatidine and famotidine.

Another H2 blocker called ranitidine has been suspended by the Therapeutic Goods Administration (TGA).

For more information and the latest updates, see TGA's alert on ranitidine

Proton pump inhibitors

Proton pump inhibitors also reduce the amount of acid in the stomach. They include omeprazole, esomeprazole, lansoprazole, rabeprazole and pantoprazole.


Antacids work by neutralising stomach acid.

Helicobacter Pylori treatment

If you have Helicobacter Pylori, this may be treated with antibiotics such as Amoxycillin, Clarithromycin, Metronidazole, Tinidazole or Tetracycline. You will need to take these as well as medication to reduce acid. It is important to take the medications as instructed by your doctor and make sure you finish the full course of antibiotics.

Important information about gastritis medications

Proton pump inhibitors are very safe and effective for short-term use. But long-term use isn’t recommended for most people, especially older people. If you have been taking proton pump inhibitors for a long time, talk to your doctor about whether you can reduce your dose.

Antacids neutralise stomach acid but they can stop some other medications from working properly. They can also cause constipation or diarrhoea. Speak to your doctor or pharmacist about this.

If you have gastritis, discuss with your doctor:

  • the benefits of medicine for gastritis
  • the risks of medicine

See your doctor if you vomit blood or notice dark blood in your stool (poo) as these may be signs of stomach bleeding.

Looking for more medicine information?

healthdirect’s medicines section allows you to search for medicines by brand name or active ingredient. It provides useful information about medicines such as their use, whether they are available on the Pharmaceutical Benefits Scheme and product recalls.

Learn more here about the development and quality assurance of healthdirect content.

Last reviewed: January 2021

Back To Top

Need more information?

These trusted information partners have more on this topic.

Top results

Gastritis - Better Health Channel

Gastritis may be caused by many factors including infection, alcohol, particular medications and some allergic and immune conditions.

Read more on Better Health Channel website

Stomach ulcer - Better Health Channel

Most stomach ulcers are caused by infection or medication, not stress or poor diet.

Read more on Better Health Channel website

Indigestion -

Indigestion is a symptom involving pain in the stomach and sometimes heartburn or reflux, which may result from several medical conditions.

Read more on myDr website

Got gas? Let's explore symptoms, causes and relief | Queensland Health

All about gas and bloating, burps and passing wind

Read more on Queensland Health website

Urea Breath Test for Helicobacter pylori | HealthEngine Blog

Last updated: 6 December 2017

Read more on HealthEngine website

How samples are collected - Pathology Tests Explained

This page aggregates information that directly links to Pathology Tests Explained

Read more on Pathology Tests Explained website

Hangovers: how your body is affected -

Find out what happens when you have a hangover - the unpleasant consequence of having overindulged. See what can be done to make a hangover better and how to prevent it in the first place.

Read more on myDr website

Healthdirect 24hr 7 days a week hotline

24 hour health advice 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 and advice

Australian Government, health department logo ACT Government logo New South Wales government, health department logo Northen Territory Government logo Government of South Australia, health department logo Tasmanian government logo Victorian government logo Government of Western Australia, health department logo

Healthdirect Australia acknowledges the Traditional Owners of Country throughout Australia and their continuing connection to land, sea and community. We pay our respects to the Traditional Owners and to Elders both past and present.