How to Relieve Gastritis: Triggers, Meds, and Diet

Gastritis relief comes down to reducing the acid and irritation hitting your stomach lining, then giving that lining time to heal. For most people, a combination of dietary changes, over-the-counter acid reducers, and removing whatever triggered the inflammation in the first place will bring noticeable improvement within days to weeks. Chronic cases take longer and often need a doctor’s help to identify the underlying cause.

What’s Actually Happening in Your Stomach

Gastritis means the lining of your stomach is inflamed. That lining normally protects the stomach wall from its own acid, but when it’s damaged or weakened, acid reaches the tissue underneath and causes burning pain, nausea, bloating, or a feeling of fullness after eating very little. The most common culprits are overuse of anti-inflammatory painkillers (like ibuprofen or aspirin), heavy alcohol use, and infection with a bacterium called H. pylori.

Acute gastritis comes on suddenly and often resolves once the trigger is removed. If you overdid it with alcohol or took too many painkillers over a rough weekend, the stomach lining can begin repairing itself fairly quickly once the irritant is gone. Chronic gastritis develops gradually, sometimes over months or years, and the deeper tissue damage means healing takes longer, often requiring medication.

Reduce Stomach Acid With the Right Medication

Two main classes of over-the-counter drugs lower stomach acid, and they work differently. Proton pump inhibitors (PPIs) like omeprazole shut down the acid-producing pumps in your stomach lining directly, keeping stomach pH in a comfortable range for 15 to 22 hours per day. They offer faster healing and quicker symptom relief. H2 blockers like famotidine block one of the signals that tells those pumps to turn on, but they only suppress acid for about four hours at a time.

For mild, occasional symptoms, an H2 blocker may be enough. For more persistent or painful gastritis, a PPI is generally more effective. PPIs have a short half-life of roughly 30 minutes to two hours, so timing matters: take them 30 to 60 minutes before a meal for the best effect. If you find yourself needing acid-suppressing medication for more than two weeks, that’s a sign to see a doctor rather than continuing to self-treat.

Simple antacids (calcium carbonate or magnesium hydroxide) neutralize acid that’s already in your stomach. They work fast for temporary relief but don’t reduce acid production, so they won’t promote healing on their own.

Foods to Avoid and Foods That Help

Your stomach lining is already irritated, so anything that increases acid production or directly irritates tissue will make things worse. The biggest offenders to cut out while you’re healing:

  • Spicy foods, which can aggravate inflamed tissue directly
  • Acidic foods like tomatoes, citrus, and vinegar-based dressings
  • Coffee and caffeinated drinks, which stimulate acid secretion
  • Alcohol, which damages the mucosal barrier
  • Fried or very fatty foods, which slow stomach emptying and increase acid exposure
  • Carbonated drinks, which can increase pressure and discomfort

What helps is less dramatic but effective: lean proteins, cooked vegetables, whole grains, bananas, and non-citrus fruits. Eating smaller meals more frequently keeps your stomach from producing large surges of acid at once. Try not to eat within three hours of lying down, since a full stomach combined with gravity working against you increases acid contact with irritated tissue.

Stop the Trigger That’s Causing It

No amount of medication or dietary care will fully resolve gastritis if the thing causing it is still present.

Painkillers (NSAIDs)

Ibuprofen, naproxen, and aspirin are among the most common causes of gastritis. These drugs weaken the stomach’s protective mucus layer as a side effect. If you’re taking them regularly, the first step is switching to acetaminophen when possible, since it doesn’t carry the same stomach risk. If you genuinely need an NSAID long-term (for arthritis, for example), your doctor will likely prescribe a daily PPI alongside it to protect your stomach. A type of NSAID called a COX-2 inhibitor is also gentler on the stomach and may be an option. One important rule: don’t stack prescription NSAIDs with over-the-counter versions. People often forget that common painkillers from the drugstore are the same class of drug.

Alcohol

Alcohol erodes the stomach’s mucosal lining directly. If drinking caused your gastritis, stopping is the single most effective thing you can do. The stomach lining begins repairing itself once alcohol is out of the picture, though recovery time depends on how much damage has accumulated. For acute cases, improvement can happen within days. For heavy, long-term drinkers with chronic erosive gastritis, healing is slower and may require medical support.

H. Pylori Infection

This is the most common cause of chronic gastritis worldwide, and you can’t fix it with diet alone. H. pylori is a bacterium that burrows into your stomach lining and triggers ongoing inflammation. Your doctor can test for it with a breath test, stool test, or biopsy during an endoscopy. Treatment involves a 14-day course of antibiotics combined with a PPI. The current recommended approach uses four medications together to ensure the bacteria are fully cleared. Eradication rates are high when the full course is completed. If you have gastritis and haven’t been tested for H. pylori, it’s worth asking about, especially if symptoms keep coming back.

Home Remedies With Some Evidence Behind Them

Several natural products have plausible mechanisms for soothing an inflamed stomach, though they work best as complements to other strategies rather than replacements.

Ginger helps the stomach empty faster, which reduces how long acid sits in contact with irritated tissue. Its active compounds (gingerols and shogaols) also have direct anti-inflammatory and antioxidant effects on the stomach lining. Fresh ginger tea or small amounts of grated ginger are the simplest ways to use it. Avoid ginger ale, which typically contains very little real ginger and plenty of sugar and carbonation.

Chamomile has anti-inflammatory properties that help calm irritated stomach tissue and promote mucosal healing. It also relaxes smooth muscle in the digestive tract, which can ease cramping and bloating. Chamomile tea is the most accessible form and is gentle enough to drink daily.

Slippery elm contains mucilage, a substance that absorbs water and forms a gel-like coating over the stomach lining. This acts as a physical barrier between your tissue and stomach acid, reducing irritation while the lining heals underneath. It may also stimulate your stomach to produce more of its own protective mucus. Slippery elm is available as a powder you can mix into warm water or as lozenges.

Lifestyle Changes That Speed Healing

Stress doesn’t cause gastritis on its own, but it increases acid production and slows digestion, which makes existing inflammation harder to heal. Anything that genuinely lowers your stress level helps: regular exercise, adequate sleep, breathing techniques, or simply reducing your obligations during a flare.

How you sleep also matters. Lying on your left side reduces how much acid washes up from the stomach. Research shows left-side sleeping significantly decreases acid exposure compared to right-side or back sleeping, and clinical guidelines now recommend it. Elevating the head of your bed by six inches (using a wedge pillow or blocks under the bed frame) adds another layer of protection, especially if nighttime symptoms are a problem.

Smoking weakens the valve between your esophagus and stomach and reduces blood flow to the stomach lining, both of which slow healing. If you smoke and have gastritis, quitting will make every other intervention work better.

When Gastritis Needs Immediate Attention

Most gastritis responds well to the measures above, but certain symptoms signal something more serious. Vomiting blood, finding blood in your stool, or noticing that your stools have turned black and tarry all indicate bleeding in the stomach and need prompt medical evaluation. Severe pain that doesn’t respond to antacids, inability to keep any food or water down, and feeling lightheaded or dizzy also warrant immediate care. These can point to ulceration or other complications that home management won’t resolve.

How Long Recovery Takes

Acute gastritis, where the cause is clear and short-lived, often improves within a few days once the trigger is removed and acid is controlled. You might feel noticeably better within 48 to 72 hours of starting a PPI and adjusting your diet. Full mucosal healing takes longer, typically a few weeks.

Chronic gastritis is less predictable. If H. pylori is the cause, completing the antibiotic course clears the infection, but the tissue damage may take weeks to months to fully repair. Gastritis from long-term NSAID use or alcohol similarly needs sustained lifestyle changes before the stomach lining returns to normal. The deeper the damage has gone into the tissue layers, the longer recovery takes. Staying consistent with treatment and avoiding re-exposure to the original irritant are the two things that matter most for long-term resolution.