How to Help Gastritis: Diet, Meds & Remedies

Gastritis improves when you remove what’s irritating your stomach lining and give it the right conditions to heal. For most people, that means a combination of dietary changes, avoiding specific medications, eating on a consistent schedule, and sometimes taking acid-reducing drugs. Acute gastritis often resolves within days to weeks once the trigger is gone, while chronic gastritis requires longer-term management.

Identify and Remove the Cause

The two most common causes of gastritis are a bacterial infection called H. pylori (one of the most widespread human infections globally) and regular use of over-the-counter painkillers like ibuprofen (Advil, Motrin), naproxen (Aleve), and aspirin. These NSAIDs directly damage the stomach lining, and using them frequently or in high doses significantly raises your risk. If you’ve been taking these regularly, switching to acetaminophen (Tylenol) for pain relief is a safer alternative for your stomach. Topical pain options like lidocaine patches or gels can also help you avoid oral painkillers entirely.

Other common triggers include excessive alcohol use, high stress levels, older age, and certain cancer treatments. Pinpointing your specific cause is essential because no amount of diet changes will resolve gastritis driven by an untreated H. pylori infection or daily NSAID use.

How Gastritis Is Diagnosed

If your symptoms persist for more than a couple of weeks, testing can identify the root cause. For H. pylori, the simplest option is a urea breath test: you swallow a capsule or liquid containing a labeled form of urea, and if the bacteria are present, they convert it into carbon dioxide that’s detected in your breath a few minutes later. Stool tests can also check for H. pylori and for hidden blood that would signal stomach bleeding.

For a direct look at the stomach lining, doctors use an upper GI endoscopy, passing a flexible tube with a camera through your mouth to examine the esophagus, stomach, and upper intestine. During this procedure, they can take tiny tissue samples (biopsies) to confirm inflammation, identify the type of gastritis, and rule out more serious conditions.

Eat on a Consistent Schedule

Meal timing matters more than most people realize. One study found that people who ate meals two or more hours off their usual schedule, at least twice a week, were roughly six times more likely to develop gastritis compared to those who ate at consistent times. Interestingly, the amount of food at each meal didn’t make a significant difference. What mattered was regularity.

This means setting and sticking to predictable mealtimes is one of the simplest, most effective changes you can make. Smaller, more frequent meals can also reduce the amount of acid your stomach produces at any given time, easing discomfort between meals.

Foods That Help Your Stomach Heal

An anti-inflammatory eating pattern supports healing. The foods with the strongest evidence include:

  • Leafy greens: cabbage, kale, spinach, and arugula
  • Fatty fish: salmon, mackerel, and sardines, rich in omega-3 fats
  • Berries: strawberries, blueberries, cherries, and raspberries, which are high in protective plant compounds
  • Nuts and seeds: almonds, walnuts, and hazelnuts
  • Whole grains, lentils, and other pulses: these provide fermentable fiber that supports gut health
  • Olive oil as a primary cooking fat

Probiotic-rich foods can also support your stomach’s healing environment. Natural yogurt, kefir, sauerkraut, miso, kimchi, tempeh, and sourdough bread all contain beneficial bacteria that may help restore balance in the gut.

Foods and Drinks to Avoid

Certain foods consistently aggravate gastritis symptoms. The biggest offenders are spicy foods, fried foods, salty foods, sour or acidic foods, and sweets. Red and processed meats, refined carbohydrates like white bread and pasta, sugary snacks, and sodas all promote inflammation and can slow healing. Barbecued foods and heavily seasoned snack foods also tend to irritate an inflamed stomach lining.

Alcohol is a direct irritant. If you’re dealing with active gastritis, cutting it out entirely gives your stomach the best chance to recover. Coffee, while not as clearly linked, bothers many people with gastritis. Substituting green tea is worth trying: green tea contains antioxidants that may inhibit H. pylori growth, and regular green tea drinkers appear significantly less likely to develop gastritis in the first place.

Medications That Reduce Stomach Acid

When dietary and lifestyle changes aren’t enough on their own, acid-reducing medications can give your stomach lining the breathing room it needs to repair. Two main types are available over the counter:

Proton pump inhibitors, or PPIs, are the strongest acid suppressors. They block the final step of acid production in your stomach cells and are typically used for more severe or persistent cases. H2 blockers (such as famotidine, sold as Pepcid) work by blocking the signal that tells your stomach to produce acid after meals. They’re less potent than PPIs but effective for milder symptoms and are available without a prescription.

If your gastritis is caused by H. pylori, you’ll need a course of antibiotics alongside acid-reducing medication to clear the infection. This combination approach is necessary because the bacteria won’t resolve on their own in most cases.

Natural Remedies Worth Trying

Ginger has centuries of traditional use for digestive problems, and modern research supports it for relieving nausea and vomiting. Lab studies have shown ginger extract can inhibit the growth of multiple strains of H. pylori, though this hasn’t been confirmed in human trials yet. Adding minced ginger to meals or drinking ginger tea is a low-risk way to ease symptoms.

Green tea deserves a second mention here. A 2016 study found it inhibited H. pylori growth in animal models, and population studies consistently show lower gastritis rates among regular green tea drinkers. Even one cup a day may offer protective benefits. Garlic and turmeric also have anti-inflammatory properties that may support stomach healing when used in cooking.

How Long Recovery Takes

Acute gastritis, the kind triggered by a bout of heavy drinking, a short course of NSAIDs, or a temporary infection, typically resolves quickly once the cause is removed. Your stomach lining repairs itself within days to a few weeks in most cases. Cleveland Clinic notes that most cases of gastritis improve quickly with treatment.

Chronic gastritis is a different situation. It develops slowly, sometimes without noticeable symptoms for long stretches, and requires ongoing management rather than a one-time fix. If H. pylori is the cause, clearing the infection with antibiotics can resolve it, but the inflammation may take weeks to fully settle. Autoimmune gastritis, where the body’s immune system attacks stomach cells, is a lifelong condition that needs regular monitoring.

Warning Signs of Complications

Left untreated, gastritis can progress to stomach ulcers, where the lining erodes deeply enough to cause significant pain and bleeding. Long-standing chronic gastritis, particularly from H. pylori, also raises the risk of stomach cancer over time. Symptoms that signal something more serious include vomiting blood or material that looks like coffee grounds, black or tarry stools (indicating bleeding in the digestive tract), severe or worsening abdominal pain, and unexplained weight loss. These warrant prompt medical evaluation rather than home management.