Loading icon
Press enter or spacebar to select a desired language.
Health Information Center

Gastric Ulcer

  • Krisha McCoy, MS
Publication Type:


Gastric Ulcer

(Stomach Ulcer; Ulcer, Gastric; Ulcer, Stomach)


A gastric ulcer is a sore in the lining of the stomach.

Gastric Ulcer.

http://services.epnet.com/getimage.aspx?imageiid=25452545si1454.jpgGastric UlcerNULLjpgGastric UlcerNULL\\filer01\Intellect\images\si1454.jpgCopyright © 2002 Nucleus Communications, Inc. All rights reserved.24NULL2002-10-01255391Copyright © Nucleus Medical Media, Inc.


Upsets in the balance of stomach acid and juices can lead to an ulcer. This can be caused by:

  • Helicobacter pylori (H. pylori) infection
  • Use of nonsteroidal anti-inflammatory drugs (NSAIDs)

Less common causes include any of the following:

Risk Factors

Factors that increase your chances of gastric ulcer include:

  • H. pylori infection
  • Taking NSAIDs for a long time and at higher doses
  • Prior peptic ulcer disease
  • Cigarette smoking
  • Excessive alcohol intake


Gastric ulcers do not always cause symptoms. Symptoms may come and go and can occur at any time. Having an empty stomach may make them worse. Symptoms may include:

  • Gnawing pain:
    • May awaken you from sleep
    • May change when you eat
    • May last for a few minutes or several hours
    • Feels like unusually strong hunger pangs
    • May be relieved by taking antacids
  • Nausea
  • Vomiting
  • Loss of appetite
  • Bloating
  • Burping
  • Weight loss

Ulcers can worsen. This can lead to serious problems and severe belly pain such as bleeding. Bleeding symptoms may include:

  • Bloody or black, tarry stools
  • Vomit that looks like coffee grounds or blood
  • Weakness
  • Lightheadedness

An ulcer can break through the wall of the stomach. It is called a perforated ulcer. It causes sudden and severe pain.


Your doctor will ask about your symptoms and past health. A physical exam will be done.

An upper endoscopy will confirm an ulcer. Other tests may be done to look for a cause.


Treatment options may include one or more of the following:


Not all ulcers can be prevented. To help reduce the chances of H. pylori infection:

  • Wash your hands often. This is very important after using the bathroom and before you eat or make meals.
  • Drink water from a safe source.
  • Do not smoke. Smoking increases the chances of getting an ulcer.

To help reduce the chances of a gastric ulcer from NSAIDs:

  • Use other drugs when possible for managing pain.
  • Take the lowest possible dose.
  • Do not take drugs longer than needed.
  • Do not drink alcohol while taking the drugs.
  • If you regularly take NSAIDs
    • Ask your doctor if there is another treatment.
    • Ask about medicine to protect your stomach.


Medicine may help to treat cause or ease symptoms. Choices include:

  • Antibiotics—if an infection is present or possible
  • Over-the-counter antacids
  • Proton pump inhibitors
  • H2 blockers
  • Medicine to coat ulcer
  • Medicine to protect stomach against NSAIDs




  • Fashner J, Gitu AC. Diagnosis and treatment of peptic ulcer disease and H. pylori infection. Am Fam Physician. 2015;91(4):236-242.
  • Peptic ulcer disease. American College of Gastroenterology website. Available at: http://patients.gi.org/topics/peptic-ulcer-disease.
  • Peptic ulcer disease. EBSCO DynaMed Plus website. Available at: http://www.dynamed.com/topics/dmp~AN~T116374/Peptic-ulcer-disease .
  • Peptic ulcers (stomach ulcers). National Institute of Diabetes and Digestive and Kidney Diseases website. Available at: https://www.niddk.nih.gov/health-information/digestive-diseases/peptic-ulcers-stomach-ulcers.


  • Mark Arredondo, MD
Last Updated:

This content is reviewed regularly and is updated when new and relevant evidence is made available. This information is neither intended nor implied to be a substitute for professional medical advice. Always seek the advice of your physician or other qualified health provider prior to starting any new treatment or with questions regarding a medical condition.