Last reviewed: February 2026

Gastric Ulcer Duodenal Ulcer Stomach Duodenum

🩹 What is Peptic Ulcer Disease?

Peptic ulcer disease (PUD) refers to open sores that develop on the inner lining of the stomach, upper small intestine (duodenum), or esophagus. These ulcers occur when the protective mucus layer that lines the digestive tract is eroded, allowing digestive acids to damage the tissue beneath.

The term "peptic" refers to pepsin, a digestive enzyme in the stomach. The two most common types are gastric ulcers (in the stomach) and duodenal ulcers (in the first part of the small intestine).

🦠
H. pylori
Causes 60-80% of ulcers
💊
NSAIDs
Second most common cause
📊
10%
Lifetime risk of developing
Curable
Most ulcers heal with treatment

📋 Types of Peptic Ulcers

Type Location Pain Pattern Notes
Gastric Ulcer Stomach lining Pain worsens with eating May cause weight loss due to eating avoidance
Duodenal Ulcer First part of small intestine Pain relieved by eating, worse when hungry More common; often causes nighttime pain
Esophageal Ulcer Lower esophagus Pain with swallowing Usually related to severe GERD

Causes of Peptic Ulcers

Contrary to popular belief, stress and spicy foods don't cause ulcers (though they can worsen symptoms). The two main causes are:

1. Helicobacter pylori (H. pylori) Infection

This spiral-shaped bacterium lives in the stomach's mucus layer and is responsible for 60-80% of gastric ulcers and up to 95% of duodenal ulcers.

2. NSAIDs (Non-Steroidal Anti-Inflammatory Drugs)

These common pain relievers account for most ulcers not caused by H. pylori:

Other Contributing Factors

If you need to take NSAIDs regularly, talk to your doctor about taking a PPI to protect your stomach.

🔍 Symptoms

Common Symptoms

Silent Ulcers

Some ulcers cause no symptoms and are discovered only when complications occur. This is more common in:

Warning Signs of Complications

Seek emergency care immediately for:
  • Vomiting blood: Bright red or looks like coffee grounds
  • Black, tarry stools (melena): Indicates bleeding
  • Sudden, severe abdominal pain: May indicate perforation
  • Feeling faint or lightheaded: Signs of blood loss
  • Difficulty breathing

⚠️ Complications

Untreated ulcers can lead to serious, potentially life-threatening complications:

Internal Bleeding

Perforation

Obstruction (Gastric Outlet Obstruction)

Penetration

🩺 Diagnosis

Testing for H. pylori

Test Method Notes
Urea Breath Test Drink solution, blow into container Highly accurate, non-invasive; stop PPIs 2 weeks before
Stool Antigen Test Stool sample analyzed Accurate, convenient; good for confirming eradication
Blood Antibody Test Blood sample Can't distinguish current from past infection
Endoscopy with Biopsy Tissue sample from stomach Most accurate; allows visual examination too

Visualizing the Ulcer

Endoscopy is recommended for anyone with "alarm" symptoms (bleeding, weight loss, difficulty swallowing) and for people over 55 with new symptoms, to rule out cancer.

💊 Treatment

Treatment Goals

  1. Eliminate H. pylori (if present)
  2. Reduce acid production to allow healing
  3. Protect the stomach lining
  4. Avoid agents that caused the ulcer

H. pylori Eradication Therapy

Triple or quadruple therapy for 10-14 days:

Complete the full course of antibiotics even if you feel better. Incomplete treatment leads to antibiotic resistance and treatment failure.

Acid-Reducing Medications

Type Examples Duration
PPIs Omeprazole, Pantoprazole, Esomeprazole 4-8 weeks (duodenal) or 8-12 weeks (gastric)
H2 Blockers Famotidine, Ranitidine Can be used as alternative or adjunct
Antacids Tums, Maalox For symptom relief; not for healing

For NSAID-Induced Ulcers

Follow-Up

🛡️ Lifestyle and Prevention

During Healing

Prevention

If you need pain relief, acetaminophen (paracetamol/Tylenol) doesn't affect the stomach lining and is a good alternative to NSAIDs for many types of pain.

Frequently Asked Questions

Can ulcers come back after treatment?
Yes, ulcers can recur. If H. pylori wasn't completely eradicated, if you continue using NSAIDs without stomach protection, or if you smoke, recurrence is more likely. Successfully treating H. pylori reduces recurrence from about 60% to less than 5%. Lifestyle modifications and avoiding known causes help prevent recurrence.
Do I need to follow a special diet?
There's no specific "ulcer diet," but avoiding foods that worsen your symptoms makes sense. Common irritants include spicy foods, acidic foods, caffeine, and alcohol. Eating regular meals is helpful—don't skip meals. Once healed, most people can gradually return to their normal diet.
Can milk help heal ulcers?
This is a myth. While milk may provide temporary relief, it actually stimulates acid production, which can worsen ulcers. The calcium and protein in milk both trigger acid release. Modern ulcer treatment relies on medications that effectively heal ulcers, not dietary remedies.
How do I know if my ulcer is healing?
Symptoms typically improve within days of starting treatment, though complete healing takes weeks. Your doctor may recommend a follow-up endoscopy for gastric ulcers to confirm healing. For H. pylori, a breath or stool test 4+ weeks after completing antibiotics confirms eradication.
Can ulcers cause cancer?
Most peptic ulcers don't become cancerous. However, chronic H. pylori infection is a risk factor for stomach cancer (though the absolute risk is low). Gastric ulcers should always be biopsied and followed up to ensure they're not cancerous. Duodenal ulcers very rarely become cancerous.