For general information only. This library does not replace advice, diagnosis or treatment from a qualified health professional. In an emergency, call 911.

Library / Conditions

Duodenal ulcer

A duodenal ulcer is an open sore in the lining of the first part of the small intestine, usually caused by H. pylori infection or anti-inflammatory pain relievers.

Clinician view: includes diagnostic criteria, management and safety detail.

Overview

A duodenal ulcer is an open sore in the lining of the duodenum, the first part of the small intestine just past your stomach. It is the most common type of peptic ulcer, a name for ulcers caused partly by stomach acid. Doctors may also call it peptic ulcer disease of the duodenum.

Your stomach makes strong acid to help digest food. Normally, a layer of mucus and other natural defences protect the lining of your stomach and duodenum. When those defences are weakened, acid can wear away a small area of the lining and form an ulcer. Most duodenal ulcers are caused by an infection with a germ called Helicobacter pylori (often shortened to H. pylori) or by regular use of anti-inflammatory pain relievers.

The good news is that duodenal ulcers can usually be healed with medicine, and treating the cause greatly lowers the chance they come back. Some ulcers, though, can bleed or cause other serious problems, so it is important to know the warning signs.

Symptoms

Some people with a duodenal ulcer have no symptoms at all, especially older adults and people who take anti-inflammatory pain relievers. When symptoms do happen, they often include:

  • A burning or gnawing pain in the upper middle part of your belly, between your breastbone and belly button
  • Pain that comes 2 to 3 hours after eating, or wakes you at night
  • Pain that may ease for a while after you eat or take an antacid
  • Bloating, burping or a feeling of fullness
  • Feeling sick to your stomach (nausea)
  • Poor appetite or losing weight without trying

Warning signs

Some symptoms mean the ulcer may be bleeding or causing a blockage or a hole. These need medical care right away:

  • Vomiting blood, or vomit that looks like coffee grounds
  • Black, sticky, tar-like stools
  • Sudden, sharp, severe belly pain that does not go away
  • Feeling faint, dizzy, very weak or short of breath
  • Repeated vomiting, especially if you cannot keep food down

Causes

An ulcer forms when the balance between stomach acid and the protective lining tips the wrong way. The main causes are:

H. pylori infection

H. pylori is a bacterium (germ) that can live in the lining of the stomach for many years. It is very common worldwide and is usually picked up in childhood. Most people who carry it never get an ulcer, but in some it causes inflammation, raises acid levels and damages the lining of the duodenum.

Anti-inflammatory pain relievers

Non-steroidal anti-inflammatory drugs (NSAIDs), such as ibuprofen, naproxen and diclofenac, and also aspirin, can weaken the protective lining. The risk is higher with higher amounts, long-term use, or when they are combined with other medicines.

Less common causes

  • Severe physical stress. Serious illness, major surgery or large burns can cause "stress ulcers." An ulcer that forms after severe burns is called a Curling ulcer.
  • Zollinger-Ellison syndrome. A rare condition in which a tumour makes a hormone that causes the stomach to produce far too much acid.
  • Other rare causes, such as Crohn's disease or certain infections.

Spicy food and everyday stress do not cause ulcers, although they may make symptoms feel worse for some people.

Risk factors

You may be more likely to get a duodenal ulcer if you:

  • Have an H. pylori infection
  • Take NSAIDs or aspirin regularly, especially at older ages
  • Take NSAIDs together with steroid medicines (corticosteroids), blood thinners (anticoagulants), or certain antidepressants called SSRIs
  • Have had an ulcer before
  • Smoke
  • Drink large amounts of alcohol
  • Have a close family member who has had ulcers

Diagnosis

Your health care provider will ask about your symptoms and the medicines you take, including ones you buy without a prescription. They may press gently on your belly. Tests may include:

  • H. pylori tests. A breath test (you drink a special liquid and breathe into a bag) or a stool test can show if the germ is present. Some acid-reducing medicines and antibiotics can make these tests less accurate, so you may be asked to stop them for a short time beforehand. Only do this if your provider tells you to.
  • Upper endoscopy. A doctor passes a thin, flexible tube with a tiny camera through your mouth into your stomach and duodenum. You are usually given medicine to help you relax. This test can see the ulcer directly, take small tissue samples (biopsies) and, if needed, stop bleeding.
  • Blood tests. These check for a low red blood cell count (anemia), which can happen if an ulcer has been bleeding slowly.
  • Imaging. If a hole (perforation) is suspected, a CT scan may be done urgently.

Treatment

Treatment aims to heal the ulcer, relieve pain, treat the cause and prevent the ulcer from coming back.

Medicines that lower stomach acid

  • Proton pump inhibitors (PPIs), such as omeprazole, esomeprazole, lansoprazole and rabeprazole, strongly reduce the amount of acid your stomach makes. They are the main medicines used to heal ulcers.
  • H2 blockers, such as famotidine, cimetidine and nizatidine, also lower acid, though less strongly. They are sometimes used instead of a PPI.

Treating H. pylori

If you have H. pylori, you will take a combination of medicines, usually for 14 days. This includes a PPI plus two or more antibiotics, such as amoxicillin, clarithromycin, metronidazole or tetracycline, and often a bismuth medicine. Your provider will choose a combination based on local guidance and which antibiotics you have taken before. It is very important to take every dose until the course is finished, even if you feel better. Afterward, you will usually have another breath or stool test, at least 4 weeks after finishing, to make sure the infection is gone.

If NSAIDs are the cause

Your provider may suggest stopping the NSAID or switching to another pain reliever, such as acetaminophen. If you need an NSAID or low-dose aspirin for another health condition, you may be advised to keep taking it along with a PPI to protect your stomach. Do not stop aspirin prescribed for your heart without talking to your doctor first.

Other medicines

Sucralfate forms a protective coating over the ulcer. Antacids such as calcium carbonate, magnesium hydroxide and aluminum hydroxide can give quick, short-term relief of pain, but they do not heal the ulcer or treat its cause.

Procedures and surgery

A bleeding ulcer is usually treated during an endoscopy, using clips, heat or injections to stop the bleeding. Surgery is now rarely needed, but it may be required for a perforation, bleeding that cannot be controlled, or a blockage that does not improve.

Living with a duodenal ulcer

While your ulcer heals, these steps can help you feel better and lower the risk of it returning:

  • Take your medicines exactly as prescribed, and finish any antibiotic course.
  • Check with a pharmacist before taking any over-the-counter pain reliever or cold remedy, since many contain NSAIDs or aspirin.
  • Stop smoking. Smoking slows healing and makes ulcers more likely to return. Ask your provider about support to quit.
  • Limit alcohol.
  • Eat regular, balanced meals. There is no special ulcer diet, but you can avoid foods that seem to make your symptoms worse.
  • Keep follow-up appointments, including the test to confirm that H. pylori is gone.

Complications

Without treatment, a duodenal ulcer can lead to serious problems:

  • Bleeding. This is the most common complication. It may be slow, causing tiredness and anemia, or sudden and heavy, which is an emergency.
  • Perforation. The ulcer can wear a hole through the wall of the duodenum, letting its contents leak into the belly and causing a serious infection called peritonitis. This needs emergency surgery.
  • Blockage. Swelling or scarring can narrow the outlet from the stomach, causing repeated vomiting, fullness and weight loss.

Outlook

Most duodenal ulcers heal within a few weeks to a couple of months with treatment. Once H. pylori is cleared, or an NSAID is stopped or taken with stomach protection, the chance of the ulcer coming back is much lower. Unlike some stomach ulcers, duodenal ulcers are very rarely linked to cancer. Complications such as heavy bleeding or perforation are serious, but prompt treatment helps most people recover well.

Prevention

You can lower your risk of a duodenal ulcer by:

  • Using NSAIDs only when needed, at the lowest amount that works, for the shortest time
  • Asking your provider whether you need stomach protection if you must take NSAIDs or aspirin long term
  • Getting tested and treated for H. pylori if you have ulcer symptoms or have had an ulcer before
  • Not smoking and limiting alcohol
  • Washing your hands and practising good food and water hygiene, which may reduce the spread of germs like H. pylori

In Canada

In Canada, H. pylori treatment commonly follows the Toronto Consensus, which favours 14-day bismuth or non-bismuth quadruple therapy. Ranitidine is no longer sold in Canada. Coverage of medicines and urea breath testing varies by province and private plan.

Diagnosis

  • Main aetiologies: H. pylori and NSAID/aspirin use; consider Zollinger-Ellison syndrome (fasting gastrin off PPI) with multiple, distal, refractory or recurrent ulcers, especially H. pylori-negative and NSAID-negative; consider Crohn's disease, CMV and other rare causes.
  • Test all patients with peptic ulcer for H. pylori: urea breath test or stool antigen non-invasively, or biopsy-based testing (histology, rapid urease, culture) at endoscopy. Withhold PPIs 2 weeks and antibiotics/bismuth 4 weeks before testing where feasible; in acute bleeding, biopsy tests have reduced sensitivity, so repeat testing if negative.
  • Endoscopy for alarm features (bleeding, anaemia, weight loss, persistent vomiting, dysphagia) and age thresholds per local guidance. Routine biopsy and repeat endoscopy of uncomplicated duodenal ulcers are not required, as malignancy is rare (contrast with gastric ulcer).
  • Suspected perforation: erect chest radiograph or CT abdomen.

Management

  • Uncomplicated ulcer: PPI to heal (typically 4 to 8 weeks); stop NSAIDs where possible.
  • H. pylori eradication: 14-day regimens. Bismuth quadruple therapy (PPI, bismuth, tetracycline, metronidazole) is the preferred first-line option in the ACG (2024) guideline; the Toronto Consensus (2016) recommends bismuth quadruple or non-bismuth concomitant quadruple therapy (PPI, amoxicillin, metronidazole, clarithromycin). Reserve clarithromycin triple therapy for confirmed clarithromycin susceptibility. Rifabutin-based or vonoprazan-based regimens are options in some settings. Confirm eradication at least 4 weeks after therapy and at least 2 weeks off PPI.
  • Upper GI bleeding: resuscitate, risk-stratify (Glasgow-Blatchford score), endoscopy within 24 hours; endoscopic haemostasis for active bleeding or a non-bleeding visible vessel; high-dose PPI after haemostasis; restrictive transfusion (generally Hb threshold 70 g/L [7 g/dL], higher with cardiovascular disease). Transcatheter arterial embolisation or surgery for failed endoscopic therapy.
  • Continuing NSAID or antiplatelet need: co-prescribe a PPI; consider COX-2 selective NSAID plus PPI in high-risk patients. Resume low-dose aspirin for secondary prevention early after haemostasis in discussion with cardiology.

Cautions and monitoring

  • Clarithromycin: QT prolongation and CYP3A4 interactions (statins, anticoagulants, others). Metronidazole: disulfiram-like reaction with alcohol. Check penicillin allergy before amoxicillin regimens.
  • Ranitidine has been withdrawn from the Canadian and US markets because of NDMA contamination.
  • Long-term PPIs: use the lowest effective dose and review indication regularly.
  • Red flags: haematemesis, melaena, haemodynamic instability, peritonism, persistent vomiting. Refractory ulcer: check adherence, eradication, covert NSAID use and gastrin.
  • Prognosis: healing exceeds 90% with PPI; recurrence falls markedly after successful eradication.

When to get medical help

See your health care provider if you have:

  • Upper belly pain or indigestion that keeps coming back or lasts more than a couple of weeks
  • Ulcer symptoms that return after treatment
  • Weight loss without trying, poor appetite or ongoing nausea
  • Unusual tiredness or paleness, which may be a sign of slow bleeding
  • Trouble swallowing

Go to the emergency department or call emergency services if you:

  • Vomit blood or material that looks like coffee grounds
  • Pass black, tarry or bloody stools
  • Have sudden, severe belly pain, or your belly becomes hard and very tender
  • Feel faint, dizzy, confused or very short of breath

In an emergency, call 911.

References

  1. U.S. National Library of Medicine. MeSH: Duodenal Ulcer. meshb.nlm.nih.gov
  2. MedlinePlus: Peptic Ulcer. medlineplus.gov/pepticulcer.html
  3. NIDDK: Peptic Ulcers (Stomach and Duodenal Ulcers). niddk.nih.gov/health-information/digestive-diseases/peptic-ulcers-stomach-ulcers
  4. NHS: Stomach ulcer. nhs.uk/conditions/stomach-ulcer/
  5. NICE: Gastro-oesophageal reflux disease and dyspepsia in adults (CG184). nice.org.uk/guidance/cg184