What to Do for Gastritis: Diet, Meds & Recovery

Gastritis improves quickly once you remove whatever is irritating your stomach lining and give it the right conditions to heal. Acute cases often resolve within days to a couple of weeks, while chronic gastritis can take longer depending on the underlying cause. The core approach combines identifying your specific trigger, reducing stomach acid, adjusting what you eat, and making a few key lifestyle shifts.

What’s Actually Happening in Your Stomach

Your stomach lining produces a protective mucus barrier that keeps digestive acid from damaging the tissue underneath. Gastritis develops when something disrupts the balance between that acid and the lining’s defenses. The most common culprit is a drop in prostaglandins, the chemicals your body uses to maintain that protective barrier. Without enough of them, acid eats into the exposed tissue and triggers inflammation.

The list of things that can tip that balance is long: NSAIDs like ibuprofen and aspirin, alcohol, stress, bile reflux, bacterial infection, and even temporarily reduced blood flow to the stomach. Pinpointing which one applies to you is the single most important step, because treatment depends entirely on the cause.

Remove the Trigger First

If NSAIDs are behind your gastritis, stopping them is the most effective thing you can do. Your stomach lining will begin repairing itself once the irritant is gone. For people who rely on NSAIDs for chronic pain, switching to acetaminophen (Tylenol) is the simplest alternative, though it won’t help with inflammation or swelling. Topical diclofenac gel (Voltaren) applied directly to the skin provides localized relief without enough absorption to damage the stomach. Other non-pill options, including exercise, physical therapy, massage, and weight loss, can reduce your dependence on oral pain relievers over time.

If alcohol is the cause, cutting it out entirely while your stomach heals is essential. Even moderate drinking can worsen inflammation and delay recovery. For stress-related gastritis, reducing both physical and psychological stress plays a direct role in healing.

Over-the-Counter Medications That Help

Three classes of OTC drugs target stomach acid, and they work differently.

  • Antacids (Tums, Rolaids, Mylanta) neutralize acid that’s already in your stomach. They work fast and are useful for immediate relief, but the effect is temporary.
  • H2 blockers (Pepcid AC, Tagamet HB) reduce the amount of acid your stomach produces. They kick in within one to three hours and provide several hours of suppression, making them a good middle-ground option.
  • Proton pump inhibitors (Prilosec OTC, Nexium 24HR, Prevacid 24HR) are the strongest acid reducers available without a prescription. They take one to four days for full effect, so they’re not for instant relief. OTC versions are designed for a 14-day course and can be used up to three times per year.

For mild gastritis, antacids may be enough. For persistent symptoms, an H2 blocker or a short PPI course is more effective. Don’t exceed the duration listed on the label. If symptoms continue after a full OTC course, that’s a sign you need a proper diagnosis.

When H. Pylori Is the Cause

Helicobacter pylori, a bacterium that burrows into the stomach lining, is one of the most common causes of chronic gastritis worldwide. Up to two-thirds of people with a specific form called atrophic gastritis show evidence of H. pylori infection. You can’t treat this one on your own; it requires prescription antibiotics.

The current recommended treatment is a 14-day course of four medications taken together: a proton pump inhibitor, bismuth (the active ingredient in Pepto-Bismol), and two antibiotics. After finishing treatment, you’ll need a follow-up test at least four weeks later to confirm the infection is actually gone. This is typically a breath test or stool test, and you’ll need to stop any acid-reducing medication for two weeks beforehand so the results are accurate.

If you’ve had gastritis symptoms for weeks or months without a clear cause like NSAID use or heavy drinking, getting tested for H. pylori is worth it. Left untreated, the infection can cause ongoing damage.

What to Eat (and What to Skip)

Diet won’t cure gastritis on its own, but it can significantly reduce symptoms while your stomach heals. The general principle is simple: avoid anything that increases acid production or directly irritates inflamed tissue.

Foods to cut back on or avoid:

  • Coffee (regular and decaf), alcohol, and carbonated drinks
  • Citrus fruits, tomato-based sauces, and orange or grapefruit juice
  • Spicy seasonings like chili powder, black pepper, and curry
  • Fried and high-fat foods, including fast food and cream-based soups
  • Whole milk, chocolate milk, and full-fat dairy
  • Processed meats like bacon, sausage, and salami

Foods that are generally well tolerated:

  • Low-acid fruits and vegetables: apples, melons, pumpkin, carrots
  • Whole grains: oatmeal, brown rice, whole-wheat bread, pasta
  • Lean proteins: skinless chicken, turkey, fish, eggs, beans
  • Low-fat dairy or soy milk
  • Healthy fats in small amounts: olive oil, canola oil
  • Clear soups and chicken broth instead of cream-based options

Keep total fats and oils under about 8 teaspoons per day. Cooking at home gives you the most control over what goes into your meals.

Eating Habits That Speed Recovery

How you eat matters almost as much as what you eat. Smaller, more frequent meals put less strain on your stomach than two or three large ones. Eating slowly gives your stomach time to process food without overproducing acid. And lying down right after eating allows acid to wash up against inflamed tissue, so stay upright for at least two to three hours after a meal.

Supplements With Some Evidence

Zinc L-carnosine is one supplement with clinical data behind it for gastritis. In a study of 200 people with chronic atrophic gastritis, those taking 75 mg daily showed improved stomach lining markers, and about 77% experienced either symptom improvement or no progression of symptoms. It appears to work by protecting the stomach lining directly and reducing inflammation. Side effects were minimal, and the vast majority of participants tolerated it well. It’s available over the counter, though it works best as an add-on to other treatment rather than a standalone fix.

How Long Recovery Takes

Acute gastritis, the kind caused by a brief episode of heavy drinking, a short course of NSAIDs, or a temporary illness, typically resolves within days once the trigger is gone. Your stomach lining is remarkably good at repairing itself when you give it the chance. Most cases improve quickly with treatment.

Chronic gastritis takes longer. H. pylori-related gastritis requires the full 14-day antibiotic course plus confirmation that the bacteria are eradicated. Autoimmune gastritis, where the body attacks its own stomach cells, is a longer-term condition that needs ongoing monitoring rather than a one-time fix.

Nutritional Deficiencies to Watch For

Long-standing chronic gastritis, particularly the atrophic type, can quietly cause vitamin B12 and iron deficiencies. The stomach’s parietal cells produce both the acid needed to release iron from food and a protein called intrinsic factor that’s essential for absorbing B12. When those cells are damaged or destroyed, absorption drops. In one study of autoimmune gastritis patients, 52% had iron deficiency anemia. B12 deficiency can develop slowly, leading to fatigue, numbness or tingling in the hands and feet, and cognitive changes. If you’ve had chronic gastritis for months or years, periodic blood work to check B12 and iron levels is important.

Signs You Need Immediate Help

Most gastritis is uncomfortable but not dangerous. However, bleeding from the stomach lining is a medical emergency. Get help right away if you notice black or tarry stools, stools with red or maroon blood, vomit that contains red blood or looks like coffee grounds, or if you feel suddenly lightheaded, short of breath, or unusually fatigued alongside abdominal pain. These symptoms suggest the inflammation has eroded deep enough to damage blood vessels.