Skip navigation
gesund.bund.de - Reliable information for your health gesund.bund.de - Reliable information for your health
  • Deutsch
  • English
  • Türkçe
  • Русский
  • عربي
Sprache Language Dilim Язык اللغة
Search
  • Display format Display format
  • Sign language Sign language
  • Simple language Simple language
  • Bookmark list Bookmark list (0)
 
Skip navigation
  • Healthcare

    • Healthcare

    • The healthcare system
    • Health literacy
    • Help and advice
    • Patient rights
    • Self-help
    • Services and benefits

    • Health insurance
    • Benefits for those with health insurance
    • Prescription drugs
    • Prevention and screening
    • Out-of-hospital intensive care
  • Care

    • Topics

    • Long-term care insurance
    • Care benefits
    • Family carers
    • Everyday care and home life
  • Digital health

    • Digitization in healthcare

    • Health and digitization
    • Telemedicine
    • Digital applications

    • Electronic health record (ePA)
    • Electronic medical data cards (eGK)
    • Health apps (DiGA and DiPA)
    • E-prescriptions
    • Electronic sick leave notice
  • Healthy living

    • Staying healthy

    • Diet and exercise
    • Saving lives and helping people
    • Managing addiction
    • Environment and health
    • Life stages

    • Growing up healthily
    • Workplace health
    • Pregnancy and birth
    • Health in old age
  • Conditions

    • Topics

    • Respiratory system
    • Eyes
    • Circulatory and lymphatic systems
    • Reproductive organs
    • Ear, nose and throat
    • Skin
    • Cardiovascular system
    • Hormones
    • Immune system
    • Head and nervous system
    • Psyche
    • Muscles, bones and joints
    • Kidneys and urinary tract
    • Digestion and metabolism
    • Teeth and gums
    • Special topics

    • Allergies
    • coronavirus
    • Infections and infectious diseases
    • Cancer
    • Conditions A–Z
  • Services

    • Information

    • Emergency numbers
    • ICD and OPS codes
    • Conditions A–Z
    • Glossary
    • Infection radar
    • Media library
    • Search functions

    • Doctor search
    • Hospital search
    • Pharmacy search
 
  • Display format Display format
  • Sign language Sign language
  • Simple language Simple language
  • Bookmark list Bookmark list (0)

Gastric ulcer

Read out loud

These functions require cookies. Go to Settings

  • Content

  • At a glance
  • Outlook
  • Definition
  • Symptoms
  • Causes
  • Prevention
  • Diagnosis
  • Treatment
  • Sources

ICD codes: K25 What are ICD codes?

A gastric ulcer usually occurs as a result of an infection with certain bacteria or due to long-term use of anti-inflammatory drugs for pain relief. Gastric ulcers are normally easy to treat. What are the typical symptoms, what complications can arise, and how exactly is a gastric ulcer treated? The answers to these and other questions can be found here.

At a glance

  • A gastric ulcer is most often the result of an infection with Helicobacter bacteria or the use of painkillers over a longer period of time.
  • When caused by painkillers, a gastric ulcer often goes unnoticed until it causes complications such as bleeding. In rare cases, gastric ulcers can cause a perforated stomach.
  • Typical symptoms of a gastric ulcer include upper abdominal pain, a feeling of fullness, loss of appetite, nausea, and vomiting.
  • The risk of developing a gastric ulcer increases with age.
  • Most often, a gastroscopy with biopsy is sufficient for diagnosis.
  • Gastric ulcers are treated with medication that prevents the buildup of gastric acids – sometimes in combination with antibiotics.

Note: The information in this article cannot and should not replace a medical consultation and must not be used for self-diagnosis or treatment.

Magengeschwür: Eine Frau steht in ihrer Wohnung und hält sich den Bauch. Sie wirkt angespannt und als hätte sie Schmerzen. Magengeschwür: Eine Frau steht in ihrer Wohnung und hält sich den Bauch. Sie wirkt angespannt und als hätte sie Schmerzen.

What are the potential complications?

If a gastric ulcer remains undetected and untreated for a long period of time, serious complications can arise. The most common complication is bleeding.

Therefore, it is important to speak with a doctor, in a timely manner, if the following symptoms arise:

  • black-colored stool
  • vomited blood (red or black in color)
  • signs of anemia such as abnormal fatigue, shortness of breath during physical exertion or pallor

Frequent vomiting after eating is also a warning sign that a doctor needs to be consulted without delay – this symptom may be caused by scars on the pylorus (the outlet between the stomach and the large bowel) due to ulcers repeatedly occurring in the area. The scarring may cause the pylorus to narrow. As a result, the stomach contents are sometimes vomited because they can no longer be transported into the intestines.

In very rare cases, a gastric ulcer can lead to a perforation of the stomach wall. This causes sudden, very intense stomach pain and is life-threatening. If perforation of the stomach wall is suspected, it is important to call 112 for emergency help.

What is a gastric ulcer?

A gastric ulcer, also known as a stomach ulcer, is a deep wound in the stomach wall. It occurs when the gastric mucosa is damaged, most often by an infection with Helicobacter pylori bacteria. Additionally, regular use of non-steroidal anti-inflammatory drugs can cause an ulcer. The likelihood of getting a gastric ulcer increases with age.

The main indication of a gastric ulcer is pain in the upper abdomen. To diagnose a gastric ulcer, doctors usually perform a gastroscopy and take a tissue sample.

Treatment with proton pump inhibitors, which inhibit the build-up of gastric acid, and antibiotics is usually sufficient. If a gastric ulcer is not detected and treated, complications can arise.

What are the symptoms of a gastric ulcer?

Most gastric ulcers cause no or just a few problems and become noticeable only when there are complications – especially if they have been caused by use of pain-relieving drugs.

Many of the symptoms that occur with an ulcer are quite non-specific.

A gastric ulcer may cause the following symptoms: a feeling of pressure and fullness, loss of appetite, nausea and vomiting, irregular bowel movements and gas, heartburn and acidic burps, and pain in the upper abdomen.

These include:

  • a feeling of pressure and fullness
  • loss of appetite
  • nausea, sometimes with vomiting
  • irregular bowel movements and gas
  • heartburn and acidic burps
  • pain in the upper abdomen – often not connected with meals or more likely to occur after a meal than before

How does a gastric ulcer develop?

The two most common causes of a gastric ulcer are an infection from the bacteria Helicobacter pylori or the long-term use of non-steroidal anti-inflammatory drugs.

Helicobacter pylori bacteria can multiply in the gastric mucosa and cause an infection there. This damages the mucosa and increases acid formation in the stomach. As a result, the mucosa of the stomach loses its ability to protect the body.

The following are non-steroidal anti-inflammatory drugs, also known as NSAIDs: acetylsalicylic acid (ASA), ibuprofen, naproxen, and diclofenac. These medications inhibit the formation of the hormone prostaglandin, which regulates the neutralization of gastric acid, among other things. If prostaglandin is missing, the mucous membrane is more prone to damage from gastric acid and pathogens.

In some cases, a gastric ulcer may develop due to a combination of both causes.

Important: Non-steroidal anti-inflammatory drugs taken with cortisone can make damage to the gastric acid more severe.

How can a gastric ulcer be prevented?

It has not been scientifically proven that external factors such as nutrition, smoking, or persistent stress can cause the formation of a gastric ulcer. Nevertheless, those who notice that symptoms are triggered by greasy foods, alcohol, or stressful situations, for example, should try to avoid these triggers.

Additionally, regular use of painkillers can trigger a gastric ulcer. For this reason, doctors sometimes advise their patients to also take medication that inhibits the build-up of gastric acid. Determining the personal risk of a gastric ulcer and which medication should be considered to protect the stomach should be discussed with a doctor.

How is a gastric ulcer diagnosed?

If a doctor suspects a gastric ulcer, they will begin by palpating the stomach, i.e. examining it by hand. This is normally followed by a gastroscopy to examine the esophagus and stomach. A tissue sample (biopsy) is taken and tested for Helicobacter pylori bacteria, indications of an infection, and changes in the tissue similar to those seen in cancer.

If a doctor suspects a gastric ulcer, they will first palpate the stomach, i.e. examine it by hand. This is usually followed by a gastroscopy.

How is a gastric ulcer treated?

A gastric ulcer sometimes heals on its own without treatment within 2 to 3 months. However, it often develops again after a while.

Treatment depends on the results of the gastroscopy and the biopsy.

If doctors don’t detect Helicobacter bacteria or cancer, proton pump inhibitors (PPIs) such as omeprazole and pantoprazole are normally prescribed. These reduce the build-up of gastric acid. The medication is taken over a period of 4 to 8 weeks.

If a non-steroidal anti-inflammatory drug (NSAID) is the cause of a gastric ulcer, it should no longer be taken or an alternative should be used instead. Furthermore, people with a gastric ulcer should not smoke or drink alcohol, or at least take a break from them for a while.

If an infection with Helicobacter pylori bacteria is the cause, two additional antibiotics with different active ingredients are prescribed, together with proton pump inhibitors (triple therapy).

Quadruple therapy with three antibiotics and a proton pump inhibitor may also be an option – for example, in the case of antibiotic resistance. In both cases, the medications are taken simultaneously over the course of 1 to 2 weeks. If symptoms are still present, treatment with proton pump inhibitors alone can be continued.

Approximately 4 weeks after the end of treatment with an antibiotic, a doctor checks to ensure that the treatment was successful. Typically, the doctor performs a special breath test (13C breath test) to determine if the Helicobacter bacteria are still in the stomach. If the test is positive, treatment with other antibiotics and a proton pump inhibitor can be repeated.

If severe bleeding occurs, the ulcer is treated with minimally invasive surgery (endoscopy), involving a small incision in the wall of the abdomen. Open surgery is sometimes also required.

  • Fischbach W, Malfertheiner P, Hoffmann JC et al. S3-guideline "helicobacter pylori and gastroduodenal ulcer disease" of the German society for digestive and metabolic diseases (DGVS) in cooperation with the German society for hygiene and microbiology, society for pediatric gastroenterology and nutrition e. V., German society for rheumatology, AWMF-registration-no. 021 / 001. Z Gastroenterol. 2009 Dec;47(12):1230-63. doi: 10.1055/s-0028-1109855. Epub 2009 Dec 3. PMID: 19960402.
  • Fischbach W, Malfertheiner P, Lynen Jansen P et al. Helicobacter pylori und gastroduodenale Ulkuskrankheit. S2k-Leitlinie. AWMF-Registernummer 021-001. Z Gastroenterol 2016; 54: 327-363.
  • Ford AC, Gurusamy KS, Delaney B et al. Eradication therapy for peptic ulcer disease in Helicobacter pylori-positive people. Cochrane Database Syst Rev. 2016 Apr 19;4(4):CD003840. doi: 10.1002/14651858.CD003840.pub5. PMID: 27092708; PMCID: PMC7163278.
  • Hawkey CJ, Langman MJ. Non-steroidal anti-inflammatory drugs: overall risks and management. Complementary roles for COX-2 inhibitors and proton pump inhibitors. Gut. 2003 Apr;52(4):600-8. doi: 10.1136/gut.52.4.600. PMID: 12631678; PMCID: PMC1773617.
  • Internisten im Netz. Magen-/Darmgeschwür: Auswirkungen und Komplikationen.
  • Levenstein S, Rosenstock S, Jacobsen RK et al. Psychological stress increases risk for peptic ulcer, regardless of Helicobacter pylori infection or use of nonsteroidal anti-inflammatory drugs. Clin Gastroenterol Hepatol. 2015 Mar;13(3):498-506.e1. doi: 10.1016/j.cgh.2014.07.052. Epub 2014 Aug 9. PMID: 25111233.
  • Malfertheiner P, Megraud F, O'Morain CA et al. Management of Helicobacter pylori infection - the Maastricht IV / Florence Consensus Report. Gut. 2012 May;61(5):646-64. doi: 10.1136/gutjnl-2012-302084. PMID: 22491499.
  • Ramakrishnan K, Salinas RC. Peptic ulcer disease. Am Fam Physician. 2007 Oct 1;76(7):1005-12. PMID: 17956071.
  • Robert Koch-Institut (RKI), Statistisches Bundesamt (Destatis). Gastritis, Magen- und Zwölffingerdarmgeschwüre. Gesundheitsberichterstattung des Bundes, Heft 55. Berlin 2013.
  • Robert Koch-Institut (RKI), Statistisches Bundesamt (Destatis). Gesundheitsberichterstattung des Bundes: Themenheft 55 – Gastritis, Magen- und Zwölffingerdarmgeschwüre. Ergänzende Wertetabellen zu den Abbildungen. Stand: September 2013.
  • Rostom A, Dube C, Wells G et al. Prevention of NSAID-induced gastroduodenal ulcers. Cochrane Database Syst Rev. 2002;(4):CD002296. doi: 10.1002/14651858.CD002296. PMID: 12519573.
Badge

In cooperation with the Institute for Quality and Efficiency in Health Care (Institut für Qualität und Wirtschaftlichkeit im Gesundheitswesen – IQWiG).

As at: 07.01.2022
Did you find this article helpful?
Thank you for your feedback!
Thank you for your additional comments!
Sorry, your response could not be submitted due to a technical error.

Get informed Recommended articles

Gastritis

Typical symptoms of acute gastritis are stomachache, feeling full, bloating, gas and heartburn. In most cases, gastritis is caused by a bacterial infection or the use of certain pain medication.

Find out more

Stomach cancer

Stomach cancer is a malignant tumor condition of the gastric mucosa. In most patients, the tumor originates from the pancreatic ducts of the gastric mucosa.

Find out more

Duodenal ulcer

An ulcer in the duodenum usually occurs as a result of regular use of certain pain medication or infection with specific bacteria. These ulcers are normally easy to treat.

Find out more

Back to top
Logo - Bundesministerium für Gesundheit Logo - Bundesministerium für Gesundheit

gesund.bund.de A service from the Federal Ministry of Health.

Useful links

  • Topic overview
  • User advice
  • Website overview

Services

  • Help and advice
  • Accessibility
  • Report an accessibility barrier

About us

  • About gesund.bund.de
  • Quality assurance
  • Our partners
  • Contact

Important emergency numbers

  • Fire and ambulance services 112 112
  • Non-emergency medical assistance 116117 116117
  • Emergency numbers

Certifications

  • afgis-Qualitätslogo mit Ablauf 2026/03: Mit einem Klick auf das Logo öffnet sich ein neues Bildschirmfenster mit Informationen über Bundesministerium für Gesundheit (BMG) und sein/ihr Internet-Angebot: gesund.bund.de/
  • Logo DNGK 2025-2026
  • BIK - BITV-konform (geprüfte Seiten), zum Prüfbericht

© Copyright 2026 Bundesministerium für Gesundheit Data protection Legal notice