Medical Encyclopedia › G › Gastritis
Gastritis is inflammation of the stomach lining. It can start suddenly and settle quickly, or it can become chronic. Common triggers are the bacterium Helicobacter pylori, painkillers from the NSAID group and alcohol.
What types are there?
Doctors distinguish three main types according to the cause:
| Type | Cause |
|---|---|
| Type A (autoimmune) | The immune system attacks the acid-producing cells; vitamin B12 deficiency can follow. |
| Type B (bacterial) | Infection with Helicobacter pylori – the most common form. |
| Type C (chemical) | Irritation from medicines such as ibuprofen, from alcohol or from bile flowing back. |
Symptoms
Typical complaints are pain or pressure in the upper abdomen, nausea, a feeling of fullness, loss of appetite and belching. Chronic gastritis often causes no symptoms at all. Warning signs such as vomiting blood, black stools, unintended weight loss or difficulty swallowing need prompt medical assessment.
How is it diagnosed?
Gastritis can only be confirmed by an endoscopy of the stomach (gastroscopy) with examination of small tissue samples under the microscope. Helicobacter pylori can also be detected with a urea breath test or a stool test; certain stomach medicines usually have to be paused beforehand.
Treatment
Treatment depends on the cause. Helicobacter infection is treated with a combination of antibiotics and an acid-suppressing drug to clear the bacterium and prevent ulcers. In the chemical form it helps to avoid the triggering medicines and alcohol; acid-reducing drugs such as proton pump inhibitors ease the symptoms. Untreated gastritis can favour a stomach ulcer.
Frequently asked questions
How long does gastritis last?
Acute gastritis usually settles within a few days once the trigger is removed. Chronic gastritis can persist; after successful treatment of a Helicobacter infection, the lining usually improves.
What can you eat with gastritis?
No special diet has been proven to work. Many people tolerate several small, easily digestible meals better. Alcohol and smoking should be avoided, and foods that worsen symptoms are best left out.
Is gastritis contagious?
The inflammation itself is not. However, the bacterium Helicobacter pylori can pass from person to person, usually in childhood within families.
Related terms
Test your knowledge: questions on laboratory values, organs, diseases and more – from beginner to exam level.
Go to the Medical QuizSources
- Malfertheiner P. et al.: Management of Helicobacter pylori infection – the Maastricht VI/Florence consensus report (Gut 2022)
- S2k guideline Helicobacter pylori and gastroduodenal ulcer disease (DGVS, AWMF, Germany)
- IQWiG / gesundheitsinformation.de: information on stomach complaints (Germany)
This entry is for general information only and does not replace medical advice. Last updated: November 2026.