Gastric ulcer (stomach ulcer)

Medical Encyclopedia › G › Gastric ulcer

Digestionalso: stomach ulcer, ulcus ventriculi, peptic ulcer

A gastric ulcer is a defect in the stomach lining that goes deeper than surface inflammation. The most common causes are infection with the bacterium Helicobacter pylori and painkillers from the NSAID group. Typical is pain in the upper abdomen. With acid-reducing medicines and, if needed, treatment against Helicobacter, most ulcers resolve.

Overview

Normally a layer of mucus protects the stomach wall from its own acid. If this balance is disturbed, an ulcer can form. Doctors distinguish gastric ulcers from the more common duodenal ulcer; together they are called peptic ulcer disease. Gastritis often comes first.

Causes and risk factors

The main trigger is Helicobacter pylori, a bacterium that can colonise the stomach lining. Just as common are painkillers and anti-rheumatic drugs such as ibuprofen, diclofenac or aspirin (NSAIDs), especially in older age, at high doses or combined with corticosteroids or blood thinners. Smoking delays recovery. Stress ulcers can develop in severely ill people in intensive care. Spicy food or stress alone do not cause ulcers.

Symptoms

Typical is burning or gnawing pain in the upper abdomen, which with gastric ulcers often gets worse soon after eating. Bloating, nausea and loss of appetite are common. With NSAIDs in particular, ulcers often cause no symptoms for a long time and are only noticed when they bleed.

Diagnosis

The key test is gastroscopy. Tissue samples are taken to detect Helicobacter and to rule out stomach cancer. Helicobacter can also be detected with a breath test or a stool test. Acid-reducing medicines should be paused beforehand as agreed with the doctor, because they can distort the result.

Treatment

The basis is proton pump inhibitors, which strongly reduce acid production, usually for several weeks. If Helicobacter is found, guidelines recommend eradication treatment with an acid reducer and several antibiotics, for 10 to 14 days depending on the regimen, followed by a test to check success. NSAIDs should be stopped or replaced where possible. For gastric ulcers, a follow-up gastroscopy usually checks that the ulcer has closed. Bleeding is usually stopped during an emergency gastroscopy.

Complications and prevention

Possible consequences are bleeding, perforation of the stomach wall (ulcer perforation) and narrowing of the stomach outlet (gastric outlet obstruction). People who need long-term NSAIDs and are at increased risk often receive a proton pump inhibitor as prevention.

Frequently asked questions

What does a stomach ulcer feel like?

Usually a burning, boring or gnawing pain in the upper abdomen, often after eating, with bloating or nausea. Some ulcers, however, cause hardly any symptoms.

How long does a stomach ulcer last?

With acid-reducing treatment, most gastric ulcers resolve within a few weeks. Removing the cause, such as Helicobacter or painkillers, is crucial.

Is a stomach ulcer dangerous?

Untreated, it can bleed or perforate the stomach wall – both are emergencies. Detected in time, it can usually be treated well.

Related terms

Test your knowledge: questions on digestion, medicines and more – from beginner to exam level.

Go to the Medical Quiz

Sources

  • Malfertheiner P et al.: Management of Helicobacter pylori infection – the Maastricht VI/Florence consensus report (Gut, 2022)
  • NICE clinical guideline CG184: Gastro-oesophageal reflux disease and dyspepsia in adults
  • S2k guideline Helicobacter pylori and gastroduodenal ulcer disease (German Society of Gastroenterology, DGVS; AWMF)

This entry is for general information only and does not replace medical advice. Last updated: November 2026.