What Is the Best Treatment for Gastritis?

The best treatment for gastritis depends on what’s causing it. For most people, an acid-suppressing medication paired with removal of the irritant (whether that’s a bacterial infection, a pain reliever, or alcohol) resolves symptoms within a few weeks. The three most common causes are H. pylori infection, regular use of anti-inflammatory painkillers like ibuprofen or naproxen, and excess alcohol, and each one calls for a different approach.

Acid-Suppressing Medications

Proton pump inhibitors (PPIs) are the cornerstone of gastritis treatment. These drugs dramatically reduce the amount of acid your stomach produces, giving the inflamed lining time to heal. They’re more effective than older acid-reducing options like famotidine, which work through a different mechanism and don’t suppress acid as completely. In clinical comparisons, PPIs consistently outperform these older drugs in both symptom relief and mucosal healing.

A typical course involves taking one pill daily for four to eight weeks, though the exact duration depends on the severity. For gastric ulcers, the standard is 40 mg once daily for four to eight weeks. For preventing damage from anti-inflammatory painkillers, a lower dose of 20 mg daily may be used for up to six months. Most people notice symptom improvement within the first few days, though full healing of the stomach lining takes longer.

PPIs are meant to be a short-term solution, not a permanent one. Prolonged use has been linked to reduced absorption of certain nutrients and other concerns, so the goal is always to treat the underlying cause and taper off the medication once healing is complete.

Treating H. Pylori Infection

H. pylori is a bacterium that burrows into the stomach lining and triggers chronic inflammation. If testing confirms you have it, eradicating the infection is the single most important step. Without treatment, H. pylori-driven gastritis can progress to stomach atrophy, and the risks escalate from there: a large Korean study found that gastric neoplasms developed in 3.2% of people with atrophic gastritis, compared to just 0.1% of those without atrophic changes. The risk climbed steeply with severity, reaching 12% in people with severe atrophy.

The current recommended first-line treatment, according to the American College of Gastroenterology, is a 14-day course of bismuth-based quadruple therapy. This involves a PPI taken twice daily alongside three other medications: tetracycline, metronidazole, and a bismuth compound (the active ingredient in Pepto-Bismol). It’s a demanding regimen with multiple pills taken several times a day, but it works.

Older triple-therapy regimens that relied on the antibiotic clarithromycin are no longer recommended as a first choice. Resistance to clarithromycin has grown so widespread that eradication rates drop to roughly 30% in resistant strains. Despite this, clarithromycin-based triple therapy remains the most commonly prescribed treatment in practice, which means many patients go through a full course of antibiotics without clearing the infection. If your doctor prescribes this older regimen without testing for antibiotic sensitivity first, it’s worth asking about the updated guidelines.

Managing NSAID-Related Gastritis

If your gastritis was triggered by regular use of ibuprofen, naproxen, aspirin, or another nonsteroidal anti-inflammatory drug (NSAID), the first step is straightforward: stop taking it if you can. Adding a PPI while continuing the NSAID will reduce further damage, but removing the irritant gives the stomach the best chance to heal.

For people who need ongoing anti-inflammatory treatment for conditions like arthritis, there are two well-studied options. One is switching to a COX-2 selective inhibitor like celecoxib, which is gentler on the stomach. The other is staying on a traditional NSAID but adding a daily PPI. Clinical trials have found these two approaches are roughly equivalent in preventing recurrent ulcer complications. In one study, the recurrence of ulcer bleeding was 4.9% with celecoxib alone versus 6.4% with diclofenac plus a PPI over six months. The main practical difference is that the PPI combination tends to reduce dyspepsia (that gnawing, uncomfortable feeling in your upper abdomen) more effectively. Cost and availability of generic medications often guide the decision.

The Role of Diet and Lifestyle

Many people assume diet is a major factor in gastritis, but the evidence suggests otherwise. The National Institute of Diabetes and Digestive and Kidney Diseases notes that eating habits don’t play an important role in causing most cases of gastritis. There’s no well-supported “gastritis diet” that speeds healing.

That said, a few substances genuinely do irritate the stomach lining. Heavy alcohol use is a well-established cause of acute erosive gastritis, and cutting back or eliminating alcohol is essential if it’s contributing to your symptoms. In rare cases, food allergies or iron supplements can also trigger inflammation. Beyond these specific triggers, the advice is practical rather than prescriptive: if a particular food consistently makes your symptoms worse, avoid it during the healing period. Common culprits people report include spicy foods, acidic foods, coffee, and carbonated drinks, but these are individual sensitivities rather than universal rules.

Mucosal Protective Agents

Some medications work not by reducing acid but by physically shielding the damaged stomach lining. Sucralfate forms a protective barrier over ulcerated tissue, preventing acid from reaching the wound and allowing it to heal underneath. It’s sometimes prescribed alongside a PPI for more severe cases or ulcers that are slow to respond.

On the supplement side, zinc L-carnosine has attracted interest as a compound that promotes repair of damaged stomach lining. Unlike acid-suppressing drugs, it works through a different mechanism: it has a high affinity for injured tissue, where it releases zinc locally and exerts anti-inflammatory and antioxidant effects. Human studies have shown it promotes mucosal healing, and some evidence suggests it may even improve H. pylori eradication rates when added to standard antibiotic regimens. It’s widely used in Japan for peptic ulcers and is available as an over-the-counter supplement elsewhere, though it shouldn’t replace conventional treatment for confirmed gastritis.

Why the Underlying Cause Matters Most

Gastritis treatment fails most often when it addresses symptoms without resolving the root cause. A PPI will make you feel better quickly, but if H. pylori is still present, inflammation will return once you stop the medication. If you keep taking NSAIDs without protection, new damage accumulates. If alcohol is the trigger, no amount of medication compensates for continued heavy drinking.

The stakes of leaving chronic gastritis untreated are real. When the stomach lining remains inflamed for years, it can progress through stages of increasing damage. A Dutch study tracking over 92,000 patients with precancerous stomach changes found that the annual incidence of gastric cancer was 0.1% for those with atrophic gastritis and climbed to 0.25% for intestinal metaplasia and 0.6% for mild-to-moderate dysplasia. These are small numbers in any given year, but they compound over a lifetime. A British study following high-risk patients found that 8.4% developed stomach cancer over 10 years.

Getting tested for H. pylori through a breath test, stool test, or biopsy during endoscopy is the most important diagnostic step. If the infection is present, completing the full 14-day antibiotic course is critical, even after symptoms improve. A follow-up test four weeks after finishing treatment confirms the infection is gone. For NSAID-related gastritis, the healing timeline is typically four to eight weeks on a PPI after the offending medication is stopped or an alternative approach is in place.