How to Get Rid of Inflammation in the Stomach

Stomach inflammation, known as gastritis, happens when the protective mucus lining of your stomach weakens or gets damaged, allowing digestive acids to irritate the tissue underneath. Getting rid of it depends on what’s causing it. Acute cases often resolve within days to weeks once the trigger is removed, while chronic inflammation can take longer but still responds well to a combination of dietary changes, lifestyle shifts, and targeted treatment.

Identify What’s Causing It

The single most important step is figuring out why your stomach lining is inflamed in the first place, because the fix looks different depending on the cause. The most common culprits are a bacterial infection called H. pylori (one of the most widespread infections in humans), regular use of over-the-counter pain relievers like ibuprofen and naproxen, and excessive alcohol use. Each of these damages the stomach’s protective barrier in a different way, and each requires a different approach.

Less obvious triggers include severe physical stress from surgery or illness, autoimmune conditions where your body attacks your own stomach cells, and other diseases like Crohn’s or celiac disease. Age also plays a role: the stomach lining naturally thins as you get older, making it more vulnerable to irritation. If your symptoms keep coming back or don’t improve with basic changes, an underlying cause like H. pylori or an autoimmune process is worth investigating with your doctor.

Stop the Irritants First

Before adding anything new to your routine, remove what’s making things worse. This is often enough to resolve mild or acute gastritis on its own.

  • NSAIDs: Ibuprofen (Advil, Motrin) and naproxen (Aleve) are notorious for eroding the stomach lining, especially with regular use. Switch to acetaminophen (Tylenol) for pain relief if your doctor agrees, since it doesn’t carry the same gastric risk.
  • Alcohol: It directly irritates and breaks down the mucus barrier, leaving the tissue exposed to acid. Even moderate drinking can slow healing if your stomach is already inflamed.
  • Coffee and caffeine: Both stimulate acid production and irritate an already sensitive lining.
  • Carbonated drinks: Soda and sparkling water can worsen gastritis pain. Water is the safest choice while you’re healing.

For many people with acute gastritis, simply eliminating these irritants leads to noticeable improvement within a few days.

Adjust What and How You Eat

Your food choices can either speed healing or keep the inflammation going. The goal is to reduce acid stimulation and avoid anything that physically irritates the damaged lining.

Eat smaller, more frequent meals rather than two or three large ones. A large volume of food at once forces your stomach to produce more acid and stretch more, both of which aggravate inflamed tissue. Aim for balanced plates that are low in fat, with filling protein and gentle carbohydrates like oatmeal or sweet potatoes.

Lean proteins like chicken, fish, and beans are easier on the stomach than cured or fatty meats like bacon and ham. Fresh fruits and vegetables add nutrients and fiber, but stick to lower-acid options like bananas and apples rather than citrus or tomatoes. Probiotic-rich foods like yogurt and other fermented foods support digestive health and may help with gastritis relief. Avoid spicy foods, fried foods, and anything heavily seasoned with chili or hot sauce. If you want flavor, herbs like rosemary and basil are gentler alternatives.

Over-the-Counter Medications That Help

Three categories of stomach medication are available without a prescription, and they work in different ways.

Antacids (like Tums or Maalox) neutralize acid that’s already in your stomach. They provide fast, temporary relief but don’t reduce acid production or promote healing on their own. They’re best for occasional flare-ups.

H2 blockers (like famotidine, sold as Pepcid) reduce the amount of acid your stomach produces by blocking one of the chemical signals that triggers secretion. They work well for mild, infrequent symptoms, but your body can develop tolerance to them in as little as three days of continuous use, making them less effective over time.

Proton pump inhibitors, or PPIs (like omeprazole, sold as Prilosec), are the strongest option. They directly shut down the acid-producing pumps in your stomach lining and are more effective than H2 blockers for persistent symptoms. For best results, take them 30 to 60 minutes before eating. Manufacturers recommend using PPIs for no more than eight weeks at a time to minimize side effects. If you’re dealing with symptoms more than twice a week, a daily PPI is generally more effective than an H2 blocker. For two or fewer episodes per week, an H2 blocker is a reasonable first choice.

Treating H. pylori Infection

If testing confirms an H. pylori infection, you’ll need a specific course of antibiotics to clear it. This is one of the most common causes of chronic gastritis worldwide, and no amount of dietary change will resolve it without antimicrobial treatment.

The current recommended approach from the American College of Gastroenterology is a 14-day course of four medications taken together: a proton pump inhibitor, two types of antibiotics, and a bismuth compound (the active ingredient in Pepto-Bismol). This combination has replaced the older three-drug regimen that relied on clarithromycin, which is no longer recommended as a first choice due to rising antibiotic resistance. Completing the full 14 days matters. Stopping early increases the chance the bacteria survive and come back resistant to treatment.

Manage Stress to Protect Your Stomach

Severe stress, whether from illness, injury, surgery, or prolonged psychological pressure, has a direct physiological effect on your stomach. Animal research has shown that physical stress can reduce normal acid regulation by more than 50%, disrupting the balance between acid production and the stomach’s protective mechanisms. This disruption happens through the nervous system and stress hormones, which is why “stress gastritis” is a recognized medical phenomenon, particularly in hospitalized patients.

For everyday stress, the connection is less dramatic but still meaningful. Chronic stress tends to push people toward behaviors that worsen gastritis: more alcohol, more NSAIDs for tension headaches, skipped meals followed by overeating, and poor sleep. Addressing stress through regular exercise, adequate sleep, and whatever relaxation practice works for you (deep breathing, meditation, time outdoors) removes one of the factors that keeps the cycle of inflammation going.

Supplements That Support Stomach Healing

A few supplements have evidence behind them for protecting and repairing the stomach lining. Zinc-carnosine, a compound that combines zinc with the amino acid carnosine, has been used clinically in Japan for over 20 years to support mucosal protection and repair throughout the gastrointestinal tract. It’s typically taken on an empty stomach, and clinical trials have studied doses of 75 mg twice daily. It works by reinforcing the mucus barrier and promoting tissue healing at the cellular level.

Probiotic supplements, particularly strains studied for gut health, may help rebalance the stomach environment, especially after antibiotic treatment for H. pylori. Deglycyrrhizinated licorice (DGL) is another option some people find soothing, though its evidence base is smaller. These supplements are generally well tolerated, but they work best as additions to the core strategies above, not replacements.

How Long Recovery Takes

Acute gastritis, the kind triggered by a weekend of heavy drinking or a short course of ibuprofen, is sudden and temporary. Most cases improve quickly once the trigger is removed, often within a few days to a couple of weeks.

Chronic gastritis is a longer process. If it’s caused by H. pylori, the infection clears with the 14-day antibiotic course, but the lining may take additional weeks to fully heal. Autoimmune gastritis requires ongoing management since the underlying immune response doesn’t go away on its own. In all cases, staying off irritants and following the dietary principles above gives your stomach the best environment to repair itself.

Warning Signs That Need Immediate Attention

Most stomach inflammation is uncomfortable but not dangerous. However, if the lining erodes deeply enough to form ulcers, bleeding can occur. Seek medical help right away if you notice black or tarry stools, red or maroon blood in your stool, vomit that contains red blood or looks like dark coffee grounds, or if you feel unusually lightheaded, short of breath, or exhausted alongside abdominal pain. These symptoms suggest active bleeding in the stomach and require prompt evaluation.