What are the common causes and risk factors for gastric ulcers?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: February 23, 2026View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

What Causes Gastric Ulcers

Gastric ulcers are caused primarily by two factors: Helicobacter pylori infection and nonsteroidal anti-inflammatory drug (NSAID) use, which together account for nearly all cases. 1, 2

Primary Etiologic Agents

Helicobacter pylori Infection

  • H. pylori is the main causative agent in gastroduodenal ulcer disease and represents the predominant mechanism worldwide. 1
  • The bacterium is found in 53% of patients presenting with bleeding ulcers, though this represents a shift from historical patterns where NSAIDs have become increasingly prevalent. 3, 1
  • Among those with latent H. pylori infection, the risk of developing an ulcer is approximately 1% per year (1 per 100 patient-years) independent of NSAID use. 3

NSAID and Aspirin Use

  • NSAIDs and aspirin are the second most important pharmacologic causes, affecting acid secretion and disrupting gastric mucosal integrity. 1
  • NSAID use has surpassed H. pylori as the most commonly identified risk factor in some populations, particularly in developed countries where H. pylori prevalence is declining. 3
  • Approximately 1 in 5 peptic ulcers is associated with H. pylori infection, with most of the remainder due to NSAID use. 4

Synergistic Interaction Between H. pylori and NSAIDs

  • The combination of H. pylori infection and NSAID use synergistically increases the risk of bleeding ulcers more than sixfold. 4
  • H. pylori infection increases the risk of upper GI complications in NSAID users by 2- to 4-fold. 3, 1, 5
  • When aspirin is combined with NSAIDs in the presence of H. pylori, the relative risk of GI bleeding increases to more than 10 times that seen with either agent alone. 3, 5

Additional Contributing Factors

Corticosteroids

  • Corticosteroids represent another important pharmacologic cause that affects acid secretion in the gastric mucosa. 1
  • Concomitant corticosteroid use increases ulcer risk in NSAID users. 3, 5

Anticoagulants and Antiplatelet Agents

  • Warfarin and other anticoagulants significantly increase ulcer complication risk, particularly when combined with NSAIDs. 1, 5
  • Concomitant use of low-dose aspirin (≤325 mg) or other antiplatelet agents increases NSAID-related GI risk. 5

Lifestyle and Dietary Factors

  • Smoking contributes as a modifiable risk factor that alters gastric mucosal integrity. 1
  • High-salt-content diet contributes to altered gastric mucosal integrity. 1
  • Alcohol abuse has contributed to changing epidemiology of peptic ulcer disease. 1

Stress Ulcers

  • Stress ulcers occur particularly in critically ill patients in ICU settings or post-surgery, representing a distinct pathophysiologic mechanism. 1

Key Mechanistic Pathways

  • Both H. pylori and NSAIDs induce ulcers through shared mechanisms: decreased pH, imbalance between apoptosis and proliferation, reduction in mucosal blood flow, and recruitment of polymorphonuclear cells in distinct compartments. 6
  • The severity of NSAID-induced gastrointestinal toxicity correlates with the anti-inflammatory potency of the agent; high-potency NSAIDs (e.g., piroxicam) cause more ulceration than lower-potency agents (e.g., ibuprofen). 5

Critical Clinical Pitfall

A common error is assuming that gastric ulcers in NSAID users are solely NSAID-induced. Both NSAIDs and H. pylori are independent risk factors, and in an individual patient with an ulcer, one cannot be certain which factor is responsible—both risks should be addressed if present. 7 This is particularly important because H. pylori eradication alone is insufficient for secondary prevention of NSAID-induced ulcers in patients who continue NSAID therapy. 6, 8

References

Guideline

Peptic Ulcer Disease Risk Factors

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Research

Guilty as charged: bugs and drugs in gastric ulcer.

The American journal of gastroenterology, 1997

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Guideline

NSAID‑Induced Gastropathy: Risk Assessment and Prevention

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2026

Research

Helicobacter pylori infection and the use of NSAIDs.

Best practice & research. Clinical gastroenterology, 2001

Related Questions

How do you stage and treat a gastric ulcer in a patient with a history of nonsteroidal anti-inflammatory drug (NSAID) use, smoking, and potential Helicobacter pylori (H. pylori) infection?
Can an adult with a history of Helicobacter pylori (H. pylori) infection or Non-Steroidal Anti-Inflammatory Drug (NSAID) use have a stomach ulcer for 8 years?
What is the recommended initial evaluation and treatment for a patient with suspected duodenal ulcer, potential Helicobacter pylori infection, and NSAID use?
Can a patient with a history of H. pylori (Helicobacter pylori) infection or NSAID (Non-Steroidal Anti-Inflammatory Drug) use develop an ulcer despite being on PPI (Proton Pump Inhibitor) therapy for 8 years?
What is the best course of treatment for an older adult patient with a history of peptic ulcer disease, possibly complicated by Non-Steroidal Anti-Inflammatory Drugs (NSAIDs) use and Helicobacter pylori (H. pylori) infection, presenting with cellulitis?
What baseline laboratory tests are required before initiating HIV post‑exposure prophylaxis?
How should an adult with zinc and potassium deficiencies and insulin resistance be supplemented with zinc and potassium?
What is the recommended management for multiple renal cysts, including simple cysts and autosomal dominant polycystic kidney disease?
Is chemosis a common postoperative finding after cyclophotocoagulation for glaucoma?
What is the next optimal management for an elderly woman with severe, treatment‑resistant anxiety, disabling panic attacks, and mood swings who has failed olanzapine (Zyprexa), duloxetine (Cymbalta), buspirone, and benzodiazepines?
What are the differential diagnoses for a mass‑like consolidation on chest imaging, considering factors such as age, smoking history, immune status, occupational exposures, and comorbidities?

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.