Merck Manual

Please confirm that you are not located inside the Russian Federation

honeypot link

Peptic Ulcer Disease


The Manual's Editorial Staff

Reviewed/Revised Jan 2023
Get the full details
Topic Resources

Your stomach makes a lot of acid, which helps digest food. Normally, the lining of your stomach and intestines has defenses against the acid. If something interferes with those defenses, the acid can cause damage.

The Stomach

What is a peptic ulcer?

"Peptic" has to do with digestion related to pepsin and acid. An ulcer is a sore. So a peptic ulcer is a sore in the lining of your stomach or the first part of your small intestine (an area called the duodenum). Peptic ulcers in your stomach are called gastric ulcers. Ulcers in the first part of the small intestine are called duodenal ulcers.

Stomach and Intestine

Stomach and Intestine

What causes peptic ulcers?

The 2 most common causes of peptic ulcers are:

  • Infection of your stomach, usually by the bacteria Helicobacter pylori

  • Use of NSAIDs (pain medicine, such as ibuprofen or aspirin) and certain other medicines

People who smoke are more likely to develop a peptic ulcer. Also, their ulcers heal more slowly and are likely to come back.

What are the symptoms of a peptic ulcer?

Many people with a peptic ulcer have no symptoms. When they happen, the most common symptom is:

  • Mild to moderate belly pain (can be a burning, gnawing, aching feeling in the upper middle part of the belly just below the breastbone)

The pain usually comes and goes. Eating food usually makes duodenal ulcers feel better, but then the pain comes back in a few hours. Taking antacids also usually makes the pain better.

Other symptoms include:

  • Feeling sick to your stomach or throwing up

  • Feeling full

What are the complications of peptic ulcers?

Peptic ulcers can cause problems such as:

  • Bleeding, which causes black stools (poop), or throwing up blood or what looks like coffee grounds

  • A hole (perforation) through the wall of the stomach or small intestine causing severe infection and pain in your belly

How can doctors tell if I have a peptic ulcer?

Your doctor may suspect an ulcer based on your symptoms and just start you on ulcer treatment. If you get better, they often don't do any tests.

However, doctors may do tests if:

  • You've had symptoms for a long time

  • Your symptoms are severe or aren't typical for ulcers

  • Your symptoms didn't start until you were past age 45

  • You don't get better after taking medicine

The main test doctors do is:

During endoscopy, doctors usually take a biopsy (a sample of your tissue to look at under a microscope) to look for Helicobacter pylori bacteria or cancer.

How do doctors treat peptic ulcers?

Doctors treat ulcers with medicines, such as:

  • Antibiotics, if you have Helicobacter pylori infection

  • Acid-reducing drugs (such as proton pump inhibitors and histamine-2 blockers)

  • Antacids, such as sodium bicarbonate, calcium carbonate, aluminum hydroxide, or magnesium hydroxide

Doctors will also ask you to avoid:

  • Aspirin and other NSAIDs

  • Alcohol

  • Smoking

  • Foods that make pain or bloating worse

If you have a bleeding ulcer, doctors do endoscopy to give treatments that make the bleeding stop. If you have a hole through the wall of your stomach or intestine, you'll need surgery.

Drugs Mentioned In This Article

Generic Name Select Brand Names
Anacin Adult Low Strength, Aspergum, Aspir-Low, Aspirtab , Aspir-Trin , Bayer Advanced Aspirin, Bayer Aspirin, Bayer Aspirin Extra Strength, Bayer Aspirin Plus, Bayer Aspirin Regimen, Bayer Children's Aspirin, Bayer Extra Strength, Bayer Extra Strength Plus, Bayer Genuine Aspirin, Bayer Low Dose Aspirin Regimen, Bayer Womens Aspirin , BeneHealth Aspirin, Bufferin, Bufferin Extra Strength, Bufferin Low Dose, DURLAZA, Easprin , Ecotrin, Ecotrin Low Strength, Genacote, Halfprin, MiniPrin, St. Joseph Adult Low Strength, St. Joseph Aspirin, VAZALORE, Zero Order Release Aspirin, ZORprin
Advil, Advil Children's, Advil Children's Fever, Advil Infants', Advil Junior Strength, Advil Migraine, Caldolor, Children's Ibuprofen, ElixSure IB, Genpril , Ibren , IBU, Midol, Midol Cramps and Body Aches, Motrin, Motrin Children's, Motrin IB, Motrin Infants', Motrin Junior Strength, Motrin Migraine Pain, PediaCare Children's Pain Reliever/Fever Reducer IB, PediaCare Infants' Pain Reliever/Fever Reducer IB, Samson-8
Alka-Seltzer Heartburn Relief, Baros, Neut
AcidFree, Alka-Mints, Alka-Seltzer, Alka-Seltzer Heartburn Relief, Alkets , Antacid Fast Dissolve, Calcarb 600, Calci-Chew , Calci-Mix , Calcium Antacid, Cal-Gest , Caltrate, Maalox, Maalox Antacid Barrier, Maalox Quick Dissolve, Mylanta Children's, Nephro-Calci , Pepto-Bismol Children's, Rolaids Extra Strength, Titralac, Titralac Extra Strength, Tums, Tums Chewy Bites , Tums Cool Relief, Tums E-X, Tums Freshers, Tums Kids, Tums Lasting Effects, Tums Smooth Dissolve, Tums Smoothies, Tums Ultra
Alternagel, Alu-Cap, Dermadrox
Dulcolax, Dulcolax Chewy Fruit Bites, Dulcolax Kids, Ex-Lax, Fleet Pedia-Lax, Freelax, Phillips Laxative, Phillips Milk of Magnesia
quiz link

Test your knowledge

Take a Quiz!