Conditions A–Z › Digestive › Peptic Ulcer Disease

Peptic Ulcer Disease

Peptic ulcer disease means open sores develop in the lining of the stomach or the first part of the small intestine. These ulcers can cause burning upper abdominal pain and, at times, bleeding. This page explains symptoms, causes and treatment in plain language, with videos to support understanding.

✓ Medically reviewed by Dr. Mohamed Ibrahim, MD, PhD — physician-scientist · Last reviewed: November 2026

In short: Most peptic ulcers are linked to infection with Helicobacter pylori bacteria or regular use of anti-inflammatory pain medicines. Acid irritates the sore lining and causes pain. Treatment usually combines acid-reducing medicine with antibiotics when H. pylori is present, plus steps to remove triggers and allow healing.

Read: the plain-language guide

Overview

The stomach and upper intestine are normally protected from digestive acid by a mucus layer. When that protection weakens, acid can injure the lining and form an ulcer, which is a small open sore. Ulcers in the stomach are called gastric ulcers, and those in the first part of the small intestine are called duodenal ulcers. Many ulcers heal with treatment, but complications such as bleeding or a hole in the wall can occur if they are untreated.

Symptoms

The most common symptom is burning or gnawing pain in the upper middle abdomen, which may come and go and can be affected by eating or by an empty stomach. Other symptoms include bloating, belching, nausea, heartburn, feeling full quickly and loss of appetite. Some ulcers cause no pain and are found only after bleeding. Warning signs of bleeding include vomiting blood, vomit that looks like coffee grounds, and black, tarry stools.

Causes & risk factors

A common cause is infection with Helicobacter pylori, a bacterium that lives in the stomach lining and weakens its protection. Another major cause is regular use of non-steroidal anti-inflammatory medicines, which can reduce protective substances in the stomach. Smoking and heavy alcohol use can worsen healing and raise risk. Stress and spicy foods may aggravate symptoms but are not usually the main cause of ulcers on their own.

How it's diagnosed

A clinician will ask about pain patterns, medicines and alcohol use. Tests for H. pylori may use a breath test, stool test or samples taken during endoscopy. Endoscopy, where a thin camera tube is passed through the mouth, lets a clinician see the ulcer directly and take small tissue samples if needed. Blood tests may check for anaemia from slow bleeding. Imaging is less commonly used unless complications are suspected.

Treatment overview

Treatment depends on the cause. Acid-reducing medicines, most commonly proton pump inhibitors, lower acid so the ulcer can heal. If H. pylori is found, a combination of antibiotics with acid-reducing medicine is used to clear the infection. Reviewing pain medicines is important, and safer alternatives may be suggested. Avoiding smoking and alcohol, and eating regular meals, can support healing. Follow-up testing may confirm the infection has cleared and the ulcer has healed.

When to seek care

Seek urgent care for vomiting blood, black stools, sudden severe abdominal pain, fainting, or signs of major blood loss such as pallor and rapid heartbeat. Also seek prompt advice for ongoing vomiting, difficulty swallowing, unexplained weight loss, or pain that does not improve with treatment, as these need further investigation.

Frequently asked questions

Are stomach ulcers caused by stress?

Stress alone is not usually the main cause. Most ulcers are linked to H. pylori infection or anti-inflammatory pain medicines. Stress, smoking and alcohol can make symptoms worse and slow healing, so addressing them still helps alongside medical treatment.

How is H. pylori treated?

When H. pylori is confirmed, treatment usually combines acid-reducing medicine with more than one antibiotic for a set course prescribed by a clinician. Completing the full course matters, and a follow-up breath or stool test often checks that the infection has cleared.

Can an ulcer heal without treatment?

Some small ulcers may temporarily feel better, but without treating the cause they often return and carry risks such as bleeding. Medical treatment both heals the ulcer and lowers the chance of recurrence, so persistent upper abdominal pain should be assessed.

Which painkillers are safer with an ulcer history?

Anti-inflammatory medicines can irritate the stomach and raise ulcer risk. People with a history of ulcers should ask a clinician or pharmacist before using them regularly, as alternatives or protective medicines may be more suitable. Decisions depend on other conditions and medicines.

Sources & further reading

Authoritative references for readers who want to go deeper:

This page is for general education only and is not medical advice. Vomiting blood, black stools or sudden severe abdominal pain with a possible ulcer need emergency assessment.