beginning of content

Stomach ulcers

4-minute read

Key facts

  • A stomach ulcer is an open sore in the lining of your stomach.
  • Stomach ulcers are usually caused by an infection from the bacteria helicobacter pylori or from taking non-steroidal anti-inflammatory medicines.
  • Stomach ulcers are usually treated with medicines to reduce the amount of acid in your stomach — your doctor will prescribe these with or without antibiotics.
  • The complications of stomach ulcers can be life-threatening and include bleeding in your stomach.

What is a stomach ulcer?

Stomach ulcers are open, inflamed sores in the lining of your stomach. They are also known as gastric ulcers. Ulcers can also occur in the upper part of the small intestine — these are known as duodenal ulcers. Together, stomach ulcers and duodenal ulcers are known as peptic ulcers.

What causes stomach ulcers?

The most common causes of stomach ulcers are:

What are the symptoms of a stomach ulcer?

The most common symptom is pain in the upper abdomen (tummy area) just below the breastbone (sternum). It usually comes and goes. It may be worse before meals and get better after eating or taking antacids. Sometimes, it will get worse after eating. The pain may wake you from sleep.

Other less common symptoms include:

When should I see my doctor?

Seek medical attention immediately if you experience:

How are stomach ulcers diagnosed?

Stomach ulcers are usually diagnosed by endoscopy — a flexible tube with a tiny camera that is passed into the mouth and down to the stomach. This procedure allows your doctor to see your stomach and check if there are any ulcers. It is usually done under general anaesthetic.

If you have an ulcer, you may be tested for helicobacter pylori (H. pylori) infection. This can be done with a breath test, a blood test, a stool test or a via a biopsy sample collected from the stomach lining during an endoscopy.

How are stomach ulcers treated?

If you have a stomach ulcer, your doctor may prescribe a combination of:

You will only need surgery if you have severe bleeding or a perforation (hole) in your stomach or small intestine.

To help manage symptoms, you can also:

Can stomach ulcers be prevented?

If you have a helicobacter pylori infection, your doctor will prescribe antibiotics to treat the infection and prevent you from getting another ulcer. If H. pylori is found before you develop an ulcer, treatment can stop you from getting an ulcer in the first place.

You can prevent stomach ulcers caused by NSAID medicines by taking the lowest effective dose of NSAIDs and taking them for the shortest possible amount of time. Your doctor may recommend also taking a medicine that lowers stomach acid while you take NSAIDs.

Complications of stomach ulcers

There are 2 main complications of stomach ulcers — these can both be emergencies:

Resources and support

Visit the Gastroenterological Society of Australia for:

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