What Is Gastritis?

What Is Gastritis?
iStock

Gastritis is when your stomach lining becomes inflamed. Many people with gastritis don’t have symptoms. Among those who do, symptoms can include nausea, vomiting, bloating, indigestion, or heartburn.

This common condition can be acute (meaning it has a sudden onset) or chronic (meaning it develops gradually). In either case, there are many treatment options for gastritis, such as medication and lifestyle changes, that may alleviate symptoms.

Types of Gastritis

Gastritis is classified according to how long you’ve had symptoms and what the underlying cause is.

Acute vs. Chronic Gastritis

Gastritis can be a temporary illness resulting from an acute cause, like an infection. Other times, gastritis is a chronic condition that develops slowly, with symptoms that may be unnoticeable or inconsistent but lead to more serious problems over time.

  • Acute gastritis is a sudden and temporary condition characterized by inflammation and irritation, which may include shallow breaks in the stomach lining.

    It often leads to a noticeable upset stomach or bowel problems, but these symptoms often get better on their own in a few days.

  • Chronic gastritis is a persistent, long-term inflammatory condition that deteriorates the stomach lining over time. Left untreated, certain types of inflammation may result in gastric adenocarcinoma, a type of stomach cancer.

     It can be caused by a number of factors, including frequent and long-term use of nonsteroidal anti-inflammatory drugs (NSAIDs), Helicobacter pylori (H. pylori) infection, extreme stress, smoking, and autoimmune diseases.

Erosive vs. Nonerosive Gastritis

Gastritis can also be erosive or nonerosive:

  • Erosive gastritis: When the illness wears away at your stomach lining, leaving ulcers
  • Nonerosive gastritis: When the illness doesn’t eat away at your stomach lining, but instead causes irritation, such as reddening. It may also lead to atrophy (thinning) of the stomach lining, which can cause digestive problems.

Other Ways to Classify Gastritis

Sometimes you may hear gastritis categorized based on cause.

  • Infectious gastritis: A type of gastritis induced by bacteria, viruses, parasites, or fungi

  • Reactive or chemical gastritis: A form of gastritis triggered by drugs (typically NSAIDs), alcohol, or bile reflux (when bile from the small intestine flows backward into the stomach or esophagus rather than flowing as usual into the small intestine)

  • Autoimmune gastritis: A type of gastritis caused by an autoimmune disorder and the resulting dysfunction of gastric acid secretion

  • Eosinophilic gastritis: A rare, chronic disease caused by an overproduction of white blood cells called eosinophils, which can lead to inflammation and damage in the stomach. Eosinophilic gastritis is often associated with allergies.

Signs and Symptoms of Gastritis

Many people don’t experience symptoms of gastritis, or they notice a gradual onset of symptoms. Other people notice more sudden changes to their stomach, as is the case with acute gastritis. The most common symptoms of gastritis are:

  • A loss of appetite or feeling full quickly when eating
  • Nausea and vomiting
  • Indigestion, which can feel like a burning sensation in the belly that heightens after eating
  • Bloating and abdominal pain
  • Hiccups and belching
  • Dark blood in your vomit or black, tarry stools, which can indicate the stomach lining is bleeding
  • Unexplained weight loss
  • Anemia

Causes and Risk Factors of Gastritis

Gastritis can be caused by several factors, including:

  • Bacterial and Viral Infections Infection caused by the bacteria H. pylori is overwhelmingly the most common cause of chronic gastritis.

    Other bacteria, viruses, parasites and fungus can cause gastritis, too.

  • Long-Term Use of NSAIDs NSAID pain relievers like ibuprofen and naproxen sodium can damage the stomach lining and lead to gastritis if taken often for an extended period of time.

  • Extreme Stress Stress due to bodily trauma, severe illness, major surgery, or untreated chronic depression can lead to gastritis.

  • Alcohol and Cigarettes Drinking too much alcohol and smoking both can irritate the stomach lining.

  • Drug Use Recreational drugs, such as cocaine, can also cause gastritis.

  • Chemotherapy and Radiation Gastritis is a potential side effect of cancer treatments like chemotherapy or radiation therapy.

  • Acidic Beverages Drinking too much coffee or other acidic beverages can irritate the stomach lining.

  • Autoimmune Disease Certain autoimmune conditions, such as celiac disease and Crohn’s disease, cause inflammation in the digestive tract.

  • Food Allergies An abnormal immune response to certain foods can cause a rare type of gastritis known as eosinophilic gastritis. As mentioned, people with this condition experience a buildup of eosinophils, which can lead to inflammation and damage in the stomach.

  • Older Age Older adults are at an increased risk of gastritis because the stomach lining often gets thinner with age. In addition, common causes of gastritis, such as H. pylori infection and autoimmune disorders, are usually more severe in older adults than in younger adults.

  • Bile Reflux This occurs when bile, a bodily fluid that helps break down food in the small intestine, comes back up into the esophagus and stomach, damaging the stomach lining.

    Bile reflux is a common side effect in people who have just had weight loss surgery or other types of surgery that remove part of the stomach.

How Is Gastritis Diagnosed?

A healthcare provider may suspect you have gastritis after talking to you about your symptoms, diet, lifestyle, and health history. But because a diagnosis of gastritis is only confirmed with testing, your doctor will likely recommend one or more of the following procedures to confirm the diagnosis and determine the root cause.

  • Upper endoscopy exam: An endoscopy is a procedure in which a long, thin tube with a tiny camera is passed down the GI tract from the throat and into the esophagus to examine the stomach and small intestine. Using the endoscope, your doctor will look for signs of inflammation and conduct a biopsy (removing a small tissue sample from your stomach) to test it for specific bacteria and viruses.

  • Breath or stool tests: Breath or stool tests can detect H. pylori. During a breath test, individuals drink a glass of clear, tasteless liquid that contains radioactive carbon, which is broken down by H. pylori bacteria. They then blow into a bag, which is sealed afterward. Those with an H. pylori infection will have radioactive carbon present in the bag.

     Your medical team may also collect a stool sample to test for bacteria that can cause gastritis. These tests can also check for blood in your stool, another potential indicator of gastritis.

  • Blood tests: Although blood tests can’t actually diagnose gastritis, they can identify potential indicators of gastritis, such as a vitamin B12 deficiency.

Treatment and Medication Options for Gastritis

The best treatment options will depend on the root cause of your gastritis and may include one or a combination of the options below:

Medication for Gastritis

Medication options for gastritis include:

  • Antibiotics If you have H. pylori infection in your digestive tract, your doctor will likely prescribe antibiotics, usually taken for 7 to 14 days.

  • Proton Pump Inhibitors These medications reduce stomach acid production. They can be bought over-the-counter or with a prescription.

    They include esomeprazole (Nexium), lansoprazole (Prevacid), omeprazole (Prilosec), pantoprazole (Protonix), and rabeprazole (AcipHex).

  • H2 Blockers H2 blockers decrease how much stomach acid is secreted by glands in your stomach lining. They include famotidine (Pepcid AC, Zantac 360), cimetidine (Tagamet), or nizatidine (Acid AR).

  • Antacids These over-the-counter medications neutralize stomach acid, decreasing symptoms like heartburn and indigestion quickly, but they don’t treat ulcers. They include aluminum hydroxide (Amphojel), magnesium hydroxide (Phillips' Milk of Magnesia), calcium carbonate (Rolaids, Titralac, Tums), sodium bicarbonate (Alka-Seltzer), and aluminum hydroxide and magnesium hydroxide (Maalox, Mylanta). Antacids can lead to more side effects like constipation or diarrhea compared to PPIs and acid blockers.

Prevention of Gastritis

You may be able to reduce your risk of gastritis in the following ways.

  • Practice good hygiene. As mentioned, H. pylori infection is the most common cause of chronic gastritis. It can be prevented with good hygiene habits, including handwashing.
  • Limit or avoid foods and beverages that irritate the stomach lining. Too much alcohol, caffeine, or spicy and acidic foods can cause stomach discomfort, and wear down your stomach lining when consumed in excess.
  • Decrease use of NSAIDs. Be mindful of how often you use pain medications including aspirin, ibuprofen, and naproxen. Try not to use them long-term.

Lifestyle Changes for Gastritis

Certain lifestyle changes can make a big difference if you have gastritis. They include:

  • Make dietary changes. If you don’t have symptoms, you may not have to change your diet. But if you do, pay attention to what you eat and how you feel afterward, as certain foods can be a trigger for gastritis symptoms. In general, try to avoid alcohol, coffee, carbonated drinks, acidic or spicy foods, ultra-processed or deep-fried foods and foods that are high in fat. If the root cause of your gastritis is celiac disease or food allergies, your doctor may refer you to a dietitian to create a nutrition plan for you.

  • Reduce NSAID use. If long-term use of NSAIDs triggered your gastritis, your doctor may suggest you stop taking NSAIDs, take a lower dose, find a replacement medication for pain, or try taking it alongside a PPI.

  • Quit smoking. Smoking cigarettes can irritate the stomach lining. Quitting can relieve symptoms of gastritis.

  • Consider vitamin supplementation. If you have gastritis caused by an autoimmune condition, your doctor may recommend certain vitamin supplements to prevent anemia. Talk to your doctor about what kinds and how much you should take.

  • Consider acupuncture. Some research suggests that acupuncture may lessen inflammation, protect the stomach lining, and improve quality of life among people with chronic gastritis. Research in this area has been limited, though, and more studies are needed to confirm these findings.

How Long Does Gastritis Last?

Some acute cases of gastritis can be cured within weeks with the help of treatment, such as a course of antibiotics for H. pylori infection.

For some people, such as those diagnosed with autoimmune diseases, recovery may include a longer-term plan to address nutritional deficiencies and prevent cancer.

Complications of Gastritis

Untreated gastritis can worsen digestive health and may lead to issues such as:

  • Peptic ulcer disease: Painful sores (ulcers) can form along the stomach lining and small intestine, exacerbating gastritis symptoms. These ulcers can be caused by H. pylori infection or overuse of NSAID medications.

  • Gastric polyps: These small masses of cells can form along the stomach lining. Most times they’re harmless, but in rare cases they can develop into cancer. In rare instances, polyps can block the opening between the stomach and small intestine.

  • Stomach bleeding: Ulcers can bleed, causing low red blood cell counts or anemia. When ulcers break through the stomach lining, stomach contents leak into the abdominal cavity, causing an infection called peritonitis, which is a surgical emergency.

  • Anemia: Autoimmune gastritis can also cause malabsorption of vitamin B12, which can lead to pernicious anemia.

  • Stomach cancer: Certain types of gastritis can increase the risk of developing tumors — benign or cancerous — in the stomach lining. Gastritis caused by H. pylori infection, for example, increases the risk of gastric mucosa-associated lymphoid tissue (MALT) lymphoma, a type of cancer.

    Researchers suggest that the bacteria converts substances in some foods into chemicals that cause DNA mutations in the stomach lining.

Research and Statistics: How Many People Have Gastritis?

Researchers estimate that about 25 percent of people worldwide have chronic atrophic gastritis. While infectious gastritis caused by bacteria such as H. pylori is on the decline in the Western world, instances of autoimmune gastritis are on the rise.

In the United States, as much as 15 percent of the population is affected by chronic gastritis, with higher rates in nonwhite racial and ethnic groups and communities of first-generation immigrants from countries with increased prevalence of H. pylori infection.

 H. pylori infection is more prevalent among African Americans, Hispanic and Latinx people, American Indians, and Alaska Natives than non-Hispanic white people. Older people are more commonly infected than younger people.

Autoimmune gastritis is more prevalent in women and older adults, with rates ranging from 2 to 5 percent.

In the United States people with other autoimmune disorders, such as type 1 diabetes, Addison’s disease, and thyroid diseases like Hashimoto’s are more likely to develop autoimmune gastritis.

The Takeaway

  • Gastritis is an inflammation of the stomach lining that can be temporary (acute) or chronic.
  • H. pylori infection and frequent, long-term NSAID use are the most common causes of gastritis.
  • There are many treatment options for gastritis, including medication and lifestyle changes.

Common Questions & Answers

What causes gastritis?
Gastritis occurs when the lining of the stomach is inflamed. It can be caused by a number of triggers, such as viral or bacterial infections, excessive drinking or smoking, or long-term use of NSAIDs, all of which can irritate the digestive system.
Many people with gastritis experience no symptoms. Among those who do, symptoms commonly include a loss of appetite, nausea, vomiting, belching, bloating, stomach pain, and indigestion. In severe cases, you may see blood in your vomit or stool.
Treatment options for gastritis include medication and lifestyle changes. The best treatment for each person depends on the cause of their gastritis.
You can prevent gastritis through proper hygiene, especially handwashing, to avoid acute gastritis from infections. You can also prevent it by avoiding excessive drinking, smoking, and eating spicy, acidic foods, which can irritate the stomach lining and trigger symptoms.

Resources We Trust

EDITORIAL SOURCES
Everyday Health follows strict sourcing guidelines to ensure the accuracy of its content, outlined in our editorial policy. We use only trustworthy sources, including peer-reviewed studies, board-certified medical experts, patients with lived experience, and information from top institutions.
Resources
  1. Overview: Gastritis. InformedHealth.org. November 10, 2021.
  2. Gastritis. Medical University of South Carolina.
  3. Raza M et al. Atrophic Gastritis. StatPearls. July 24, 2023.
  4. Gastritis. Cleveland Clinic. July 14, 2023.
  5. Gut Feelings about Gastritis. NIH News in Health.
  6. Azer S et al. Gastritis. StatPearls. June 2024.
  7. Bernstein C et al. Chronic Gastritis. DynaMed. November 2024.
  8. Singh S et al. A Comprehensive Review of Upper Gastrointestinal Symptom Management in Autoimmune Gastritis: Current Insights and Future Directions. Cureus. August 13, 2023.
  9. Eosinophilic Gastritis. Cleveland Clinic. July 25, 2022.
  10. Gastritis: Symptoms and Causes. Mayo Clinic. February 14, 2024.
  11. Gastritis. Johns Hopkins Medicine.
  12. Gastritis. BMJ Best Practice.
  13. Azer Sa et al. Gastritis. StatPearls. June 22, 2024.
  14. Megha R et al. Stress-Induced Gastritis. StatPearls. April 2023.
  15. Gastritis. MedlinePlus. January 30, 2023.
  16. Gastritis. Mount Sinai.
  17. Symptoms and Causes of Gastritis and Gastropathy. NIH National Institute of Diabetes and Digestive and Kidney Diseases.
  18. Diagnosis of Gastritis and Gastropathy. National Institute of Diabetes and Digestive and Kidney Diseases.
  19. Gastritis: Diagnosis & treatment. Mayo Clinic. February 14, 2024.
  20. Gastritis. Cedars-Sinai.
  21. Gastritis: Diagnosis and Treatment. Mayo Clinic. February 14, 2024.
  22. H2 Blockers. MedlinePlus.
  23. Treatment of Gastritis and Gastropathy. National Institute of Diabetes and Digestive and Kidney Diseases.
  24. Haller E et al. Nutrition for Patients with Gastritis. University of Michigan Health. July 2023.
  25. Wang L et al. Complementary Replacement Therapy for Chronic Gastritis. Towards the Eradication of Helicobacter Pylori Infection - Rapid Diagnosis and Precision Treatment. September 6, 2023.
  26. Orgler E et al. Autoimmune Gastritis: Update and New Perspectives in Therapeutic Management. Current Treatment Options in Gastroenterology. March 2, 2023.
  27. Peptic ulcer disease. NewYork-Presbyterian.
  28. Stomach Polyps. Mayo Clinic. October 18, 2022.
  29. Gastritis. NewYork-Presbyterian.
  30. Symptoms and Causes of Gastritis and Gastropathy. National Institute of Diabetes and Digestive and Kidney Diseases.
  31. What causes stomach cancer? American Cancer Society.
ira-daniel-breite-bio

Ira Daniel Breite, MD

Medical Reviewer

Ira Daniel Breite, MD, is a board-certified internist and gastroenterologist. He is an associate professor at the Icahn School of Medicine at Mount Sinai, where he also sees patients and helps run an ambulatory surgery center.

Dr. Breite divides his time between technical procedures, reading about new topics, and helping patients with some of their most intimate problems. He finds the deepest fulfillment in the long-term relationships he develops and is thrilled when a patient with irritable bowel syndrome or inflammatory bowel disease improves on the regimen he worked with them to create.

Breite went to Albert Einstein College of Medicine for medical school, followed by a residency at NYU and Bellevue Hospital and a gastroenterology fellowship at Memorial Sloan Kettering Cancer Center. Working in city hospitals helped him become resourceful and taught him how to interact with people from different backgrounds.

carmen-chai-bio

Carmen Chai

Author

Carmen Chai is a Canadian journalist and award-winning health reporter. Her interests include emerging medical research, exercise, nutrition, mental health, and maternal and pediatric health. She has covered global healthcare issues, including outbreaks of the Ebola and Zika viruses, anti-vaccination movements, and chronic diseases like obesity and Alzheimer’s.

Chai was a national health reporter at Global News in Toronto for 5 years, where she won multiple awards, including the Canadian Medical Association award for health reporting. Her work has also appeared in the Toronto Star, Vancouver Province, and the National Post. She received a bachelor’s degree in journalism from Ryerson University in Toronto.