How to Manage Gastritis: Diet, Meds, and Recovery

Gastritis, or inflammation of the stomach lining, improves quickly in most cases once you remove what’s causing it and give the tissue time to heal. Acute gastritis from a short-term trigger like a rough weekend of drinking or a round of painkillers often resolves on its own within days. Chronic gastritis requires more deliberate management, but the combination of the right medication, dietary changes, and a few lifestyle shifts can bring lasting relief.

Figure Out What’s Causing It

Managing gastritis effectively starts with identifying the underlying cause, because the treatment path depends entirely on what’s driving the inflammation. The most common culprits are a bacterial infection called H. pylori, regular use of anti-inflammatory painkillers (NSAIDs like ibuprofen or aspirin), heavy alcohol use, and chronic stress. Less commonly, autoimmune conditions can cause the body to attack its own stomach lining.

Here’s something worth knowing: gastritis found on an endoscopy doesn’t always line up with symptoms. A large population study in Sweden found that 40% of participants had gastritis on biopsy, but the rates were similar whether or not they had stomach complaints. That means some people have significant inflammation with no symptoms, while others feel terrible with relatively mild findings. If your symptoms include a burning or gnawing pain behind the breastbone rather than in the upper belly, that pattern points more toward acid reflux (GERD) than gastritis. Upper belly pain, fullness after meals, and early fullness during meals are the hallmarks of gastritis and related conditions.

Medication That Reduces Acid and Heals the Lining

The cornerstone of gastritis treatment is reducing the amount of acid your stomach produces, which gives the inflamed lining a chance to repair itself. Proton pump inhibitors (PPIs) are the most effective option. They work by shutting down the acid-producing pumps in your stomach wall. H2 blockers are a milder alternative that reduce acid through a different mechanism. Your doctor will choose between these based on how severe your gastritis is.

If you’re using PPIs, be aware that long-term use carries some risks. Extended PPI therapy has been linked to a higher chance of a serious gut infection (C. difficile), reduced bone density, and poor absorption of certain vitamins and minerals. This doesn’t mean PPIs are dangerous for a standard course of treatment, but it does mean you shouldn’t stay on them indefinitely without a clear reason. Once your symptoms resolve and the lining has healed, talk with your doctor about stepping down.

Treating H. Pylori Infection

If testing reveals H. pylori bacteria, clearing the infection is essential. Without eradication, the inflammation keeps coming back. Current guidelines from the American College of Gastroenterology recommend a 14-day course of quadruple therapy as the first-line treatment. This involves a PPI taken twice daily along with three other medications: an antibiotic, an antimicrobial, and a bismuth compound (the active ingredient in Pepto-Bismol). It’s a demanding regimen with multiple pills taken several times a day, but the 14-day duration gives the best chance of fully clearing the bacteria.

Notably, the older and simpler three-drug approach built around the antibiotic clarithromycin is no longer recommended unless lab testing proves the bacteria are sensitive to it. Resistance to that antibiotic has become too common for it to be a reliable default.

What to Eat and What to Avoid

Diet won’t cure gastritis on its own, but it plays a meaningful role in how quickly you heal and how comfortable you are along the way. The basic principle is simple: avoid foods that increase stomach acid or irritate already-inflamed tissue, and favor foods that are gentle and anti-inflammatory.

Foods to limit or cut out:

  • Citrus fruits and tomatoes. Their natural acidity can aggravate an inflamed stomach lining.
  • Coffee and caffeinated drinks. Caffeine stimulates acid production.
  • Spicy foods. They don’t cause gastritis, but they can intensify the burning and discomfort.
  • Fried and high-fat foods. These slow stomach emptying, keeping acid in contact with the lining longer.
  • Alcohol. Even moderate amounts can irritate the mucosa directly.

What helps: plain water throughout the day supports the protective mucus layer in your stomach and aids digestion. Lean proteins, cooked vegetables, whole grains, and non-citrus fruits are generally well tolerated. Eating smaller, more frequent meals rather than two or three large ones keeps acid levels more stable and puts less pressure on your stomach at any given time. Try to eat on a consistent schedule rather than skipping meals, which allows acid to build up with nothing to buffer it.

Alcohol and Smoking Slow Healing

Both alcohol and nicotine directly undermine the stomach’s ability to protect and repair itself, and cutting back on either one is one of the most impactful things you can do.

Nicotine is particularly damaging. It increases acid and digestive enzyme production while simultaneously reducing the stomach’s natural defenses: less protective mucus, less blood flow to the stomach lining, and lower levels of the growth factors that help tissue regenerate. It also increases bile reflux from the small intestine back into the stomach, which further irritates the lining. Perhaps most frustrating for people trying to manage gastritis with medication, nicotine reduces the effectiveness of H2 blockers, one of the main drug classes used to treat it.

Alcohol acts as a direct irritant to the stomach lining. If you’re in the middle of a gastritis flare, even a glass or two can set back your healing significantly. For chronic gastritis, reducing or eliminating alcohol is often necessary to break the cycle of inflammation.

How Long Recovery Takes

Acute gastritis from a clear, short-term trigger like a single episode of heavy drinking, a brief course of NSAIDs, or a stomach bug typically heals within days to a couple of weeks once the trigger is removed. Your stomach lining regenerates quickly under normal conditions.

Chronic gastritis takes longer because the inflammation has had time to cause deeper tissue changes. With proper treatment, most people see significant improvement within a few weeks, but complete mucosal healing may take two to three months or more depending on severity. If you’ve had chronic gastritis for years, recovery may also mean making permanent changes to your habits, including how you manage pain (switching away from NSAIDs), how much you drink, and whether you smoke.

Ginger and Probiotics

Ginger has some legitimate science behind it for gastritis, particularly when H. pylori is involved. A compound in ginger called 6-gingerol has been shown to inhibit H. pylori growth in lab settings and reduce markers of stomach inflammation in animal studies. At high doses, its anti-inflammatory effect was comparable to standard medication. That said, this research is still mostly preclinical. Ginger tea or fresh ginger in meals is unlikely to hurt and may help settle symptoms, but it’s not a substitute for antibiotics if you have a confirmed H. pylori infection.

Probiotics are sometimes recommended alongside antibiotic treatment for H. pylori, primarily to reduce the side effects of the antibiotics rather than to treat gastritis directly. The evidence for probiotics as a standalone gastritis treatment is limited.

Why Chronic Gastritis Needs Monitoring

Most gastritis is uncomfortable but not dangerous. The exception is chronic atrophic gastritis, where long-standing inflammation gradually thins and changes the stomach lining. This matters because of its link to stomach cancer. In a Korean study tracking asymptomatic adults over time, the cancer risk scaled directly with severity: 0.1% in people with no atrophic changes, 1.6% in mild atrophic gastritis, 5.2% in moderate, and 12% in severe. The annual incidence of gastric cancer in atrophic gastritis patients overall was about 0.1%.

These numbers are small in absolute terms, but they mean chronic atrophic gastritis isn’t something to ignore. If you’ve been diagnosed with it, periodic endoscopic surveillance allows any precancerous changes to be caught early, when they’re highly treatable. The progression from atrophic gastritis to cancer is slow, typically moving through intermediate stages over years, which gives plenty of opportunity for intervention if you stay on top of monitoring.