Introduction
Gastritis is inflammation, irritation, or erosion of the stomach lining. It may appear suddenly as a short episode (acute) or persist for a long time (chronic). Many people worldwide develop it at some point, and it becomes more common with age.
Common triggers include Helicobacter pylori (H. pylori) infection, long-term NSAID painkiller use, bile reflux into the stomach, autoimmune injury that impairs vitamin B12 absorption (pernicious anaemia), and less often heavy alcohol use, smoking, severe illness, repeated vomiting, stress, or other autoimmune problems. Spicy food can worsen symptoms but is only one of many factors.
Symptoms range from upper-abdominal discomfort, belching, nausea, and a burning or gnawing feeling between meals or at night, to chest or severe stomach pain. Some people have little or no pain despite clear lining inflammation; others feel very unwell with only mild lining changes. Warning signs include bloody stools or dark, foul-smelling stools.
Once the cause is found and treated—acid reducers, antibiotics for H. pylori, B12 replacement when needed, and diet changes—the lining often heals. This page is general education; personal plans belong with a gastroenterologist or other clinician.
Overview
Gastritis means the protective mucosal lining of the stomach is inflamed or eroded. Acute flares may follow infection, medicines, or irritants; chronic disease can smoulder for years, especially with untreated H. pylori or ongoing NSAID exposure.
Severity of symptoms does not always match severity of lining injury. Evaluation focuses on history, medicines, lifestyle, and—when needed—endoscopy, blood tests, and stool checks for blood or H. pylori.
Outlook is usually good when the driver is corrected. Untreated disease can progress to ulceration, bleeding, or, with long-standing H. pylori, higher risk of more serious stomach disease.
- Inflammation or erosion of the stomach lining—acute or chronic
- Major causes: H. pylori, NSAIDs, bile reflux, autoimmune/B12-related injury
- Common symptoms: upper abdominal pain, nausea, belching, burning discomfort
- Diagnosis: history, exam, endoscopy with biopsy, blood and stool tests as needed
- Treatment targets the cause: acid suppression, H. pylori eradication, B12 if deficient
- Diet and lifestyle changes support healing and symptom control
- Most people improve when the underlying trigger is identified and corrected
What happens in the body
The stomach lining normally protects itself against acid and digestive enzymes. Infection, drugs, bile, alcohol, or immune attack weaken that barrier, allowing acid to irritate deeper tissue and cause inflammation, erosions, or ulcers.
H. pylori lives in the mucus layer and can drive long-term gastritis. Chronic NSAID use reduces protective prostaglandins and predisposes to erosions. Autoimmune gastritis damages acid- and intrinsic-factor–producing cells, impairing B12 absorption and raising anaemia risk.
- Barrier failure → acid injury, inflammation, and possible bleeding
- H. pylori can sustain chronic gastritis and raise ulcer/neoplasia risk in some people
- NSAIDs and bile reflux directly injure or irritate the mucosa
- Autoimmune gastritis links to B12 deficiency (pernicious anaemia)
- Age, smoking, alcohol, and severe illness increase vulnerability
Signs and symptoms
Symptoms vary widely—and severe gastritis can even be silent. Common possibilities include:
- Pain or discomfort in the upper abdomen (most common)
- Belching that does not relieve pain, or only briefly
- Nausea and vomiting (severity tracks inflammation severity)
- Burning or gnawing feeling between meals or at night
- Chest pain or severe stomach pain
- Bloody bowel movements or dark, very foul-smelling stools
- Loss of appetite or early fullness in some people
- Symptoms of anaemia (fatigue, pallor) if bleeding or B12 deficiency is present
Causes and risk factors
More than one factor may apply. Common contributors include:
- Helicobacter pylori infection of the stomach lining
- Long-term or high-dose NSAID (nonsteroidal anti-inflammatory) use
- Bile reflux from the biliary tract into the stomach
- Pernicious anaemia / autoimmune gastritis with impaired B12 absorption
- Heavy alcohol use and smoking
- Severe illness, chronic vomiting, or major physiologic stress
- Other autoimmune conditions affecting the stomach
- Dietary irritants (very spicy, salty, or highly acidic foods) that worsen symptoms
Diagnosis and evaluation
Evaluation starts with history and examination; tests confirm cause and exclude complications:
- Detailed symptom history, medicines (especially NSAIDs), alcohol, smoking, and diet
- Physical examination of the abdomen and general health
- Upper endoscopy to assess inflammation and take biopsies when indicated
- Blood tests for anaemia, H. pylori, and—when relevant—B12 status
- Stool testing for occult blood
- H. pylori testing via breath, stool antigen, or biopsy-based methods as available
- Further imaging only if complications or alternative diagnoses are suspected
Treatment and management
Treatment depends on the cause. Do not stop prescribed medicines or start antibiotics on your own:
- Antacids or acid-suppressing medicines (H2 blockers or proton pump inhibitors) to reduce acid injury
- Combination antibiotics plus an acid blocker when H. pylori is confirmed
- Vitamin B12 injections or replacement if pernicious anaemia drives gastritis
- Review and, when safe, reduce or stop offending NSAIDs with clinician guidance
- Avoid very hot, spicy, pickled, or heavily salted foods that flare symptoms
- Limit caffeine, alcohol, citrus drinks, and soft drinks that irritate the lining
- Smaller, more frequent meals; simple, non-irritating foods while healing
- Manage bile reflux or other coexisting gut problems when present
- Specialist gastroenterology follow-up for bleeding, refractory symptoms, or alarm features
Prevention, self-care, and lifestyle
Not every condition is fully preventable, but the steps below may lower risk or recurrence:
- Use NSAIDs only as advised; ask about stomach protection if you need them long term
- Seek testing and treatment for H. pylori when indicated
- Limit alcohol and quit smoking
- Eat smaller, more frequent meals; avoid personal trigger foods (spicy, fried, fatty, acidic)
- Include soothing, alkaline-leaning options many people tolerate well—such as spinach, cucumber, yogurt, green tea, carrot juice, coconut water, and fresh fruit—as part of a balanced diet
- Do not overload the stomach at one sitting
- Treat reflux and review medicines that irritate the stomach with your clinician
Possible complications
Delay, missed care, or unsafe self-medication can raise the chance of complications in some cases:
- Stomach erosions and peptic ulcers
- Gastrointestinal bleeding (black stools, vomiting blood, anaemia)
- Chronic pain and poor appetite affecting nutrition
- Vitamin B12 deficiency and related anaemia in autoimmune gastritis
- Higher long-term risk of more serious gastric disease with untreated H. pylori in some people
- Scarring or ongoing inflammation if the cause is not corrected
When to see a doctor or seek emergency care
Seek prompt medical advice or emergency care if any of the following apply—it is safer not to wait and see:
- Persistent upper abdominal pain, burning, nausea, or vomiting
- Black, tarry, or bloody stools
- Vomiting blood or coffee-ground material
- Chest pain that could also be cardiac—seek emergency care if unsure
- Unexplained weight loss, progressive swallowing difficulty, or anaemia symptoms
- Inability to keep fluids down or signs of dehydration
- Symptoms while taking long-term NSAIDs or after heavy alcohol use
Living with the condition
Most people recover well once the trigger is addressed. Keep a simple food-and-symptom note, take acid medicine as prescribed, and complete the full H. pylori antibiotic course if given.
Plan meals that are smaller and less irritating, and ask before restarting NSAIDs or alcohol. Follow-up endoscopy may be needed after bleeding or if biopsies showed concerning changes.
This content is educational, not a personal treatment plan—seek care for alarm symptoms promptly.
Frequently asked questions
What is gastritis?
It is inflammation or erosion of the stomach lining, which may be short-lived (acute) or long-lasting (chronic).
Does spicy food alone cause gastritis?
Spicy or irritating foods can worsen symptoms, but infection, NSAIDs, bile reflux, alcohol, and autoimmune injury are more important drivers for many people.
How is H. pylori treated?
Confirmed infection is usually treated with several antibiotics plus an acid-blocking drug; finishing the full course and confirming clearance when advised is important.
Do I always need an endoscopy?
Not always. Many cases are managed after history and non-invasive tests, but endoscopy is useful for alarm features, bleeding, or unclear diagnosis.
Can gastritis heal?
Yes. The lining often heals when the cause is identified and corrected, along with acid control and lifestyle changes.
When are dark stools an emergency?
Black, tarry, or bloody stools can signal bleeding and need urgent medical assessment.
Is stress a cause?
Severe physiologic stress and illness can contribute; everyday stress may worsen symptoms but is rarely the sole cause.
What diet helps?
Smaller meals and avoidance of spicy, acidic, fried, and fatty triggers help many people; yogurt, green tea, leafy vegetables, and fresh fruit are often better tolerated.
Important caution
This article is general health education in English. It is not a substitute for clinical care.
Bleeding, severe pain, or inability to keep fluids down need urgent medical attention.
With cause-directed treatment and sensible diet changes, most people with gastritis improve steadily.