What Is Good for Gastritis: Foods, Meds & Remedies

The best approach to gastritis depends on what’s causing it, but most cases improve with a combination of acid-reducing medication, dietary changes, and removing whatever is irritating your stomach lining. Acute gastritis from a short-term trigger like too many painkillers or a rough weekend of drinking often heals on its own once the irritant is gone. Chronic gastritis, usually driven by a bacterial infection or long-term medication use, needs targeted treatment but responds well once the underlying cause is addressed.

What Causes Gastritis in the First Place

Gastritis is inflammation of your stomach lining, and it has a few common culprits. The most frequent worldwide is infection with a bacterium called H. pylori, which burrows into the protective mucus layer of your stomach and triggers ongoing inflammation. The second major cause is regular use of NSAIDs like ibuprofen, naproxen, or aspirin. These drugs work by blocking the production of compounds called prostaglandins throughout your body, which reduces pain and swelling in your joints. The problem is that those same prostaglandins also protect your stomach lining by stimulating mucus production and limiting acid secretion. Without them, acid essentially breaks through your stomach’s defenses and damages the tissue underneath.

Heavy alcohol use, severe physical stress (like major surgery or a serious illness), and autoimmune conditions round out the list. Knowing your cause matters because the “good” treatment for one type of gastritis can be completely different from another.

Medications That Reduce Stomach Acid

Acid-suppressing drugs are the foundation of gastritis treatment because they give your stomach lining the breathing room it needs to heal. There are two main categories.

Proton pump inhibitors (PPIs) are the stronger option. They shut down the acid-producing pumps in your stomach cells and are typically used for 4 to 8 weeks. Beyond that window, overuse can cause problems, including rebound acid reflux when you stop taking them. For that reason, doctors generally taper the dose over about 30 days rather than stopping abruptly, sometimes bridging with a milder acid blocker during the transition.

H2 blockers are the milder alternative. They work by blocking histamine signals that tell your stomach to produce acid. These are often used alongside PPIs during a taper or on their own for less severe gastritis. Both types are available over the counter and by prescription at higher doses.

Treating H. Pylori Infection

If your gastritis is caused by H. pylori, acid reducers alone won’t fix the problem. You need antibiotics to clear the infection. The American College of Gastroenterology now recommends a 14-day course of quadruple therapy as the first-line treatment: a PPI taken twice daily combined with bismuth (the active ingredient in Pepto-Bismol), tetracycline, and metronidazole. This replaced the older triple-therapy approach because H. pylori has developed widespread resistance to clarithromycin, one of the antibiotics in that older regimen.

The 14-day course is intensive, but eradication rates are high when you complete the full treatment. Adding a specific probiotic strain during and after antibiotic therapy may boost success rates. A 2024 randomized trial found that patients who took an inactivated form of L. reuteri DSM17648 alongside standard antibiotics achieved a 96.7% eradication rate compared to 86% with antibiotics alone. This strain works by physically binding to H. pylori cells in the stomach, reducing their ability to stick to the stomach wall so they get flushed out naturally.

Foods That Help Your Stomach Heal

Diet won’t cure gastritis, but it can meaningfully reduce symptoms and support healing. The general principle is simple: eat foods that are gentle on your stomach and avoid ones that spike acid production or irritate damaged tissue.

High-fiber foods are consistently helpful. Oatmeal, brown rice, sweet potatoes, carrots, beets, asparagus, broccoli, and green beans all fall into this category. Fiber helps regulate digestion and may protect the stomach lining by absorbing excess acid.

Alkaline foods help counterbalance stomach acid. Bananas, melons, cauliflower, fennel, and nuts all have a higher pH. Water-rich foods like cucumber, celery, lettuce, watermelon, and broth-based soups can dilute stomach acid and reduce irritation. Herbal teas, particularly ginger tea, are worth adding to your routine. Ginger is naturally alkaline and has anti-inflammatory properties that ease digestive irritation.

Foods and Drinks to Avoid

Alcohol directly damages the stomach lining through the same mechanism as NSAIDs, breaking down the mucus barrier and letting acid attack the tissue. Coffee, citrus, tomatoes, spicy foods, and carbonated drinks can all increase acid production or irritate inflamed tissue. You don’t necessarily need to eliminate every one of these permanently, but cutting them out during an active flare gives your stomach the best chance to recover.

Protective Medications for Damaged Tissue

When gastritis has caused visible erosions or ulcers, your doctor may prescribe a medication called sucralfate. It works differently from acid reducers. Instead of lowering acid levels, sucralfate forms a physical protective coating over damaged areas of the stomach lining. It also boosts local production of prostaglandins and strengthens the mucus-bicarbonate barrier that normally shields your stomach from its own acid. Think of it as a bandage for the inside of your stomach, giving damaged tissue a protected environment in which to repair itself.

How Long Recovery Takes

Acute gastritis is usually short-lived. Once the trigger is removed, whether that’s an infection your immune system clears, a medication you stop taking, or a bout of heavy drinking, your stomach lining begins repairing itself relatively quickly. Most people feel noticeably better within days to a couple of weeks.

Chronic gastritis takes longer. The inflammation has typically been present for months or years, and the tissue damage runs deeper. With proper treatment, including eradication of H. pylori if it’s present, healing can take several weeks to a few months. During this time, staying on your prescribed acid-reducing medication and sticking to a gentler diet makes a real difference in how quickly you recover.

Why Chronic Gastritis Deserves Attention

Left untreated, chronic gastritis can progress to atrophic gastritis, where the stomach glands themselves are lost and replaced by intestinal-type tissue. This matters because it raises the long-term risk of stomach cancer. A large observational study published in The BMJ found that within 20 years after diagnosis, roughly 1 in 50 people with atrophic gastritis developed gastric cancer, compared to 1 in 256 people with normal stomach lining. Those numbers are still relatively low in absolute terms, but they underscore why treating chronic gastritis early, and confirming that H. pylori has been successfully eradicated, is worth the effort.

Atrophic gastritis is confirmed through biopsy during an endoscopy. If your doctor finds intestinal metaplasia on the biopsy, that almost always indicates atrophic gastritis is present, and periodic monitoring becomes part of your long-term care.

Practical Steps You Can Start Today

  • Stop NSAIDs if possible. Switch to acetaminophen for pain relief, which doesn’t affect the stomach lining the same way. If you need NSAIDs for a chronic condition, talk to your doctor about taking them with a PPI.
  • Eat smaller, more frequent meals. Large meals stretch the stomach and trigger more acid production. Smaller portions reduce the load on inflamed tissue.
  • Cut alcohol during flares. Even moderate drinking slows healing when your stomach lining is already compromised.
  • Don’t lie down right after eating. Staying upright for two to three hours after meals keeps acid where it belongs.
  • Build meals around gentle staples. Oatmeal, bananas, rice, steamed vegetables, and lean proteins are reliably easy on an inflamed stomach.
  • Get tested for H. pylori. A simple breath test or stool test can identify the infection. If it’s positive, completing the full antibiotic course is the single most effective thing you can do for long-term healing.