A Guide to Gastritis

Medically Reviewed By Youssef (Joe) Soliman, MD

Gastritis is inflammation and irritation of the stomach lining or mucosa. This can result in abdominal pain, loss of appetite, and possibly bleeding. Causes include Helicobacter pylori (H. pylori) infection and use of alcohol, tobacco, and nonsteroidal anti-inflammatory drugs (NSAIDs).

Gastritis treatment depends on the cause. For H. pylori-related gastritis, antibiotics in addition to an acid-blocking drug is standard care. For other types of gastritis, treatment includes proton pump inhibitors (PPIs), H2 blockers, and antacids.

This article explains gastritis and its symptoms, causes, and treatments.

What is gastritis?

Woman laying down with hands on her stomach
Hernandez & Sorokina/Stocksy United

Typically, the stomach lining has a protective layer. This mucosal covering shields it from the effects of stomach acid. The irritation and inflammation of gastritis reduce this protection. The stomach lining is vulnerable to the acidity inside the stomach. 

Causes of gastritis include alcohol consumption, tobacco use, and prolonged use of aspirin and NSAIDs. The most common Trusted Source PubMed Central Highly respected database from the National Institutes of Health Go to source  cause of gastritis is a stomach infection with H. pylori

H. pylori is a type of bacteria found in up to half Trusted Source PubMed Central Highly respected database from the National Institutes of Health Go to source of all people worldwide. In the United States, about 35% of the population has an infection of this bacteria.

Gastritis can be acute, coming and going quickly. It can also be chronic, lasting months or even years. Acute gastritis is the most common form in the U.S. About 8 in 1,000 Americans will get acute gastritis. Chronic gastritis is less common, affecting about 1 in 10,000 Americans.

How doctors classify gastritis

Doctors can classify gastritis in a few ways: by severity, location, or inflammatory cell type.

All types of gastritis fall into one of the following categories based on the extent of injury to the stomach lining:

  • Erosive gastritis: This means the inflammation wears away the stomach lining. Eventually, this can cause lesions or ulcers. It is usually an acute gastritis and is more serious than the nonerosive form. Gastrointestinal (GI) bleeding is more common with erosive gastritis. In some cases, erosive gastritis can be chronic, such as with gastritis from alcohol use disorder.
  • Nonerosive gastritis: This means the stomach lining does not wear away. Instead, the lining can degenerate, or atrophy. The lining can also undergo a process called metaplasia. This means it turns into a different type of tissue, usually intestinal tissue. Nonerosive gastritis is usually a form of chronic gastritis and is often asymptomatic.

What are the symptoms of gastritis?

Gastritis causes a number of symptoms. The symptoms can vary in intensity from person to person. Symptoms can also be constant or come and go. With nonerosive gastritis, symptoms can be vague.

Most people with gastritis do not have any symptoms.

Common symptoms of gastritis

Common symptoms of gastritis include:

Gastritis can lead to mild bleeding and anemia. Symptoms of anemia include fatigue, dizziness, pale skin, shortness of breath with activity, and cold hands and feet.

Contact your doctor if you have symptoms of gastritis or anemia that persist. Stomach pain, discomfort, or upset may indicate a potentially serious condition if it lasts for more than a week.

Serious symptoms that might indicate a life threatening condition

In some cases, gastritis can lead to serious bleeding. This is potentially life threatening. Seek immediate medical care (call 911) for any of these serious symptoms:

  • bloody or black vomit that resembles coffee grounds
  • bloody or black stool that is tarry in texture
  • severe abdominal pain
  • shortness of breath or light-headedness

What causes gastritis?

There are several types of gastritis with different causes.

Acute stress gastritis

Acute stress gastritis is a form of erosive gastritis. It occurs with a sudden illness or injury Trusted Source PubMed Central Highly respected database from the National Institutes of Health Go to source  that does not have to involve the stomach itself. It affects about 5% of critically ill patients. The longer the stay in the intensive care unit (ICU), the higher the risk of developing acute stress gastritis.

According to a 2012 study, being intubated on a breathing machine for more than 48 hours may also increase your risk for gastritis.

Autoimmune gastritis

Autoimmune gastritis happens Trusted Source PubMed Central Highly respected database from the National Institutes of Health Go to source  when the body’s immune system mistakenly starts attacking healthy cells in the stomach lining.

Erosive gastritis

Erosive gastritis has several causes. The most common causes include irritation from alcohol, aspirin, NSAIDs, stress, and H. pylori.

Nonerosive gastritis

H. pylori infection is the most common cause of chronic nonerosive gastritis. It is an extremely common infection. Not everyone with an H. pylori infection develops gastritis or other problems, such as stomach ulcers. It is possible that certain people are more prone to stomach disease from the infection due to genetics or lifestyle factors. 

Other gastritis causes 

Other Trusted Source PubMed Central Highly respected database from the National Institutes of Health Go to source  gastritis causes include:

What are the risk factors for gastritis?

A number of factors increase the risk of developing gastritis. Not all people with risk factors will get gastritis.

Risk factors for gastritis include:

  • Excessive alcohol consumption: Alcohol is irritating to the stomach lining, which can increase the risk for gastritis. 
  • Autoimmune diseases: Having an autoimmune disorder, including type 1 diabetes or Hashimoto’s disease, increases the risk of developing autoimmune gastritis.
  • Chronic use of NSAIDs: These drugs increase the risk of both acute and chronic gastritis by inhibiting a substance that protects the stomach lining. Examples include ibuprofen (Advil, Motrin), naproxen (Aleve), and aspirin.
  • H. pylori bacterial infection: The incidence of this infection increases with age. In the U.S., about 10–15% of children age 12 and under have H. pylori infection. Up to 60% of adults older than 60 years have it. The risk is higher for African Americans, Hispanics and Latinos, American Indians, and Native Alaskans.
  • Older age: Aging leads to thinning of the stomach lining, which increases the risk of gastritis. The incidence of H. pylori infection and autoimmune diseases also increases with age.
  • Smoking and tobacco use: Tobacco products and nicotine may increase the risk of infection with H. pylori and developing gastritis from it.

Reducing your risk of gastritis

It is not entirely clear if you can reduce your risk of contracting H. pylori, the most common cause of chronic gastritis. Experts Trusted Source PubMed Central Highly respected database from the National Institutes of Health Go to source  believe it may spread from person to person or by consuming contaminated food or water.

Practicing good hygiene can help protect against infections in general. This includes washing your hands regularly, especially before eating. 

Other steps you can take to help lower your risk of gastritis include:

  • controlling autoimmune diseases with effective treatments
  • limiting alcoholic beverages, avoiding drinking on an empty stomach, and seeking help for alcohol use disorder
  • stopping smoking or tobacco use
  • using NSAIDs and aspirin short-term and taking them with food or milk 

If you have risk factors for gastritis, talk with your doctor about your stomach health. Ask about ways to protect your stomach from damage. If you take aspirin or NSAIDs on a regular basis, find out if you should also be taking an acid-blocking drug.

How is gastritis diagnosed?

To diagnose gastritis, your doctor may order testing, including: 

  • H. pylori detection tests: These tests may involve a breath test, blood test, or stool test. 
  • Upper endoscopy: This test involves passing an endoscope down your throat to examine your esophagus, stomach, and small intestine.
  • Upper GI series, or a barium swallow: This test involves drinking barium and taking X-rays of your upper digestive tract. It is less commonly used.

How is gastritis treated?

Gastritis treatment will depend on the underlying cause. If a drug or substance is causing gastritis, symptoms may resolve by discontinuing it.

In some cases, there is no clear cause of gastritis. For unexplained gastritis, seeking a second opinion may help.


For gastritis due to H. pylori infection, triple therapy is the mainstay of treatment. This involves two Trusted Source PubMed Central Highly respected database from the National Institutes of Health Go to source  or more antibiotics for 14 days, in addition to a PPI. 

Antibiotics for H. pylori treatment include:

  • amoxicillin (Amoxil, Trimox, others)
  • clarithromycin (Biaxin)
  • metronidazole (Flagyl)
  • tetracycline (Achromycin V, Sumycin)

Medications that reduce stomach acid can help treat gastritis. Reducing stomach acid gives the tissue a chance to heal. 

Proton pump inhibitors

PPIs are potent stomach acid inhibitors. They work by blocking cells in the stomach from producing acid. PPIs include:

  • dexlansoprazole (Dexilant)
  • esomeprazole (Nexium)
  • lansoprazole (Prevacid)
  • omeprazole (Prilosec)
  • pantoprazole (Protonix)
  • rabeprazole (Aciphex)

Histamine H2-receptor antagonists

Histamine H2-receptor antagonists reduce the amount of acid the stomach produces. Another name for this class is H2 blockers. They include:

  • cimetidine (Tagamet)
  • famotidine (Pepcid)
  • nizatidine (Axid)


Antacids neutralize stomach acid right away, and as such, can provide quick relief of gastritis symptoms. However, the effects of antacids are not as long lasting as PPIs or H2 blockers. 

Hospital care or surgery

For severe gastritis with bleeding, hospital treatment may be necessary to stop the bleeding. This may be possible with endoscopy, but it may require surgery in some cases. A blood transfusion may also be necessary.

How do you relieve gastritis at home?

Several lifestyle habits can help ease gastritis symptoms, including the following strategies:

  • Change how you eat: Eat smaller, more frequent meals instead of three large ones.
  • Change what you eat: Many people find that certain foods can irritate their stomach and trigger symptoms of gastritis.
  • Change your alcohol consumption: If you have gastritis, it is best to avoid alcohol altogether to allow the condition to resolve.
  • Change your pain reliever: If you use aspirin or NSAIDs for pain, try switching to acetaminophen (Tylenol). Talk with your doctor if you need an alternative pain reliever.
  • Keep a symptom-based food journal: Note the foods you eat and beverages you drink. Record any symptoms you experience, their severity, or if you experience no symptoms.

If these changes fail to relieve your symptoms, make an appointment with your doctor. 

What are the potential complications of gastritis?

In most cases, gastritis improves and heals soon after starting treatment. Possible complications of gastritis include:


The irritation and inflammation of gastritis can cause stomach upset and other symptoms. However, most people do not know they have this condition.

The most common cause is an H. pylori infection, which is usually asymptomatic. If your doctor diagnoses this infection, the standard treatment consists of two antibiotics and a PPI. In most cases, gastritis resolves with this triple therapy approach.

Was this helpful?
  1. Azer, S. A., et al.(2022). Gastritis. https://www.ncbi.nlm.nih.gov/books/NBK544250/
  2. Cash, B. D., et al. (n.d.). Gastritis & gastropathy. https://www.niddk.nih.gov/health-information/digestive-diseases/gastritis-gastropathy
  3. Gastritis. (2017). https://www.uspharmacist.com/article/gastritis
  4. Megha, R., et al.(2021). Stress-induced gastritis. https://www.ncbi.nlm.nih.gov/books/NBK499926/
  5. Mutlu, G. M., et al. (2012). Prevention and treatment of gastrointestinal complications in patients on mechanical ventilation. https://link.springer.com/article/10.1007/BF03256667
  6. Parikh, N., et al.(2021). Helicobacter pylori. https://www.ncbi.nlm.nih.gov/books/NBK534233/
  7. Raza, M., et al.(2021). Atrophic gastritis. https://www.ncbi.nlm.nih.gov/books/NBK563275/
  8. Vakil, N. (2021). Erosive gastritis. https://www.merckmanuals.com/professional/gastrointestinal-disorders/gastritis-and-peptic-ulcer-disease/erosive-gastritis
  9. Vakil, N. (2021). Nonerosive gastritis. https://www.merckmanuals.com/professional/gastrointestinal-disorders/gastritis-and-peptic-ulcer-disease/nonerosive-gastritis
  10. Vakil, N. (2021). Overview of gastritis. https://www.merckmanuals.com/professional/gastrointestinal-disorders/gastritis-and-peptic-ulcer-disease/overview-of-gastritis

Medical Reviewer: Youssef (Joe) Soliman, MD
Last Review Date: 2022 Mar 29
View All Digestive Health Articles
THIS TOOL DOES NOT PROVIDE MEDICAL ADVICE. It is intended for informational purposes only. It is not a substitute for professional medical advice, diagnosis or treatment. Never ignore professional medical advice in seeking treatment because of something you have read on the site. If you think you may have a medical emergency, immediately call your doctor or dial 911.