Skip to main content

Peptic ulcer disease

Medical Professionals

Professional Reference articles are designed for health professionals to use. They are written by UK doctors and based on research evidence, UK and European Guidelines. You may find the Stomach ulcer article more useful, or one of our other health articles.

A gastric or duodenal ulcer is a breach in the epithelium of the gastric or duodenal mucosa that penetrates the muscularis mucosae, which is confirmed on endoscopy. Gastric and duodenal ulceration is collectively known as peptic ulcer disease.1

Helicobacter pylori (H. pylori) infection is associated with about 95% of duodenal ulcers and 70% of gastric ulcers.2

Continue reading below

How common is peptic ulcer disease? (Epidemiology)13

Dyspepsia occurs in 40% of the population annually and leads to a primary care consultation in 5% and endoscopy in 1%.

The lifetime prevalence of peptic ulcer disease in the general population is estimated to be approximately 5–10%. The incidence of peptic ulcer disease is about 0.1–0.3% per year. The incidence of gastric ulcers peaks in the 5th to 7th decades. The incidence of duodenal ulcers peaks in the 3rd to 5th decades.

Of those who undergo endoscopy:

  • About 40% have functional or non-ulcer dyspepsia.

  • 40% have gastro-oesophageal reflux disease (GORD).

  • 13% have ulcer disease.

  • 2% have gastric cancer.

  • 1% have oesophageal cancer.

In the past, duodenal ulcer was 10 times as common in men as in women and gastric ulcer had a male preponderance of 3:2. Now the frequency is much less, largely because of H. pylori eradication and the sex incidence being more even.

Peptic ulcer disease prevalence is decreasing in the West, but there is ethnic variation.4 One systematic review reported that globally, the annual incidence rates of peptic ulcer disease were 0.10-0.19% for physician-diagnosed disease and 0.03-0.17% when based on hospitalisation data. Overall, incidence and prevalence were decreasing, thought to be due to a decrease in H. pylori-related peptic ulcer disease.5

Causes of peptic ulcer disease (aetiology)6

  • H. pylori.

  • NSAIDs.

  • Pepsin.

  • Smoking.

  • Alcohol.

  • Bile acids.

  • Steroids.

  • Stress.

  • Changes in gastric mucin consistency (may be genetically determined).7

Defence mechanisms include mucus, bicarbonate, mucosal blood flow and prostaglandins.

Continue reading below

Symptoms of peptic ulcer disease (presentation)8

Symptoms of peptic ulcer disease are sometimes very nonspecific and a diagnosis is unreliable on history alone:

  • Epigastric pain, usually 1 to 3 hours postprandial - it may sometimes wake the patient in the night, and be relieved by food.

  • Nausea.

  • Oral flatulence, bloating, distension and intolerance of fatty food - the last is also associated with gallstones.

  • Heartburn sometimes occurs although it is more typically associated with gastro-oesophageal reflux.

  • A posterior ulcer may cause pain radiating to the back.

  • Symptoms are relieved by antacids (very nonspecific).

Risk factors for silent or asymptomatic peptic ulcer include old age, male sex, current smoking, H. pylori infection, and absence of atrophic gastritis. It is higher in Korea than in Western countries. This is thought to be due to an increased incidence of H. pylori infection. Asymptomatic peptic ulcer can present with unheralded perforation or bleeding.9

Signs10

In uncomplicated cases there is very little to find on examination:

  • There is often epigastric tenderness.

  • If gastric emptying is slow, there may be a succussion splash.

Differential diagnosis

Continue reading below

Diagnosing peptic ulcer disease (investigations)3

  • FBC may show evidence of iron-deficiency anaemia.

  • Testing for H. pylori. Test using a carbon-13 urea breath test or a stool antigen test, or laboratory-based serology where its performance has been locally validated. If re-testing is required, a carbon-13 urea breath test is the chosen test. There is currently insufficient evidence to recommend the stool antigen test as a test of eradication. Office-based serological testing is not currently recommended because of its inadequate performance.

  • Endoscopy:

    • National Institute for Health and Care Excellence (NICE) guidelines state that endoscopy is not required unless the patient is presenting warning signs (as below).

    • For people presenting with dyspepsia together with significant acute gastrointestinal bleeding, refer them immediately (on the same day) to a specialist.

The NICE guideline for suspected cancer states for stomach cancer:11

  • Consider a suspected cancer pathway referral for people with an upper abdominal mass consistent with stomach cancer.

  • Offer urgent, direct access upper gastrointestinal endoscopy (to be done within 2 weeks) to assess for stomach cancer in people with dysphagia, or aged 55 and over with weight loss and any of the following: upper abdominal pain, reflux, or dyspepsia.

  • Consider non-urgent, direct access upper gastrointestinal endoscopy to assess for stomach cancer in people with haematemesis.

  • Consider non-urgent, direct access upper gastrointestinal endoscopy to assess for stomach cancer in people aged 55 or over with:

    • Treatment-resistant dyspepsia or

    • Upper abdominal pain with low haemoglobin levels or

    • Raised platelet count with any of the following: nausea, vomiting, weight loss, reflux, dyspepsia, upper abdominal pain, or

    • Nausea or vomiting with any of the following: weight loss, reflux, dyspepsia, upper abdominal pain.

Management of peptic ulcer disease

Modification of behaviour1

  • If drugs are the cause then they should be stopped or replaced but this may not be possible. Being more meticulous about the instructions for taking alendronate or taking NSAIDs including aspirin after food may be required.

  • Cessation of smoking should be advised if applicable. Smoking increases the risk of peptic ulcer and delays healing as well as opposing the action of H2-receptor antagonists. It has many effects on other parts of the gut, including facilitating gastro-oesophageal reflux.

Healing ulcers - H. pylori-positive12

Treatment for H. pylori-associated ulcer disease is mainly directed at eradication of infection. See the separate Helicobacter Pylori article.

Healing ulcers - H. pylori-negative, NSAID-induced

The NSAID should be stopped. Studies suggest that whilst H2-receptor antagonists will heal NSAID-induced ulcers, PPIs are more effective.13

A large, randomised trial has not shown any difference in gastric ulcer healing between groups receiving esomeprazole 40 mg, esomeprazole 20 mg and ranitidine.14 NICE recommends full-dose PPI for two months.3 Of note, ranitidine is no longer available globally due to links with cancer risk.

PPIs are better than standard-dose H2-receptor antagonists and misoprostol for prevention of duodenal ulcers.15 Patients with high cardiovascular risk should continue to receive prophylactic low-dose aspirin and full-dose naproxen is the preferred NSAID. Co-therapy with a PPI or misoprostol is recommended for these groups. If patients are unable to tolerate PPI treatment, a systematic review of randomised trials found that double-dose H2-receptor antagonists reduce risk of both gastric and duodenal ulcers.

H. pylori-negative NSAID-negative ulcer7

Ulceration of the gastric or duodenal mucosa in the absence of H. pylori infection and NSAID or aspirin usage is rare. A careful history of the use of NSAIDs and aspirin is very important in any patient presenting with gastroduodenal ulceration in the absence of H. pylori infection. The patient might be unaware that several drugs obtainable over the counter as well as some herbal medications contain NSAIDs or aspirin.

To exclude the rare conditions that may cause this, such as Zollinger-Ellison syndrome, samples should be taken from the ulcer and surrounding mucosa.

Bleeding ulcers16

Early endoscopic intervention with ablative or mechanical treatment to the bleeding vessels is the treatment of choice. For more information see the separate Upper gastrointestinal bleeding (includes Rockall score) article.

Management of recurrence and its prevention3

  • For gastric ulcer with H. pylori infection, NICE recommends eradication therapy followed by proof of eradication and repeat endoscopy. This is a consensus statement. If eradication is successful but the ulcer unhealed then malignancy needs to be considered.

  • Serology tests are applicable only for initial diagnosis, as they remain positive for a long while.

  • The situation concerning H. pylori eradication in patients who require long-term NSAIDs is still being researched.17 Currently, several guidelines recommend that any patient who has had a peptic ulcer bleed (PUB) or who is put on long-term NSAIDs should be checked for H. pylori infection.8

  • For patients who have relapses, intermittent therapy and annual review are recommended.

Monitoring

Patients should be reviewed at the end of a course of treatment, especially H. pylori eradication, to confirm a satisfactory outcome.

Important information

Repeat endoscopy may be required for:3

Failure to eradicate symptoms in a duodenal ulcer.

Failure to have eradicated H. pylori.

Follow-up of a gastric ulcer - this requires repeat endoscopy to confirm healing at 6 to 8 weeks along with confirmation of eradication of H. pylori.

NSAID-induced ulcers - these should be treated according to whether they are gastric or duodenal.


If a gastric ulcer persists, referral to secondary care is required. If it is healed but symptoms persist, a course of acid suppression for a limited duration may be in order but, if symptoms persist, referral is necessary.

Effectiveness of interventions3

The NICE guidelines give the following data on the effectiveness of interventions based on a number of sources:

  • In duodenal ulcer, acid suppression for 4 to 8 weeks produces healing of the ulcer in 69%. This rises by an extra 5.4% with eradication therapy too. Number needed to treat (NNT) = 18.

  • In duodenal ulcer, relapse at 3 to 12 months after treatment is 39% after short-term acid suppression alone but eradication increases this by 52% to 91%. NNT = 2.

  • In gastric ulcer, supplementation of acid suppression with eradication therapy does not improve healing rates but it does reduce relapse so that 3 to 12 months later 45% are free of ulcers after just acid suppression but eradication raises this by 32% to 77%. NNT = 3.

  • In patients taking NSAIDs, eradication did not improve the ulcer healing rate but it did halve the number of endoscopically proven ulcers six months later from 18% to 9%.

Complications of peptic ulcer disease18

  • Haematemesis or melaena is associated with erosion of a large blood vessel and significant haemorrhage. Urgent admission to hospital is required. In patients whose ulcers have bled, eradication of H. pylori is more effective than even long-term acid suppression without eradication.18

  • Perforation of a peptic ulcer causes an acute abdomen with epigastric pain that may progress to generalised rigidity. In the presence of steroids the symptoms of perforation may be suppressed or absent.

  • Scarring of the duodenum may lead to pyloric stenosis with vomiting and weight loss but this is rare these days with effective treatment. The classical feature is that the vomit shows food such as tomato skins that were eaten 12 to 24 hours ago.

  • Gastric malignancy (increased risk in Helicobacter pylori positive gastric ulcer disease).

  • Adverse reactions to PPIs and H2-receptor antagonists are usually rare and mild but severe problems can arise. Rare but not serious problems may include taste disturbance, peripheral oedema, photosensitivity, fever, arthralgia, myalgia and sweating. Serious problems include liver dysfunction, hypersensitivity reactions (including urticaria, angio-oedema, bronchospasm, anaphylaxis), depression, interstitial nephritis, blood disorders (including leukopenia, leukocytosis, pancytopenia, thrombocytopenia) and skin reactions (including Stevens-Johnson syndrome, toxic epidermal necrolysis, bullous eruption).19

  • Misoprostol often causes diarrhoea and abdominal pain, especially at higher doses.

Prognosis1

  • With PPI therapy, duodenal ulcers typically heal within 4 weeks and gastric ulcers within 8 weeks.

  • With peptic ulcer disease associated with Helicobacter pylori infection, eradication markedly reduces the risk of recurrent ulceration and may cure duodenal ulcers.

  • Lifetime risk of recurrence for gastric ulcers is 60% if the person remains H. pylori positive, but 5% following eradication of H. pylori.

  • Lifetime risk of recurrence for duodenal ulcers is 80% if the person remains H. pylori positive, but 5% following eradication of H. pylori.

  • About 10% of people with a bleeding peptic ulcer will die, and 25% of people with a perforated peptic ulcer will die.

Further reading and references

  • Bastaki SMA, Amir N, Wiecek M, et al; Influence of the Novel Histamine H3 Receptor Antagonist/Inverse Agonist M39 on Gastroprotection and PGE2 Production Induced by (R)-Alpha-Methylhistamine in C57BL/6 Mice. Front Pharmacol. 2019 Sep 12;10:966. doi: 10.3389/fphar.2019.00966. eCollection 2019.
  • Saleem S, Thomas AL; Management of Upper Gastrointestinal Bleeding by an Internist. Cureus. 2018 Jun 25;10(6):e2878. doi: 10.7759/cureus.2878.
  1. Dyspepsia - proven peptic ulcer; NICE CKS, May 2024 (UK access only)
  2. 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.
  3. Gastro-oesophageal reflux disease and dyspepsia in adults: investigation and management; NICE Clinical Guideline (Sept 2014 - last updated October 2019)
  4. Gikas A, Triantafillidis JK; The role of primary care physicians in early diagnosis and treatment of chronic gastrointestinal diseases. Int J Gen Med. 2014 Mar 13;7:159-73. doi: 10.2147/IJGM.S58888. eCollection 2014.
  5. Sung JJ, Kuipers EJ, El-Serag HB; Systematic review: the global incidence and prevalence of peptic ulcer disease. Aliment Pharmacol Ther. 2009 May 1;29(9):938-46. doi: 10.1111/j.1365-2036.2009.03960.x.
  6. Prabhu V, Shivani A; An overview of history, pathogenesis and treatment of perforated peptic ulcer disease with evaluation of prognostic scoring in adults. Ann Med Health Sci Res. 2014 Jan;4(1):22-9. doi: 10.4103/2141-9248.126604.
  7. Chung CS, Chiang TH, Lee YC; A systematic approach for the diagnosis and treatment of idiopathic peptic ulcers. Korean J Intern Med. 2015 Sep;30(5):559-70. doi: 10.3904/kjim.2015.30.5.559. Epub 2015 Aug 27.
  8. Narayanan M, Reddy KM, Marsicano E; Peptic Ulcer Disease and Helicobacter pylori infection. Mo Med. 2018 May-Jun;115(3):219-224.
  9. Huh CW, Kim BW; Clinical Significance of Risk Factors for Asymptomatic Peptic Ulcer Disease. Clin Endosc. 2017 Nov;50(6):514-515. doi: 10.5946/ce.2017.159. Epub 2017 Nov 30.
  10. Najm WI; Peptic ulcer disease. Prim Care. 2011 Sep;38(3):383-94, vii. doi: 10.1016/j.pop.2011.05.001.
  11. Suspected cancer: recognition and referral; NICE guideline (2015 - last updated October 2023)
  12. Test and treat for Helicobacter pylori (HP) in Dyspepsia - Quick Reference Guide for Primary Care; Public Health England. July 2017, updated August 2019.
  13. Satoh K, Yoshino J, Akamatsu T, et al; Evidence-based clinical practice guidelines for peptic ulcer disease 2015. J Gastroenterol. 2016 Mar;51(3):177-94. doi: 10.1007/s00535-016-1166-4. Epub 2016 Feb 15.
  14. Goldstein JL, Johanson JF, Hawkey CJ, et al; Clinical trial: healing of NSAID-associated gastric ulcers in patients continuing NSAID therapy - a randomized study comparing ranitidine with esomeprazole..Aliment Pharmacol Ther. 2007 Oct 15;26(8):1101-11.
  15. Malfertheiner P, Chan FK, McColl KE; Peptic ulcer disease. Lancet. 2009 Oct 24;374(9699):1449-61. Epub 2009 Aug 13.
  16. Holster IL, Kuipers EJ; Update on the endoscopic management of peptic ulcer bleeding. Curr Gastroenterol Rep. 2011 Dec;13(6):525-31.
  17. Chi TY, Zhu HM, Zhang M; Risk factors associated with nonsteroidal anti-inflammatory drugs (NSAIDs)-induced gastrointestinal bleeding resulting on people over 60 years old in Beijing. Medicine (Baltimore). 2018 May;97(18):e0665. doi: 10.1097/MD.0000000000010665.
  18. Gisbert JP, Khorrami S, Carballo F, et al; H. pylori eradication therapy vs. antisecretory non-eradication therapy (with or without long-term maintenance antisecretory therapy) for the prevention of recurrent bleeding from peptic ulcer. Cochrane Database Syst Rev. 2004;(2):CD004062.
  19. British National Formulary (BNF); NICE Evidence Services (UK access only)

Article history

The information on this page is written and peer reviewed by qualified clinicians.

  • Next review due: 19 Aug 2027
  • 20 Aug 2024 | Latest version

    Last updated by

    Dr Colin Tidy, MRCGP

    Peer reviewed by

    Dr Pippa Vincent, MRCGP
flu eligibility checker

Are you protected against flu?

See if you are eligible for a free NHS flu jab today.

symptom checker

Feeling unwell?

Assess your symptoms online for free