What Helps Stomach Inflammation: Meds, Diet & More

Stomach inflammation, known medically as gastritis, improves with a combination of reducing what irritates the stomach lining and giving it the right conditions to heal. For most people, that means addressing the underlying cause (a bacterial infection, overuse of pain relievers, or dietary triggers), lowering stomach acid levels while the lining repairs itself, and making targeted changes to what you eat and drink. Healing can take anywhere from a few weeks to several months depending on the cause and severity.

The Two Most Common Causes

Before you can effectively treat stomach inflammation, it helps to know what’s driving it. The two biggest culprits are a bacterial infection called H. pylori and regular use of nonsteroidal anti-inflammatory drugs (NSAIDs) like ibuprofen, aspirin, and naproxen. Having both at the same time makes the damage significantly worse: research in The Lancet found that severe gastric mucosal damage from NSAIDs is strongly associated with an existing H. pylori infection and elevated levels of digestive enzymes in the blood.

H. pylori burrows into the mucus layer that protects your stomach wall, triggering chronic inflammation that can eventually lead to ulcers. NSAIDs work differently. They block the production of protective compounds in the stomach lining, leaving it vulnerable to acid. If you’ve been taking NSAIDs regularly and have stomach pain, stopping or switching medications is often the single most effective step. Other common triggers include heavy alcohol use, chronic stress, and autoimmune conditions where the body’s immune system attacks the stomach lining directly.

Acid-Reducing Medications

Lowering the amount of acid in your stomach gives the inflamed lining a chance to heal. Two main classes of over-the-counter and prescription drugs do this effectively.

Proton pump inhibitors (PPIs) are the strongest acid suppressors available. They shut down the acid-producing pumps in your stomach lining and are typically taken once or twice daily. They’re the go-to option for moderate to severe gastritis, active ulcers, and any treatment plan involving H. pylori eradication.

H2 blockers like famotidine (Pepcid) and cimetidine (Tagamet) suppress acid production through a different pathway. They’re available over the counter and work well for milder inflammation. If you know a meal is likely to trigger discomfort, taking an H2 blocker 30 to 60 minutes beforehand gives it time to kick in. For ongoing treatment, they’re typically taken once at bedtime or twice daily (morning and night).

Antacids provide the fastest relief by neutralizing acid that’s already in your stomach, but they don’t promote healing on their own. They’re best used alongside one of the options above for breakthrough symptoms.

Treating an H. Pylori Infection

If testing confirms H. pylori is behind your inflammation, antibiotics are necessary to clear the infection. 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 antibiotics, and a bismuth compound (the active ingredient in Pepto-Bismol). This combination, called bismuth quadruple therapy, is now preferred over older three-drug regimens because antibiotic resistance has made those less reliable.

The regimen is intensive. You’ll be taking multiple pills several times a day for two weeks, and side effects like nausea, metallic taste, and dark stools are common. But completing the full course matters. Stopping early increases the chance the bacteria survive and become harder to treat. Once H. pylori is successfully eradicated, the stomach lining typically heals on its own over the following weeks to months.

Dietary Changes That Reduce Irritation

Food choices won’t cure gastritis, but they can meaningfully reduce symptoms and create better conditions for healing. The goal is simple: eat things that don’t provoke more acid production or directly irritate the lining.

  • Reduce or eliminate alcohol, coffee (including decaf, which still stimulates acid), spicy foods, acidic foods like tomatoes and citrus, and fried or very fatty meals.
  • Favor lean proteins, cooked vegetables, whole grains, bananas, and non-citrus fruits. These are generally well tolerated and don’t spike acid production.
  • Eat smaller, more frequent meals rather than two or three large ones. A large meal stretches the stomach and triggers a bigger acid release.
  • Don’t eat within 2 to 3 hours of lying down. Gravity helps keep acid where it belongs.

Keeping a simple food diary for a week or two can help you identify your personal triggers, since tolerance varies widely from person to person. Some people handle moderate spice just fine but react strongly to coffee, and vice versa.

Supplements and Natural Remedies

Several natural products have evidence supporting their use alongside conventional treatment, though none replace medications when gastritis is caused by H. pylori or is severe.

Slippery elm is one of the better-studied herbal options. It works by stimulating nerve endings in the stomach lining, which triggers the body to produce more protective mucus. This thicker mucus layer helps shield the stomach and small intestine from excess acidity. The typical dose in capsule form is 400 to 500 mg taken three to four times daily with a full glass of water, for up to eight weeks.

Probiotics show promise, particularly for people dealing with H. pylori. Certain strains of Lactobacillus and Bifidobacterium, when combined with standard treatment, can help reduce the effects of H. pylori infection and may improve eradication rates. They also help offset the gut disruption that comes with a two-week course of heavy antibiotics. Look for supplements that list specific strains rather than just genus names, and take them at a different time of day than your antibiotics.

Ginger, licorice root (specifically the DGL form, which has the blood-pressure-raising compound removed), and chamomile tea are widely used for stomach soothing. Evidence for these is more limited, but they’re generally safe and many people find them helpful for managing day-to-day discomfort.

Nutrient Deficiencies From Chronic Inflammation

When stomach inflammation becomes chronic, it can quietly cause nutritional problems that feel unrelated to your stomach. This happens because inflamed or damaged stomach lining loses the cells responsible for producing acid and a protein called intrinsic factor, both of which are essential for absorbing certain nutrients.

Vitamin B12 is the most well-known concern. Your stomach needs intrinsic factor to absorb B12 from food, and chronic gastritis progressively destroys the cells that make it. B12 deficiency can cause fatigue, numbness or tingling in the hands and feet, difficulty concentrating, and a specific type of anemia where red blood cells become abnormally large. In one study of patients with autoimmune gastritis, testing for specific antibodies yielded 100% specificity for diagnosing the resulting condition, pernicious anemia.

Iron deficiency is equally common but often overlooked. Without enough stomach acid, your body can’t properly dissolve and absorb iron from food. In a study of 160 patients with autoimmune gastritis, 52% had iron deficiency anemia with low ferritin levels, low iron saturation, and small red blood cells. This can develop years before B12 problems become apparent.

Calcium and vitamin D absorption also suffer. Stomach acid helps dissolve calcium, particularly calcium carbonate (the form in most supplements and antacids). People with very low stomach acid absorb significantly less calcium than people with normal levels. Vitamin D levels take a hit too: one study found that people with chronic atrophic gastritis had average vitamin D levels of 18.8 ng/ml compared to 27.0 ng/ml in healthy controls, a clinically meaningful difference that increases the risk of bone loss over time.

If you’ve had stomach inflammation for months or longer, asking for blood work to check B12, iron, and vitamin D levels is a straightforward way to catch these problems before they cause lasting damage.

Lifestyle Factors That Speed Healing

Stress doesn’t cause gastritis on its own, but it increases acid production and slows the body’s repair processes. Chronic psychological stress is consistently linked to worse gastritis symptoms and delayed healing. Even basic stress management, whether that’s regular exercise, better sleep, or cutting back on commitments, can make a noticeable difference in how quickly symptoms resolve.

Smoking is a direct irritant to the stomach lining and also weakens the lower esophageal sphincter, allowing acid to splash upward. Quitting or even reducing smoking accelerates mucosal healing. Alcohol has a similar effect: it erodes the mucus barrier and stimulates acid secretion. If you’re actively treating gastritis, eliminating alcohol entirely during the healing period gives your stomach the best chance of recovery.