Gastritis: Causes, Symptoms, Diagnosis and Treatment

Reviewed by: Medskology Medical Team · Last updated: November 28, 2026

Stomach pain, nausea or a burning sensation after eating? These symptoms may sometimes be caused by gastritis.

Gastritis occurs when the protective lining of the stomach becomes inflamed. It can develop suddenly or gradually, depending on its cause.

What Is Gastritis?

The stomach produces hydrochloric acid to digest food. A protective mucus layer prevents this acid from damaging the stomach itself.

When this protective barrier is damaged or the stomach lining becomes inflamed, gastritis develops.

Types of gastritis:

Why Does Gastritis Occur?

H. pylori Infection

Helicobacter pylori is a bacterium that can survive in the stomach. It damages the protective mucus layer and triggers inflammation, potentially causing chronic gastritis and ulcers.

Excessive Use of Painkillers

Medicines such as ibuprofen, aspirin and naproxen reduce substances called prostaglandins.

Prostaglandins help maintain the stomach's protective mucus, bicarbonate production and blood flow. When their levels decrease, the stomach lining becomes more vulnerable to acid-related damage.

Alcohol Consumption

Excessive alcohol can directly irritate and damage the stomach lining, causing inflammation and sometimes erosions.

Autoimmune Reaction

In autoimmune gastritis, the immune system attacks the stomach's acid-producing cells. This can reduce vitamin B12 absorption and eventually cause anaemia.

Severe Physical Stress

Major surgery, severe burns and critical illness can reduce blood flow to the stomach lining, causing stress-related mucosal injury.

What Are the Symptoms of Gastritis and Why Do They Occur?

Upper Abdominal Pain

Inflammation irritates the stomach lining, producing discomfort or a burning sensation in the upper abdomen.

Nausea and Vomiting

Inflammation can interfere with normal stomach function and stimulate pathways involved in nausea.

Bloating and Fullness

Changes in stomach function can cause uncomfortable fullness, bloating and indigestion.

Loss of Appetite

Persistent nausea and abdominal discomfort may reduce the desire to eat.

Gastrointestinal Bleeding

Severe inflammation or erosions can damage blood vessels, resulting in blood in vomit or black stools.

How Is Gastritis Diagnosed?

H. pylori Stool Antigen Test

Detects proteins from H. pylori in stool, helping identify an active infection.

Urea Breath Test

The patient drinks a solution containing labelled urea. If H. pylori is present, the bacteria break down the urea and produce labelled carbon dioxide, which is detected in the breath.

Upper GI Endoscopy

A thin camera is passed through the mouth to examine the stomach lining. It helps identify inflammation, erosions, ulcers and bleeding.

Gastric Biopsy

Small tissue samples collected during endoscopy are examined under a microscope to identify inflammation, H. pylori and changes in stomach cells.

Blood Tests

Blood tests may identify anaemia, iron deficiency or vitamin B12 deficiency, particularly in chronic or autoimmune gastritis.

How Is Gastritis Treated?

Treatment depends on the underlying cause.

Step 1: Remove the Cause

Step 2: Reduce Stomach Acid

Proton Pump Inhibitors (PPIs): Medicines such as omeprazole and pantoprazole reduce acid production, allowing the stomach lining to heal.

H2 Blockers: Famotidine reduces stomach acid by blocking histamine receptors.

Antacids: Neutralise existing stomach acid and provide temporary relief.

Step 3: Treat H. pylori Infection

When H. pylori is confirmed, doctors prescribe a combination of antibiotics and acid-reducing medicines.

One recommended option when antibiotic susceptibility is unknown is 14-day bismuth quadruple therapy:

The exact treatment depends on allergies, previous antibiotic use and local resistance patterns.

Step 4: Confirm Successful Treatment

A stool antigen test or urea breath test is generally performed at least four weeks after completing antibiotics.

PPIs are usually stopped for two weeks before testing, when medically safe, to reduce false-negative results.

Step 5: Correct Nutritional Deficiencies

Autoimmune gastritis may cause vitamin B12 and iron deficiencies. Doctors may prescribe supplements or vitamin B12 injections depending on the results.

What Foods Should You Eat?

There is no specific diet that cures gastritis. However, choosing foods that do not worsen symptoms may improve comfort.

Foods to include:

Foods to limit:

Dietary changes do not eliminate H. pylori or replace medical treatment.

What Happens If Gastritis Is Untreated?

Depending on the cause, chronic gastritis may lead to:

When Should You See a Doctor?

Consult a doctor if you experience persistent upper abdominal pain, repeated vomiting, unexplained weight loss or loss of appetite.

Seek emergency medical attention if you experience:

Frequently Asked Questions

Is gastritis the same as acidity?

No. Gastritis is inflammation of the stomach lining, while acidity commonly refers to acid reflux or heartburn.

Can stress cause gastritis?

Severe physical stress during critical illness can cause stomach lining injury. Ordinary psychological stress is not considered a primary cause of most gastritis cases.

Can gastritis be cured permanently?

Many cases improve when the underlying cause is treated. H. pylori can often be eliminated with appropriate antibiotics.

Can gastritis cause bloating?

Yes. Some people experience bloating, fullness and indigestion, although these symptoms can also occur in other digestive conditions.

Does gastritis lead to stomach cancer?

Most cases do not. However, chronic H. pylori infection and certain forms of atrophic gastritis increase the risk.

Key Takeaways

Medical disclaimer: This article is for educational purposes only and does not replace professional medical advice, diagnosis or treatment.

Medical references: