Gastritis: Is Your Stomach Lining Inflamed—and What Tests and Treatments Help?

Article information

Written by:
Hyo Cheul Park, MD

Published:

Specialty:

Audience & language:


Evidence policy
Conflict disclosures
Medical disclaimer

About authorship and review dates

Publication, literature-search, and editorial-change dates describe different activities. They do not by themselves establish a completed medical review. Check the article-specific reviewer, scope, and completion date where documented. Independent specialty review is not implied unless a reviewer is explicitly identified. Review process and specialty boundaries

Gastritis means inflammation of the stomach lining, but upper-belly discomfort alone cannot tell you whether that lining is inflamed. Some people with gastritis have no symptoms; others have pain, nausea, or early fullness. The useful next step is to identify the cause—such as Helicobacter pylori infection, medication-related injury, or an autoimmune condition—rather than repeatedly treating every stomach symptom as “gastritis.” Tests and treatment depend on your history and warning signs.[1–4]

Key takeaways

  • Symptoms overlap with ulcers and functional dyspepsia; a symptom label is not a confirmed diagnosis.
  • A breath or stool test can identify active H. pylori; endoscopy with biopsies may be needed to assess the lining.
  • Treatment targets the cause. Acid relief alone does not eradicate H. pylori.
  • After H. pylori treatment, arrange a test of cure even if you feel better.
  • Vomiting blood, black tarry stools, or fainting needs urgent medical attention.
Educational illustration of the stomach lining, testing to identify the cause of gastritis, and a patient discussing treatment and follow-up with a clinician.
Educational illustration of the stomach lining and cause-based care. Not a patient photograph or diagnostic image.

What does “gastritis” actually mean?

The stomach normally has protective defenses against its own acid. Gastritis is inflammation in this lining. Gastropathy describes damage with little or no inflammation; medication-related or chemical injury may fit this term better. “Acute” describes a sudden process, while “chronic” describes a persistent one. Neither word, by itself, tells you the cause or how much pain you should have.[1,2]

A clinician may initially use “gastritis” as a working explanation. Ask whether it was suspected from symptoms or demonstrated on tissue samples. Redness seen during an endoscopy does not provide the same information as a biopsy examined under a microscope.[3]

TermWhat it describesWhy the distinction matters
Gastritis or gastropathyInflammation or injury of the stomach liningFind and address the cause.
Peptic ulcerA deeper sore in the stomach or duodenumMay bleed or cause other complications; requires its own treatment plan.
Functional dyspepsiaUpper-digestive symptoms without a structural explanation on appropriate evaluationSymptoms are real, but ongoing inflammation is not automatically the explanation.

These problems can overlap. Read more about stomach ulcers and functional dyspepsia after eating.[1,8]

What causes it—and what does not?

H. pylori is a bacterium that can persist in the stomach and produce chronic inflammation. Another common issue is injury associated with nonsteroidal anti-inflammatory drugs (NSAIDs), such as ibuprofen or naproxen; aspirin can also injure the lining. Alcohol and bile reflux are other potential contributors.[2]

In autoimmune gastritis, the immune system damages stomach cells. This can interfere with iron and vitamin B12 absorption. “Stress gastritis” in medical discussions usually refers to severe illness, burns, or major injury—not simply having a stressful week.[2,4]

Spicy food is not the usual cause of gastritis. A food may aggravate discomfort without producing the underlying disease. There is no universal “gastritis diet” that replaces treatment of an infection or medication-related injury.[5]

Which symptoms need urgent care?

Seek emergency care for vomiting blood or material resembling coffee grounds, or black, sticky, tarry stools. Call 911 if bleeding is accompanied by fainting, marked weakness, trouble breathing, or other signs of collapse. Severe sudden abdominal pain also warrants urgent evaluation. Do not assume chest pressure or breathlessness is merely indigestion.[2]

Arrange a prompt appointment for persistent vomiting, difficulty swallowing, unexplained weight loss, anemia, or symptoms that repeatedly return or worsen. Tell your clinician about a family history of stomach cancer and where you grew up, because these details can influence testing. Alarm symptoms require individual assessment rather than a rigid age rule.[8]

What tests might you need?

Start with your history and medications

Bring a list of prescriptions, over-the-counter pain relievers, supplements, and previous antibiotics. Explain the timing of symptoms and any bleeding. Depending on the concern, blood tests may look for anemia or nutrient deficiencies; they do not, by themselves, establish gastritis.[3,4]

Breath or stool testing for H. pylori

A urea breath test or stool antigen test can detect active infection. Acid-suppressing medicines and recent antibiotics can reduce test accuracy, so ask for preparation instructions. Blood antibody testing is not a suitable test of cure because antibodies may persist after infection has cleared.[3,6,7]

Upper endoscopy and biopsies

During upper endoscopy, a thin flexible camera examines the esophagus, stomach, and first part of the small bowel. Small biopsies can clarify inflammation, infection, or changes in the stomach glands. A normal-looking surface does not answer every microscopic question.[3]

The ACG/CAG dyspepsia guideline suggests endoscopy for adults aged 60 or older with dyspepsia. For many younger adults without a reason for earlier endoscopy, noninvasive H. pylori testing and treatment if positive come first. Family history, higher gastric-cancer risk, warning symptoms, and the course of illness can change that plan. This is guidance for evaluating dyspepsia—not a requirement that every person with suspected gastritis undergo endoscopy.[8]

How does treatment change with the cause?

If H. pylori is found

Treatment combines antibiotics with acid suppression, sometimes including bismuth. The 2024 ACG guideline favors a 14-day optimized bismuth quadruple regimen as one principal option when antibiotic susceptibility is unknown; other regimens may be appropriate. Selection depends on allergies, previous antibiotics, availability, and resistance. Clarithromycin- or levofloxacin-containing regimens should not be chosen empirically when susceptibility is unconfirmed.[6,7]

Finish the prescribed course and contact the care team about side effects or missed doses. Feeling better is not proof that the infection is gone. Confirm eradication with a suitable breath, stool, or biopsy-based test at least four weeks after treatment. Typically, antibiotics and bismuth must be avoided for four weeks and proton pump inhibitors (PPIs) or potassium-competitive acid blockers for two weeks before testing. Arrange this with your clinician; ask what symptom relief is appropriate while waiting.[6,7]

If medicines or other irritants are contributing

Your clinician may reduce, replace, or stop a culprit medicine and prescribe temporary acid suppression. Do not independently stop aspirin prescribed for cardiovascular protection or an anticoagulant. Instead, discuss the reason it is prescribed, bleeding risk, alternatives for pain, and whether stomach protection is needed. Avoid alcohol while symptoms or injury are being assessed.[4]

If autoimmune gastritis is diagnosed

Care includes checking and replacing iron or B12 when necessary and deciding whether endoscopic follow-up is indicated. Acid suppression alone does not correct autoimmune damage or vitamin deficiency. Fatigue, numbness, or balance changes deserve attention; see our guide to vitamin B12 deficiency.[4,5]

Does chronic gastritis mean stomach cancer?

No. Some forms of long-standing inflammation can lead to atrophy (loss of normal stomach glands) or intestinal metaplasia (a change in the type of lining cells). These findings are not the same as cancer. Their extent, biopsy features, family history, and other risk factors determine whether surveillance is useful.[9]

The 2025 ACG guideline supports surveillance, often every three years, for selected higher-risk gastric premalignant conditions. It does not recommend the same schedule for everyone with mild gastritis or every low-risk biopsy finding. Ask for a written explanation of your pathology result and follow-up plan.[9]

In a randomized South Korean trial involving infected adults with a first-degree relative who had gastric cancer, cancer developed in 1.2% of the treatment group versus 2.7% of the placebo group over a median 9.2 years. This supports treating infection in that high-risk setting, but those percentages do not estimate risk for an average US patient and do not mean treatment eliminates all cancer risk.[10]

What can you safely do at home?

  • Keep a brief record of symptoms, meals, and medicines to bring to an appointment.
  • If particular foods worsen discomfort, adjust them without unnecessarily eliminating entire food groups.
  • Review repeated NSAID use with your clinician or pharmacist rather than adding indefinite over-the-counter acid suppression.
  • Put the follow-up test date on your calendar when starting H. pylori treatment.

These steps support the medical plan; they do not establish a diagnosis. Nutrition changes can improve comfort, but supplements or restrictive diets are not proven substitutes for cause-specific care.[4–7]

Questions to ask at your visit

  • Is gastritis confirmed, or is it a working explanation for my symptoms?
  • Should I have an H. pylori test, and which medicines affect it?
  • Do my age, warning symptoms, or family history make endoscopy appropriate?
  • If I have biopsies, do they show atrophy or intestinal metaplasia?
  • When will we confirm treatment success or reconsider the diagnosis?

Conclusion

The most useful question is not simply “Do I have gastritis?” but “What evidence supports it, what caused it, and what follow-up do I need?” Cause-specific treatment, appropriate testing, and attention to bleeding or other warning signs provide a safer path than repeatedly treating symptoms without reassessment.

References

  1. National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK). Gastritis & Gastropathy. Reviewed August 2019.
  2. NIDDK. Symptoms & Causes of Gastritis & Gastropathy. Reviewed August 2019.
  3. NIDDK. Diagnosis of Gastritis & Gastropathy. Reviewed August 2019.
  4. NIDDK. Treatment of Gastritis & Gastropathy. Reviewed August 2019.
  5. NIDDK. Eating, Diet, & Nutrition for Gastritis & Gastropathy. Reviewed August 2019.
  6. Chey WD, Howden CW, Moss SF, Morgan DR, Greer KB, Grover S, Shah SC. ACG Clinical Guideline: Treatment of Helicobacter pylori Infection. Am J Gastroenterol. 2024;119(9):1730–1753. doi:10.14309/ajg.0000000000002968. Official guideline highlights.
  7. Schoenfeld P. ACG Guideline on Treatment of Helicobacter pylori: New Recommendations… Will Practice Change? American College of Gastroenterology, Evidence-Based GI. September 2024.
  8. Moayyedi P, Lacy BE, Andrews CN, Enns RA, Howden CW, Vakil N. ACG and CAG Clinical Guideline: Management of Dyspepsia. Am J Gastroenterol. 2017;112(7):988–1013. doi:10.1038/ajg.2017.154. PubMed.
  9. Morgan DR, Corral JE, Li D, Montgomery EA, Riquelme A, Kim JJ, Sauer B, Shah SC. ACG Clinical Guideline: Diagnosis and Management of Gastric Premalignant Conditions. Am J Gastroenterol. 2025;120(4):709–737. doi:10.14309/ajg.0000000000003350. Official guideline highlights.
  10. Choi IJ, Kim CG, Lee JY, Kim YI, Kook MC, Park B, Joo J. Family History of Gastric Cancer and Helicobacter pylori Treatment. N Engl J Med. 2020;382(5):427–436. doi:10.1056/NEJMoa1909666. PubMed.

Literature search date: October 17, 2026. Guidance consulted: ACG H. pylori guideline (2024); ACG gastric premalignant conditions guideline (2025); ACG/CAG dyspepsia guideline (2017); NIDDK patient information (reviewed 2019). Recommendations depend on the diagnosis, local antibiotic resistance, and individual risk.

About the author

Hyo Cheul Park, MD

Dr. Park graduated from Chonnam National University College of Medicine, completed postgraduate surgical training at Gwangju Christian Hospital, and obtained board certification in general surgery in the Republic of Korea. He is the clinical author and editor of MedEvidence Global. Author profile · Conflict-of-interest policy

This article provides general education and does not replace individualized medical evaluation, diagnosis, or treatment. Seek urgent care for the warning signs described above.


Continue exploring: Professional reviews · Patient guides · Medical topics