A peptic ulcer is an open sore or raw area in the lining of the stomach or intestine.
There are two types of peptic ulcers:
- Gastric ulcer occurs in the stomach
- Duodenal ulcer occurs in the first part of the small intestine
Ulcer - peptic; Ulcer - duodenal; Ulcer - gastric; Duodenal ulcer; Gastric ulcer; Dyspepsia - ulcers; Bleeding ulcer; Gastrointestinal bleeding - peptic ulcer; Gastrointestinal hemorrhage - peptic ulcer; G.I. bleed - peptic ulcer; H. pylori - peptic ulcer; Helicobacter pylori - peptic ulcer
Normally, the lining of the stomach and small intestines can protect itself against strong stomach acids. But if the lining breaks down, the result may be:
- Swollen and inflamed tissue (gastritis)
- An ulcer
From a front view of the stomach, this animation shows the development of an ulcer in the stomach lining.
Most ulcers occur in the first layer of the inner lining. A hole in the stomach or duodenum is called a perforation. This is a medical emergency.
The most common cause of ulcers is infection of the stomach by bacteria called Helicobacter pylori (H pylori). Most people with peptic ulcers have these bacteria living in their digestive tract. Yet, many people who have these bacteria in their stomach do not develop an ulcer.
The following factors raise your risk for peptic ulcers:
- Drinking too much alcohol
- Regular use of aspirin, ibuprofen, naproxen, or other nonsteroidal anti-inflammatory drugs (NSAIDs).
- Smoking cigarettes or chewing tobacco
- Being very ill, such as being on a breathing machine
- Radiation treatments
A rare condition called Zollinger-Ellison syndrome causes stomach and duodenal ulcers.
Small ulcers may not cause any symptoms. Some ulcers can cause serious bleeding.
Abdominal pain is a common symptom. The pain can differ from person to person. Some people have no pain.
- In the upper abdomen
- At night and wakes you up
- When you feel an empty stomach, often 1 to 3 hours after a meal
Other symptoms include:
- Feeling of fullness and problems drinking as much fluid as usual
- Bloody or dark tarry stools
- Chest pain
- Vomiting, possibly bloody
- Weight loss
Exams and Tests
To detect an ulcer, you may need a test called an upper endoscopy (EGD).
- This is a test to check the lining of the food pipe, stomach, and first part of the small intestine.
- It is done with a small camera (flexible endoscope) that is inserted down the throat.
- This test most often requires sedation given through a vein.
- In some cases, a smaller endoscope may be used that is passed into the stomach through the nose. This does not require sedation.
EGD is done on most people when peptic ulcers are suspected or when you have:
- Low blood count (anemia)
- Trouble swallowing
- Bloody vomit
- Bloody or dark and tarry looking stools
- Lost weight without trying
- Other findings that raise a concern for cancer in the stomach
Testing for H pylori is also needed. This may be done by biopsy of the stomach during endoscopy or by a urea breath test.
Other tests you may have include:
- Hemoglobin blood test to check for anemia
- Stool occult blood test to test for blood in your stool
Sometimes, you may need a test called an upper GI series. A series of x-rays are taken after you drink a thick substance called barium. This does not require sedation.
Your doctor will recommend medicines to heal your ulcer and prevent its relapse. The medicines will:
- Kill the H pylori bacteria, if present.
- Reduce acid levels in the stomach. These include H2 blockers such as ranitidine (Zantac), or a proton pump inhibitor (PPI) such as pantoprozole.
Take all of your medicines as you have been told. Other changes in your lifestyle can also help.
If you have a peptic ulcer with an H pylori infection, the standard treatment uses different combinations of the following medicines for 7 to 14 days:
- Two different antibiotics to kill H pylori.
- A PPI such as omeprazole (Prilosec), lansoprazole (Prevacid), or esomeprazole (Nexium).
- Bismuth (the main ingredient in Pepto-Bismol) may be added to help kill the bacteria.
You will likely need to take a PPI for 8 weeks if:
- You have an ulcer without an H pylori infection.
- Your ulcer is caused by taking aspirin or NSAIDs.
Your doctor may also prescribe this type of medicine regularly if you continue taking aspirin or NSAIDs for other health conditions.
Other medicines used for ulcers are:
- Misoprostol, a medicine that may help prevent ulcers in people who take NSAIDs on a regular basis
- Medicines that protect the tissue lining such as sucralfate
If a peptic ulcer bleeds a lot, an EGD may be needed to stop the bleeding. Methods used to stop the bleeding include:
- Injecting medicine in the ulcer
- Applying metal clips or heat therapy to the ulcer
Surgery may be needed if:
- Bleeding cannot be stopped with an EGD
- The ulcer has caused a tear
Peptic ulcers tend to come back if untreated. There is a good chance that the H pylori infection will be cured if you take your medicines and follow your health care provider's advice. You will be much less likely to get another ulcer.
Complications may include:
- Severe blood loss
- Scarring from an ulcer may make it harder for the stomach to empty
- Perforation or hole of the stomach and intestines
When to Contact a Medical Professional
Get medical help right away if you:
- Develop sudden, sharp abdominal pain
- Have a rigid, hard abdomen that is tender to touch
- Have symptoms of shock, such as fainting, excessive sweating, or confusion
- Vomit blood or have blood in your stool (especially if it is maroon or dark, tarry black)
Call your provider if:
- You feel dizzy or lightheaded.
- You have ulcer symptoms.
Avoid aspirin, ibuprofen, naproxen, and other NSAIDs. Try acetaminophen instead. If you must take such medicines, talk to your provider first. Your provider may:
- Test you for H pylori before you take these medicines
- Ask you to take PPIs or an H2 acid blocker
- Prescribe a medicine called misoprostol
The following lifestyle changes may help prevent peptic ulcers:
- DO NOT smoke or chew tobacco.
- Avoid alcohol.
Chan FKL, Lau JYW. Peptic ulcer disease. In: Feldman M, Friedman LS, Brandt LJ, eds. Sleisenger and Fordtran's Gastrointestinal and Liver Disease: Pathophysiology/Diagnosis/Management. 10th ed. Philadelphia, PA: Elsevier Saunders; 2016:chap 53.
Ford AC, Gurusamy KS, Delaney B, Forman D, Moayyedi P. Eradication therapy for peptic ulcer disease in Helicobacter pylori-positive people. Cochrane Database Syst Rev. 2016;4:CD003840. PMID: 27092708 www.ncbi.nlm.nih.gov/pubmed/27092708.
Gurusamy KS, Pallari E. Medical versus surgical treatment for refractory or recurrent peptic ulcer. Cochrane Database Syst Rev. 2016;3:CD011523. PMID: 27025289 www.ncbi.nlm.nih.gov/pubmed/27025289.
Lanas A, Chan FKL. Peptic ulcer disease. Lancet. 2017;390(10094):613-624. PMID: 28242110 www.ncbi.nlm.nih.gov/pubmed/28242110.
Morgan DR, Crowe SE. Helicobacter pylori infection. In: Feldman M, Friedman LS, Brandt LJ, eds. Sleisenger and Fordtran's Gastrointestinal and Liver Disease: Pathophysiology/Diagnosis/Management. 10th ed. Philadelphia, PA: Elsevier Saunders; 2016:chap 51.
- Last reviewed on 9/28/2017
- Michael M. Phillips, MD, Clinical Professor of Medicine, The George Washington University School of Medicine, Washington, DC. Also reviewed by David Zieve, MD, MHA, Medical Director, Brenda Conaway, Editorial Director, and the A.D.A.M. Editorial team.
A.D.A.M., Inc. is accredited by URAC, also known as the American Accreditation HealthCare Commission (www.urac.org). URAC's accreditation program is the first of its kind, requiring compliance with 53 standards of quality and accountability, verified by independent audit. A.D.A.M. is among the first to achieve this important distinction for online health information and services. Learn more about A.D.A.M.'s editorial process. A.D.A.M. is also a founding member of Hi-Ethics (www.hiethics.com) and subscribes to the principles of the Health on the Net Foundation (www.hon.ch).
The information provided herein should not be used during any medical emergency or for the diagnosis or treatment of any medical condition. A licensed physician should be consulted for diagnosis and treatment of any and all medical conditions. Call 911 for all medical emergencies. Links to other sites are provided for information only -- they do not constitute endorsements of those other sites. Copyright 2002 A.D.A.M., Inc. Any duplication or distribution of the information contained herein is strictly prohibited.