How to Fix Gastritis: Treatments That Actually Work

Fixing gastritis starts with removing whatever is irritating your stomach lining, then giving it the right conditions to heal. Acute gastritis often resolves within days to weeks once the trigger is gone, while chronic gastritis requires targeted treatment and may take months. The specific fix depends on the cause, whether that’s a bacterial infection, painkiller use, alcohol, or something else entirely.

Find the Cause First

Gastritis isn’t one condition with one fix. It’s inflammation of the stomach lining, and the treatment that works depends entirely on what’s driving it. The most common causes are H. pylori infection (a bacterium that burrows into the stomach lining), regular use of anti-inflammatory painkillers like ibuprofen or aspirin, heavy alcohol use, and stress on the body from illness or surgery.

If your symptoms have lasted more than a couple of weeks, or if you’re seeing blood in your stool or vomit, you’ll likely need an endoscopy. During this procedure, a doctor passes a thin camera into your stomach and takes small tissue samples from several locations. These biopsies confirm whether the lining is inflamed, check for H. pylori, and rule out more serious changes to the tissue. Blood tests and stool tests can also detect H. pylori without an endoscopy, and these are often the first step.

Treating an H. Pylori Infection

H. pylori is one of the most common causes of chronic gastritis worldwide, and it won’t clear on its own. You need antibiotics. The current recommended approach from the American College of Gastroenterology is a 14-day course of four medications taken together: an acid-suppressing drug twice daily, two different antibiotics multiple times per day, and a bismuth compound (the active ingredient in Pepto-Bismol) four times daily.

This regimen is intensive, and sticking with the full 14 days matters. Stopping early increases the chance the bacteria survive and become harder to treat. The older three-drug combination that included clarithromycin is no longer recommended as a first choice because resistance to that antibiotic has become widespread. If the first round doesn’t work, alternative combinations are available.

Stop the Painkillers Causing Damage

Non-steroidal anti-inflammatory drugs, commonly called NSAIDs, are among the most frequent causes of gastritis. This group includes ibuprofen, naproxen, aspirin, and diclofenac. These drugs work by blocking an enzyme involved in inflammation, but that same enzyme helps maintain the protective mucus layer in your stomach. Without it, acid eats into the lining.

If NSAIDs are behind your gastritis, the single most effective fix is to stop taking them. For pain relief, acetaminophen (Tylenol) works through a different mechanism and doesn’t damage the stomach lining in the same way. If you need to stay on an NSAID for a condition like arthritis, your doctor can add an acid-suppressing medication to protect the stomach while you take it. But removing the NSAID entirely, when possible, gives the lining the best chance to recover.

Reduce Stomach Acid While You Heal

Acid-suppressing medications give inflamed tissue room to repair. Proton pump inhibitors (PPIs) like omeprazole and lansoprazole are the strongest option and are available over the counter. A milder alternative is histamine-2 blockers like famotidine, which reduce acid production through a different pathway.

PPIs work well for short-term healing, but long-term use carries real trade-offs. Extended PPI use is linked to decreased absorption of calcium, magnesium, and vitamin B12. The FDA issued a safety alert about increased risk of hip, spine, and wrist fractures with prolonged use, likely from impaired calcium absorption. The American Gastroenterological Association now recommends stepping down to histamine-2 blockers or non-drug approaches when there’s no longer a clear reason to stay on a PPI. If you’ve been on one for months, talk to your doctor about tapering off rather than stopping abruptly, since rebound acid production can make symptoms flare temporarily.

What to Eat (and What to Avoid)

Diet won’t cure gastritis on its own, but it can significantly reduce irritation while your stomach heals. The goal is simple: eat foods that are gentle on the lining and avoid ones that spike acid production or cause direct irritation.

Foods that support healing tend to be low in fat, low in acidity, and high in fiber. Good choices include:

  • Vegetables: leafy greens, carrots, zucchini, spinach, mashed pumpkin, boiled potatoes
  • Fruits: bananas, apples, melons (avoid citrus)
  • Proteins: skinless chicken, fish, lean meats, eggs
  • Grains and starches: rice, soft pasta, soda crackers, oatmeal
  • Other: yogurt, low-fat cottage cheese, avocados, chickpeas, chamomile tea

Foods that commonly make gastritis worse include coffee, alcohol, carbonated drinks, spicy foods, fried or fatty foods, tomatoes and tomato-based sauces, citrus fruits and juices, and pickled foods. You don’t necessarily need to eliminate all of these permanently. Pay attention to which ones trigger your symptoms and cut those first. Many people find they can gradually reintroduce some of these foods once the lining has healed.

Quit Alcohol and Smoking

Alcohol directly damages the stomach’s mucosal barrier, the thin layer of mucus that protects the lining from its own acid. Nicotine compounds the problem. Research published in the journal Gut found that nicotine causes microscopic mucosal damage on its own and makes alcohol-induced damage significantly worse when the two are combined. Both substances increase leakage of proteins into the stomach wall tissue, a sign of barrier breakdown.

If you’re trying to heal gastritis while still drinking or smoking, you’re working against yourself. Even moderate alcohol consumption can slow recovery. Complete abstinence from both gives the lining the fastest path to repair.

How Long Recovery Takes

Acute gastritis, the kind caused by a temporary event like a weekend of heavy drinking, a short course of NSAIDs, or a passing infection, typically resolves within days to a few weeks once the trigger is removed. The stomach lining has a remarkable ability to repair itself when given the chance.

Chronic gastritis is a different timeline. The inflammation has usually been building for months or years, and the tissue damage goes deeper. Treatment can resolve it, but healing may take weeks to several months depending on severity. H. pylori-related gastritis starts improving once the infection is cleared, but full recovery of the lining takes time after that. If chronic gastritis has progressed to atrophic gastritis, where the acid-producing glands have been damaged or lost, that damage may be only partially reversible.

Supplements That May Help

A few natural compounds have some evidence behind them, though none replace standard treatment. Mastic gum, a resin from a tree native to the Greek island of Chios, has been approved by the European Medicines Agency as a traditional herbal medicine for mild digestive disorders. A randomized controlled trial of 148 people found that 350 mg taken three times daily improved functional digestive symptoms after three weeks. Some smaller studies have tested mastic gum against H. pylori directly, with mixed results: a few patients cleared the infection, but other trials showed no effect. It’s not a reliable substitute for antibiotics.

Zinc-carnosine is another supplement sometimes recommended for stomach lining support, and some gastroenterologists suggest it alongside conventional treatment. Slippery elm, aloe vera juice, and deglycyrrhizinated licorice (DGL) are popular in integrative medicine circles, though rigorous clinical data is limited. These are reasonable to try as complements to treatment, not replacements for it.

Why Chronic Gastritis Shouldn’t Be Ignored

Left untreated, chronic gastritis can progress to atrophic gastritis, where the stomach’s acid-producing cells are gradually destroyed and replaced by other tissue types. This matters because atrophic gastritis raises the risk of gastric cancer. In a Korean study of over 5,500 people, gastric cancer or precancerous changes developed in 3.2% of those with atrophic gastritis, compared to just 0.1% of those without it. The risk scaled with severity: 1.6% for mild atrophy, 5.2% for moderate, and 12% for severe.

A large Dutch study found the annual incidence of gastric cancer was 0.1% for atrophic gastritis and climbed to 0.25% for those who had developed intestinal metaplasia, a further tissue change. These numbers are small in any given year, but they accumulate over time. A British study tracking high-risk patients found that 8.4% developed cancer over a 10-year period. This is why treating the underlying cause of chronic gastritis, particularly H. pylori, is about more than symptom relief. It’s about preventing the lining from deteriorating to a point where the risk profile changes.