Gastritis

Gastritis is an inflammation, erosion, or irritation of the stomach lining (gastric mucosa). The stomach lining normally produces a protective layer of mucus and bicarbonate that shields it from the corrosive effects of hydrochloric acid and digestive enzymes. When this protective barrier is compromised, the acidic gastric juices damage the stomach wall, causing inflammation, pain, and sometimes bleeding. Gastritis is extremely common, affecting millions of people worldwide, and can range from a mild, temporary condition to a chronic disease with serious long-term consequences. Gastritis is broadly classified as acute or chronic. Acute gastritis develops suddenly and is often caused by NSAIDs (such as ibuprofen or aspirin), excessive alcohol consumption, severe physiological stress (from major surgery, trauma, or critical illness), or ingestion of corrosive substances. Chronic gastritis develops gradually over months or years and is most commonly caused by Helicobacter pylori (H. pylori) infection, a bacterium that colonizes the stomach lining and is present in roughly half the world's population. Other causes of chronic gastritis include autoimmune gastritis, where the immune system attacks the stomach's parietal cells, and bile reflux. If left untreated, chronic gastritis, particularly H. pylori-associated gastritis, can lead to peptic ulcers, gastric atrophy (thinning of the stomach lining), intestinal metaplasia, and an increased risk of gastric cancer. Autoimmune gastritis can impair the absorption of vitamin B12, leading to pernicious anemia. Fortunately, most forms of gastritis respond well to treatment, and H. pylori infection can be eradicated with a course of antibiotics combined with proton pump inhibitors.

Symptoms

  • Burning or gnawing pain in the upper abdomen (epigastric pain)
  • Nausea and vomiting
  • Feeling of fullness or bloating in the upper abdomen after eating
  • Loss of appetite
  • Indigestion (dyspepsia) and belching
  • Dark, tarry stools (melena) indicating gastrointestinal bleeding
  • Vomiting blood or material that looks like coffee grounds (in severe cases)
  • Hiccups

Causes

  • Helicobacter pylori (H. pylori) bacterial infection of the stomach lining
  • Regular use of NSAIDs such as ibuprofen, aspirin, or naproxen, which weaken the mucosal barrier
  • Excessive alcohol consumption, which irritates and erodes the stomach lining
  • Autoimmune gastritis, where the immune system attacks parietal cells in the stomach
  • Bile reflux from the small intestine into the stomach
  • Severe physiological stress from major surgery, burns, or critical illness (stress gastritis)

Risk Factors

  • H. pylori infection (affects approximately 50 percent of the global population)
  • Chronic use of NSAIDs or aspirin
  • Heavy alcohol consumption
  • Age over 60 (stomach lining tends to thin with age)
  • Autoimmune conditions such as Hashimoto thyroiditis or type 1 diabetes
  • Smoking, which increases acid production and impairs mucosal healing

Treatment Options

H. pylori Eradication Therapy

For gastritis caused by H. pylori, a combination therapy known as triple therapy is standard: a proton pump inhibitor (PPI) plus two antibiotics (typically clarithromycin and amoxicillin or metronidazole) taken for 14 days. Bismuth quadruple therapy is an alternative for resistant cases. Successful eradication is confirmed through a follow-up breath test or stool antigen test 4 to 6 weeks after completing treatment.

Proton Pump Inhibitors (PPIs)

PPIs such as omeprazole, lansoprazole, and pantoprazole reduce stomach acid production by blocking the hydrogen-potassium ATPase enzyme in parietal cells. By raising the stomach pH, they allow the inflamed lining to heal. PPIs are highly effective for most forms of gastritis and are typically used for 4 to 8 weeks, though long-term use should be periodically reassessed.

H2 Receptor Antagonists

Histamine-2 receptor blockers such as famotidine reduce acid secretion by blocking histamine receptors on stomach parietal cells. They are less potent than PPIs but may be appropriate for mild gastritis or as a maintenance therapy. They typically take 30 to 60 minutes to work and provide relief for several hours.

Antacids and Cytoprotective Agents

Over-the-counter antacids containing aluminum hydroxide, magnesium hydroxide, or calcium carbonate neutralize existing stomach acid and provide rapid symptomatic relief. Sucralfate is a cytoprotective agent that coats ulcerated areas of the stomach lining, protecting them from further acid damage. These agents are useful as adjunctive treatments while waiting for acid-reducing medications to take effect.

Dietary and Lifestyle Modifications

Avoiding known irritants such as spicy foods, acidic foods, caffeine, and alcohol can help reduce symptoms. Eating smaller, more frequent meals and not lying down immediately after eating may improve comfort. Quitting smoking is strongly recommended, as tobacco impairs mucosal healing and increases the risk of complications.

Discontinuation of Offending Medications

If gastritis is caused by NSAIDs, discontinuing the offending medication or switching to a lower-risk alternative (such as acetaminophen or a COX-2 selective inhibitor) is the most important step. If NSAID use is medically necessary, concurrent use of a PPI can protect the stomach lining. Always consult your healthcare provider before stopping or changing medications.

Frequently Asked Questions

Helicobacter pylori is a spiral-shaped bacterium that colonizes the mucous layer of the stomach. It is one of the most common bacterial infections in the world, affecting approximately half the global population. H. pylori is typically acquired during childhood, likely through person-to-person transmission via oral-oral or fecal-oral routes, contaminated water, or close contact within families. Rates are higher in developing countries and in crowded living conditions. Most infected individuals never develop symptoms, but the bacterium can cause chronic gastritis, peptic ulcers, and is classified as a Group 1 carcinogen by the WHO due to its association with gastric cancer.
Chronic gastritis, particularly when caused by long-standing H. pylori infection, can increase the risk of gastric cancer through a sequence of changes known as the Correa cascade: chronic inflammation leads to gastric atrophy, then intestinal metaplasia, dysplasia, and potentially adenocarcinoma. However, only a small percentage (1 to 3 percent) of people with chronic H. pylori gastritis eventually develop gastric cancer. Eradicating H. pylori significantly reduces this risk. Autoimmune gastritis also carries an increased risk of a type of gastric tumor called gastric carcinoid. Regular endoscopic surveillance may be recommended for patients with high-risk forms of chronic gastritis.
Acute gastritis can resolve within a few days to a couple of weeks once the offending cause is removed, such as stopping NSAID use or reducing alcohol consumption. With appropriate acid-suppressing medication, symptom relief often begins within a few days. Chronic gastritis associated with H. pylori typically improves significantly after successful eradication therapy, though complete healing of the stomach lining may take 2 to 3 months. Autoimmune gastritis is a lifelong condition that requires ongoing monitoring and B12 supplementation but can be well managed.
No, though they share some overlapping symptoms. Gastritis is inflammation of the stomach lining, while gastroesophageal reflux disease (GERD) occurs when stomach acid flows back into the esophagus, causing heartburn and esophageal irritation. Gastritis pain is typically centered in the upper abdomen, whereas GERD produces a burning sensation behind the breastbone that may worsen when lying down. The two conditions can coexist, and both may respond to acid-suppressing medications. However, their underlying mechanisms, complications, and some aspects of treatment differ, so accurate diagnosis is important.
Alcohol directly irritates and erodes the stomach lining, increases acid production, and impairs the mucosal defense mechanisms. If you have gastritis, reducing or eliminating alcohol consumption is one of the most effective steps you can take to promote healing and prevent flare-ups. Heavy or binge drinking is particularly harmful and can trigger acute gastritis episodes. Once your gastritis has healed, moderate alcohol consumption may be tolerable for some individuals, but this varies. Discuss your specific situation with your healthcare provider to determine what level, if any, of alcohol intake is appropriate for you.

Think you might have gastritis?

Our AI tools can help you assess your symptoms and understand your lab results.

Medical Disclaimer

This content is for informational and educational purposes only. It is not intended as medical advice, diagnosis, or treatment. Always consult a qualified healthcare professional for medical concerns. If you are experiencing a medical emergency, call 911 immediately.

Disclaimer: SymptomGPT is not a medical diagnosis tool and does not provide medical advice. Always consult a qualified healthcare professional. If you are experiencing a medical emergency, call 911 immediately.