Why Gastric Ulcers Happen (and What Actually Triggers Them)
- 01. Gastric ulcers: the surprising causes doctors rarely discuss
- 02. Core causes of gastric ulcers
- 03. Less-discussed triggers inside the body
- 04. Diet, lifestyle, and environmental influences
- 05. Medications and systemic diseases that raise risk
- 06. Timeline of key medical discoveries
- 07. Typical risk profile and prevalence data
Gastric ulcers: the surprising causes doctors rarely discuss
Gastric ulcers are usually caused by Helicobacter pylori infection or long-term use of nonsteroidal anti-inflammatory drugs (NSAIDs) like ibuprofen, naproxen, or high-dose aspirin; together, these two mechanisms account for roughly 80-90% of all peptic ulcer disease cases worldwide. Less often, gastric acid overproduction syndromes, certain medications, and systemic illnesses can also erode the stomach lining and create ulcers.
Core causes of gastric ulcers
Helicobacter pylori infection is the single most common identifiable cause of gastric ulcers, responsible for about 60% of stomach ulcers and the vast majority of duodenal ulcers. This bacterium lives in the mucous layer that protects the stomach lining, and when it triggers chronic inflammation, the protective mucus breaks down and allows acid to eat into the tissue.
Nonsteroidal anti-inflammatory drugs (NSAIDs) are the second major cause, implicated in roughly 20-40% of all gastric ulcers. Regular or high-dose use of over-the-counter painkillers such as ibuprofen, naproxen, ketoprofen, or prescription NSAIDs (including some arthritis regimens) impairs the gastric mucosal barrier, making the lining more vulnerable to acid damage.
Less-discussed triggers inside the body
Several internal factors can raise the risk of gastric ulcer formation without being classic "primary" causes. Acid-overproduction syndromes such as Zollinger-Ellison syndrome, in which a gastrin-secreting tumor drives extremely high gastric acid output, can lead to multiple or recurrent ulcers. Other systemic illnesses-such as severe sepsis, major burns, or critical care-type physiological stress-can also trigger stress-related mucosal damage and ulceration in hospitalized patients.
Older age is another underemphasized ulcer risk factor: people over 60 have thinner mucosal defenses and are more likely to be on NSAIDs, anticoagulants, or other ulcer-promoting drugs, which helps explain why peptic ulcer complications such as bleeding are more common in this age group. Prior history of a peptic ulcer also doubles the risk of recurrence if the underlying cause (such as ongoing NSAID exposure or untreated H. pylori) is not addressed.
Diet, lifestyle, and environmental influences
Unlike long-standing myths, neither stress nor spicy foods directly cause gastric ulcers, although they can worsen pain and slow healing in already injured tissue. What is more consistently harmful is chronic alcohol use, which both irritates the stomach lining and increases gastric acid production, amplifying the risk in people who also use NSAIDs or carry H. pylori.
Smoking is another silently dangerous habit: smokers infected with Helicobacter pylori have a higher likelihood of developing ulcers and slower healing than non-smokers. The combination of nicotine-induced acid changes and impaired mucosal repair may also explain why smoking increases the risk of peptic ulcer complications, even when the primary cause is treatable infection or medication.
- Smoking increases the risk of undetected gastric ulcers in older adults, especially those on NSAIDs.
- Heavy drinking may convert a small, asymptomatic mucosal break into a full-blown ulcer.
- Untreated chronic stress can delay ulcer healing by altering local blood flow and repair mechanisms.
Medications and systemic diseases that raise risk
Beyond NSAIDs, a growing list of prescriptions can contribute to acquired gastric ulcers. Corticosteroids, certain osteoporosis drugs (notably oral bisphosphonates), and some antidepressants (including selective serotonin reuptake inhibitors) can weaken the gastric mucosa or impair clotting, especially when combined with NSAIDs. In rare cases, local infections with viruses, fungi, or other bacteria (not H. pylori) can also produce ulcer-like lesions in the stomach.
Systemic conditions such as chronic kidney disease, severe liver disease, and autoimmune disorders can indirectly promote ulcers by altering immune responses, drug metabolism, or mucosal repair. Similarly, patients recovering from major surgery or abdominal radiation may develop iatrogenic gastric ulcers due to disrupted blood supply and inflammatory cascades in the stomach.
Timeline of key medical discoveries
For decades, clinicians believed that tight diets, stress, and excess acid were the main gastric ulcer causes, but that view shifted dramatically after the 2005 Nobel Prize in Physiology or Medicine was awarded for identifying Helicobacter pylori as the chief culprit. By the 1990s, large epidemiologic studies had already shown that eradicating H. pylori reduced ulcer recurrence by more than 80% compared with acid-suppression therapy alone.
Between 2000 and 2015, national guidelines increasingly emphasized routine H. pylori testing in patients with new ulcers, and by the mid-2020s most advanced healthcare systems treat virtually every confirmed peptic ulcer as a suspected infection or NSAID-related lesion unless another cause is clear. This shift has helped reduce hospitalizations for bleeding gastric ulcers by roughly 30-40% in countries with high access to endoscopy and eradication therapy.
Typical risk profile and prevalence data
Approximately 1 in 10 adults will develop a peptic ulcer at some point, with men slightly more affected than women and risk rising after age 50. In routine clinical practice, about 60-70% of ulcers are linked to Helicobacter pylori, 20-30% to NSAIDs, and the remaining 5-10% to rarer causes such as acid-overproduction syndromes, malignancy, or systemic illness.
The following table illustrates how common causes compare across a hypothetical cohort of 1,000 patients with confirmed gastric ulcers, reflecting typical real-world proportions reported in recent gastroenterology guidelines.
| Cause category | Approximate share of ulcers | Notes |
|---|---|---|
| Helicobacter pylori infection | ~65% | Main driver in new ulcers; eradication cuts recurrence by >80%. |
| NSAID or aspirin use | ~25% | Risk rises with high dose, longer duration, or multiple NSAIDs.|
| Acid-overproduction syndromes | ~4% | Includes Zollinger-Ellison and related hypersecretory states.|
| Other systemic or iatrogenic causes | ~6% | Infections, malignancy, surgery, or medications not classified above.
- A patient with a new gastric ulcer undergoes H. pylori testing (breath, stool, or biopsy) to guide treatment.
- Laboratory or endoscopic findings are used to estimate whether the ulcer is more likely NSAID-related, infection-driven, or linked to acid-overproduction syndromes.
- If the ulcer is associated with NSAID use, the regimen is reviewed and often switched to safer alternatives or paired with a gastric-protective agent.
- Eradication therapy for Helicobacter pylori typically combines two antibiotics and a proton-pump inhibitor for 10-14 days.
- Follow-up testing confirms eradication and screens for persistent or recurrent peptic ulcer disease.
Everything you need to know about Gastric Ulcer Causes
What are the main causes of gastric ulcers?
The two main causes of gastric ulcers are Helicobacter pylori infection and long-term or high-dose use of nonsteroidal anti-inflammatory drugs such as ibuprofen, naproxen, and aspirin. These alone account for roughly 80-90% of all peptic ulcer disease cases; other contributors include acid-overproduction syndromes, certain medications, systemic illnesses, and stress-related mucosal injury in critically ill patients.
Can stress cause gastric ulcers?
Emotional stress does not directly cause gastric ulcers, and modern guidelines explicitly state that stress and spicy foods are not root causes. However, chronic stress can worsen symptoms and delay healing by increasing gastric acid secretion and altering blood flow to the mucosa, especially in people already infected with Helicobacter pylori or taking NSAIDs.
Do NSAIDs really cause stomach ulcers?
Yes. Regular use of NSAID analgesics such as ibuprofen, naproxen, or high-dose aspirin is responsible for about 20-40% of gastric ulcers, depending on the population studied. Risk climbs with higher doses, longer duration, and combinations with other drugs (like corticosteroids or blood thinners), which is why guidelines recommend gastric protection or alternative pain regimens for long-term users.
Is Helicobacter pylori the most common cause?
Studies over the past three decades consistently show that Helicobacter pylori is the most common identifiable cause of gastric ulcers, underlying about 60% of cases and up to 90% of duodenal ulcers. Once confirmed, eradication therapy reduces recurrence to fewer than 5-10% over the next few years, compared with 40-60% recurrence if the infection is left untreated.
Can smoking or alcohol cause ulcers?
Smoking does not directly cause gastric ulcers, but it increases the risk-especially in people with underlying Helicobacter pylori or those on NSAIDs-by impairing mucosal repair and raising acid levels. Similarly, heavy alcohol use can erode the stomach lining and amplify damage from other causes, though moderate drinking is not considered a primary ulcer driver.
What are rare but serious causes?
Rare but serious causes of gastric ulcers include acid-overproduction syndromes such as Zollinger-Ellison disease, certain systemic infections, and malignancies that mimic ulceration on imaging or endoscopy. In immunocompromised patients, unusual pathogens such as cytomegalovirus, fungi, or other bacteria can also create ulcer-like lesions, requiring specialized gastric biopsy and targeted therapy.
How are gastric ulcers diagnosed and treated?
Most gastric ulcers are diagnosed via upper endoscopy with biopsy and H. pylori testing, which lets clinicians distinguish infection-driven lesions from NSAID-related or other causes. Treatment then focuses on eradicating Helicobacter pylori with antibiotics, discontinuing or modifying NSAIDs when possible, and using proton-pump inhibitors or other acid-suppressing agents to promote mucosal healing and prevent complications.