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.

The term peptic ulcer refers to both gastric and duodenal ulcers.

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

Continue reading below


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

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, except in certain populations such as immigrants.2 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.3


  • H. pylori.

  • NSAIDs.

  • Pepsin.

  • Smoking.

  • Alcohol.

  • Bile acids.

  • Steroids.

  • Stress.

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

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

Continue reading below



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.7


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

Investigations1 9

  • 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 for the first time above the age of 55, or there are warning signs (as below).

    • Irrespective of age, endoscopy is required if there is:

      • Iron-deficiency anaemia.

      • Chronic blood loss.

      • Weight loss.

      • Progressive dysphagia.

      • Persistent vomiting.

      • An epigastric mass.

    • In patients aged over 55 years, referral should also be considered if there is:

      • Previous gastric ulcer.

      • Previous gastric surgery.

      • Pernicious anaemia.

      • NSAID use.

      • Family history of gastric carcinoma.


Modification of behaviour10

  • 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-positive11

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.12

A large randomised trial has not shown any difference in gastric ulcer healing between groups receiving esomeprazole 40 mg, esomeprazole 20 mg and ranitidine.13 NICE recommends full-dose PPI for two months.1 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.14 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 ulcer5

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 ulcers15

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 prevention1

  • 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.16 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.6

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


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:1

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 interventions1

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%.


  • 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.17

  • 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.

  • 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).18

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


Prognosis is excellent if the underlying cause such as H. pylori infection or drugs can be addressed.

Eradication of H. pylori decreases the ulcer recurrence rate from 60-90% to 10-20%. This is still higher than previously reported and this is thought to be due to an increase in NSAID-related ulcers. The mortality rate is 1 in 100,000, a figure which has decreased modestly in the last few decades.

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. Gastro-oesophageal reflux disease and dyspepsia in adults: investigation and management; NICE Clinical Guideline (Sept 2014 - last updated October 2019)
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. Narayanan M, Reddy KM, Marsicano E; Peptic Ulcer Disease and Helicobacter pylori infection. Mo Med. 2018 May-Jun;115(3):219-224.
  7. 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.
  8. Najm WI; Peptic ulcer disease. Prim Care. 2011 Sep;38(3):383-94, vii. doi: 10.1016/j.pop.2011.05.001.
  9. Peptic ulcer disease;
  10. Dyspepsia - proven peptic ulcer; NICE CKS, October 2019 (UK access only)
  11. Test and treat for Helicobacter pylori (HP) in Dyspepsia - Quick Reference Guide for Primary Care; Public Health England. July 2017, updated August 2019.
  12. 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.
  13. 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.
  14. Malfertheiner P, Chan FK, McColl KE; Peptic ulcer disease. Lancet. 2009 Oct 24;374(9699):1449-61. Epub 2009 Aug 13.
  15. Holster IL, Kuipers EJ; Update on the endoscopic management of peptic ulcer bleeding. Curr Gastroenterol Rep. 2011 Dec;13(6):525-31.
  16. 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.
  17. 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.
  18. 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.

symptom checker

Feeling unwell?

Assess your symptoms online for free