Gastritis
Understanding inflammation of the stomach lining and how to manage it
Last reviewed: February 2026
🔴 What is Gastritis?
Gastritis is inflammation, irritation, or erosion of the stomach lining (mucosa). The stomach lining contains glands that produce stomach acid and an enzyme called pepsin. Normally, a thick mucus barrier protects this lining from the digestive juices. When this barrier is weakened or damaged, inflammation can occur.
Gastritis can occur suddenly (acute gastritis) or develop gradually over time (chronic gastritis). It ranges from mild irritation to severe inflammation that can lead to ulcers or, rarely, increase the risk of stomach cancer.
📋 Types of Gastritis
Acute Gastritis
Sudden, severe inflammation that comes on quickly. Causes include:
- NSAIDs (aspirin, ibuprofen)
- Excessive alcohol consumption
- Severe stress (major surgery, trauma, burns)
- Bacterial infections
- Bile reflux
Chronic Gastritis
Long-term inflammation that develops gradually. Main types include:
| Type | Cause | Characteristics |
|---|---|---|
| Type A (Autoimmune) | Immune system attacks stomach cells | Affects body of stomach; can lead to B12 deficiency and pernicious anemia |
| Type B (Bacterial) | H. pylori infection | Most common type worldwide; affects antrum primarily |
| Type C (Chemical) | NSAIDs, bile reflux, alcohol | Chemical irritation of stomach lining |
Other Forms
- Erosive gastritis: Causes erosions (shallow breaks) in the stomach lining
- Atrophic gastritis: Stomach lining thins and loses gland function
- Metaplastic gastritis: Stomach cells change type (intestinal metaplasia)
⚡ Causes of Gastritis
Most Common Causes
- H. pylori infection: Bacteria that live in the stomach lining; affects about 50% of world's population
- NSAIDs: Aspirin, ibuprofen, naproxen—especially with regular use
- Alcohol: Irritates and erodes the stomach lining
- Stress: Severe physical stress from surgery, injury, burns, or critical illness
Other Causes
- Bile reflux: Backup of bile from small intestine into stomach
- Autoimmune conditions: Body attacks its own stomach cells
- Other infections: Viral, fungal, or parasitic (more common in immunocompromised)
- Radiation therapy: To upper abdomen
- Crohn's disease: Can involve stomach
- Allergic reactions: Food allergies (eosinophilic gastritis)
Risk Factors
- Regular NSAID use
- Heavy alcohol consumption
- Smoking
- Older age (stomach lining thins with age)
- Autoimmune diseases
- HIV/AIDS or other conditions affecting immunity
- Severe stress or critical illness
🔍 Symptoms of Gastritis
Gastritis symptoms can vary from person to person. Some people have no symptoms at all.
Common Symptoms
- Gnawing or burning pain in upper abdomen (epigastric pain)
- Nausea and sometimes vomiting
- Feeling full quickly after eating (early satiety)
- Bloating in upper abdomen
- Indigestion (dyspepsia)
- Loss of appetite
- Belching
Symptoms That May Indicate Complications
- Vomiting blood or material that looks like coffee grounds
- Black, tarry stools (melena)
- Severe abdominal pain
- Unexplained weight loss
- Symptoms that don't improve with treatment
🩺 Diagnosis
Diagnostic Tests
| Test | Purpose |
|---|---|
| Upper Endoscopy (EGD) | Visualize stomach lining; take biopsies; most accurate diagnostic test |
| H. pylori Tests | Breath test, stool test, or blood test to detect H. pylori |
| Blood Tests | Check for anemia, H. pylori antibodies, or autoantibodies |
| Stool Test | Check for blood in stool (occult blood) or H. pylori |
| Biopsy | Examine tissue for inflammation, H. pylori, or precancerous changes |
💊 Treatment
Treatment depends on the cause and severity of gastritis.
General Treatment Approaches
For H. pylori-Related Gastritis
Triple or quadruple therapy combining:
- PPI (omeprazole, pantoprazole)
- Two or more antibiotics (clarithromycin, amoxicillin, metronidazole)
- Treatment duration: typically 10-14 days
- Follow-up testing to confirm eradication
For NSAID-Related Gastritis
- Stop or reduce NSAID use if possible
- Switch to acetaminophen (paracetamol) for pain
- PPIs to heal stomach and protect if NSAIDs must continue
- Consider COX-2 selective NSAIDs (less stomach irritation)
Medications
| Medication Type | Examples | Action |
|---|---|---|
| PPIs | Omeprazole, Pantoprazole, Esomeprazole | Strongly reduce stomach acid production |
| H2 Blockers | Famotidine, Ranitidine | Reduce acid production (less potent than PPIs) |
| Antacids | Tums, Mylanta, Maalox | Neutralize existing acid; quick but short relief |
| Cytoprotective agents | Sucralfate, Bismuth | Protect stomach lining |
| Antibiotics | Clarithromycin, Amoxicillin, Metronidazole | Kill H. pylori bacteria |
🥗 Diet and Lifestyle Management
Foods to Avoid or Limit
- Spicy foods
- Acidic foods (citrus, tomatoes)
- Fried and fatty foods
- Alcohol
- Coffee and caffeinated beverages
- Carbonated drinks
- Processed and packaged foods
Foods That May Help
- High-fiber foods (fruits, vegetables, whole grains)
- Low-fat proteins (chicken, fish, tofu)
- Probiotic-rich foods (yogurt, kefir)
- Non-acidic vegetables
- Ginger (anti-inflammatory properties)
- Turmeric (anti-inflammatory)
- Honey (may have antibacterial properties)
Lifestyle Recommendations
- Eat smaller, more frequent meals
- Avoid eating 2-3 hours before bedtime
- Quit smoking (irritates stomach lining)
- Limit or avoid alcohol
- Manage stress through relaxation techniques
- Avoid NSAIDs if possible; use alternatives
- Maintain a healthy weight
- Stay well-hydrated with water
- Chew food thoroughly and eat slowly
⚠️ Potential Complications
If left untreated, gastritis can lead to:
- Peptic ulcers: Open sores in stomach lining
- Bleeding: Erosions can bleed, causing anemia
- Atrophic gastritis: Loss of stomach gland function
- Pernicious anemia: B12 deficiency from autoimmune gastritis
- Stomach cancer: Increased risk with chronic H. pylori infection or autoimmune gastritis