Gastritis vs Stomach Ulcer: What's the Difference?
Many people use "ulcer" to describe any burning stomach pain. In reality, two related but different conditions are often involved: gastritis and peptic ulcer disease.
What gastritis is
Gastritis is inflammation of the stomach lining. It can be:
- Acute, coming on suddenly, for example after heavy alcohol use or certain medicines
- Chronic, lasting months or years, often caused by H. pylori
Gastritis may cause discomfort, nausea, bloating and indigestion, or no symptoms at all.
What an ulcer is
A peptic ulcer is an actual break, a sore, in the lining of the stomach or duodenum that goes deeper than surface inflammation. Ulcers can bleed and, rarely, perforate.
How they are connected
The two often share causes:
- H. pylori infection
- Anti-inflammatory painkillers such as ibuprofen, aspirin and naproxen
- Alcohol and smoking, which worsen damage and slow healing
Long-term gastritis can create conditions in which an ulcer develops.
How doctors tell them apart
Symptoms alone cannot reliably separate the two. Diagnosis may involve:
- Testing for H. pylori
- Reviewing medicines you take
- Endoscopy, which shows inflammation, ulcers or other problems directly, especially if there are warning signs
Why the difference matters
- An ulcer carries a risk of bleeding, so warning signs such as black stools or vomiting blood need urgent attention.
- Some ulcers need a follow-up endoscopy to confirm healing.
- Both usually improve when the cause is treated, but treatment length and follow-up may differ.
What both have in common
Whether you have gastritis or an ulcer, the steps are similar: identify the cause, treat H. pylori if present, review painkillers with your doctor, stop smoking, limit alcohol and eat regular, gentle meals.
Key takeaway
Gastritis is inflammation; an ulcer is a sore. They often share the same root causes, and both respond well when that cause is found and treated properly.


