What Is Gastritis?

Medically Reviewed by Minesh Khatri, MD on November 27, 2022
3 min read

Gastritis is an inflammation, irritation, or erosion of the lining of the stomach. It can occur suddenly (acute) or gradually (chronic).

Gastritis can be caused by irritation due to excessive alcohol use, chronic vomiting, stress, or the use of certain medications such as aspirin or other anti-inflammatory drugs. It may also be caused by any of the following:

  • Helicobacter pylori (H. pylori): A bacteria that lives in the mucous lining of the stomach; without treatment, the infection can lead to ulcers, and in some people, stomach cancer.
  • Bile reflux: A backflow of bile into the stomach from the bile tract (that connects to the liver and gallbladder)
  • Infections caused by bacteria and viruses

If gastritis is left untreated, it can lead to a severe loss of blood and may increase the risk of developing stomach cancer.

Symptoms of gastritis vary among individuals, and in many people there are no symptoms. However, the most common symptoms include:

  • Nausea or recurrent upset stomach
  • Abdominal bloating
  • Abdominal pain
  • Vomiting
  • Indigestion
  • Burning or gnawing feeling in the stomach between meals or at night
  • Hiccups
  • Loss of appetite
  • Vomiting blood or coffee ground-like material
  • Black, tarry stools

To diagnose gastritis, your doctor will review your personal and family medical history, perform a thorough physical evaluation, and may recommend any of the following tests:

  • Upper endoscopy. An endoscope, a thin tube containing a tiny camera, is inserted through your mouth and down into your stomach to look at the stomach lining. The doctor will check for inflammation and may perform a biopsy, a procedure in which a tiny sample of tissue is removed and then sent to a laboratory for analysis.
  • Blood tests. The doctor may perform various blood tests, such as checking your red blood cell count to determine whether you have anemia, which means that you do not have enough red blood cells. They can also screen for H. pylori infection and pernicious anemia with blood tests.
  • Fecal occult blood test (stool test). This test checks for the presence of blood in your stool, a possible sign of gastritis.

Treatment for gastritis usually involves:

  • Taking antacids and other drugs (such as proton pump inhibitors or H-2 blockers) to reduce stomach acid
  • Avoiding hot and spicy foods
  • For gastritis caused by H. pylori infection, your doctor will prescribe a regimen of several antibiotics plus an acid blocking drug (used for heartburn)
  • If the gastritis is caused by pernicious anemia, B12 vitamin shots will be given.
  • Eliminating irritating foods from your diet such as lactose from dairy or gluten from wheat

Once the underlying problem disappears, the gastritis usually does, too.

You should talk to your doctor before stopping any medicine or starting any gastritis treatment on your own.

Most people with gastritis improve quickly once treatment has begun.