Gastritis pain responds best to a combination of acid reduction, dietary changes, and avoiding the substances that irritate your stomach lining in the first place. Most people with acute gastritis feel significantly better within days once they remove the trigger and start managing acid levels, while chronic gastritis requires longer-term treatment tailored to the underlying cause.
Over-the-Counter Acid Reducers
The fastest relief comes from antacids, which neutralize stomach acid on contact. Liquid antacids work more quickly than chewable tablets. Their active ingredients vary by brand but typically include calcium carbonate, magnesium hydroxide, or aluminum hydroxide. These are useful for immediate, short-term relief but wear off relatively quickly.
For more sustained acid control, H2 blockers like famotidine (Pepcid) stop your stomach from producing as much acid in the first place. They work by blocking the chemical signal that tells your stomach cells to release acid. H2 blockers last longer than antacids and are available over the counter.
Proton pump inhibitors (PPIs) like omeprazole are the most powerful option. They shut down acid production more completely than H2 blockers and give your stomach lining time to heal. OTC PPIs are designed for short courses of 4 to 8 weeks. If you find yourself reaching for them longer than that, it’s worth getting a proper evaluation to identify what’s driving your gastritis.
Protective Coatings for the Stomach Lining
Some medications work differently from acid reducers. Instead of lowering acid levels, they physically coat damaged areas of your stomach lining. Bismuth subsalicylate (the active ingredient in Pepto-Bismol) and sucralfate both form a protective barrier over irritated or eroded tissue, shielding it from further acid exposure while it heals. Sucralfate actually changes its chemical structure in the acidic environment of your stomach, allowing it to bind to damaged areas like a bandage. These agents can be especially helpful when your stomach lining has visible erosions.
Foods That Calm an Irritated Stomach
What you eat matters as much as what you take. A bland diet reduces the workload on your stomach and avoids triggering more acid production or irritation. Foods that tend to sit well include:
- Lean proteins like poultry, white fish, eggs, and tofu, steamed or baked without added fat
- Cooked or canned vegetables and peeled, seedless fruits like applesauce or canned peaches
- Refined grains: white bread, crackers, plain pasta, oatmeal, or cream of wheat
- Low-fat dairy, broth-based soups, and weak tea
- Creamy peanut butter, pudding, and custard
These foods are low in acid, low in fat, and gentle on inflamed tissue. You don’t need to eat this way forever, but sticking to a bland diet during a flare-up lets your stomach lining recover without constant re-irritation.
Triggers That Make Gastritis Worse
NSAIDs like aspirin, ibuprofen, and indomethacin are among the most common causes of gastritis. They damage the stomach lining through a double hit: they penetrate the protective mucus layer and directly injure the cells underneath, while also blocking your stomach’s natural production of protective compounds called prostaglandins. Without those prostaglandins, your stomach produces more acid and less of the mucus that shields the lining from it. If you’re dealing with gastritis pain, switching to a non-NSAID pain reliever like acetaminophen can make a significant difference.
Alcohol, spicy foods, fried and fatty foods, carbonated drinks, coffee, and tea are all common irritants. Smoking also weakens the stomach’s defenses. Eliminating these during a flare-up, and moderating them long-term, gives your stomach the best chance to heal.
Ginger for Stomach Pain and Nausea
Ginger has the strongest evidence of any natural remedy for upper digestive symptoms. It works by influencing receptors in the gut that control nausea and stomach motility, helping your stomach empty more efficiently. In a clinical trial of people with functional dyspepsia (persistent stomach pain and discomfort), 400 mg of a concentrated ginger extract daily led to significant symptom improvement: 79% of the ginger group reported marked improvement compared to 21% on placebo, and 64% had complete elimination of symptoms versus 13% in the placebo group.
Another trial using 3 grams of ginger powder daily in people with H. pylori-positive dyspepsia found significant improvement in fullness, early satiety, nausea, belching, stomach pain, and burning. A daily dose of around 1,500 mg of ginger appears to be the effective range across multiple studies. Ginger tea, ginger capsules, or fresh ginger added to food are all reasonable ways to get it, though capsules offer more consistent dosing.
Eating and Sleeping Habits That Help
How you eat can matter as much as what you eat. Eating too quickly or consuming large meals forces your stomach to produce more acid all at once. Smaller, more frequent meals spread out the digestive workload. Chewing thoroughly before swallowing gives your stomach a head start on breaking food down.
After eating, stay upright for at least 2 to 3 hours before lying down. When you do sleep, elevating the head of your bed by 6 to 8 inches helps keep acid from pooling against your stomach lining and creeping into your esophagus. Sleeping on your left side is also effective: in this position, your esophagus sits higher than your stomach, so acid drains away from it more quickly than when you sleep on your back or right side.
How Long Gastritis Takes to Heal
Acute gastritis, the kind triggered by a bout of heavy drinking, a short course of NSAIDs, or a passing infection, typically resolves on its own once the trigger is removed. Your stomach lining repairs itself relatively quickly, and with acid-reducing medication to ease symptoms in the meantime, most people feel better within a few days to a couple of weeks.
Chronic gastritis is a different situation. It doesn’t resolve on its own and is usually tied to an ongoing condition like H. pylori infection, autoimmune inflammation, or long-term NSAID use. Treatment depends entirely on the cause. H. pylori, for example, requires a specific antibiotic regimen. Because chronic gastritis may have caused deeper tissue damage, healing takes longer even after treatment begins.
Signs of Stomach Bleeding
Gastritis occasionally leads to erosions or ulcers that bleed. If you notice black or tarry stools, red or maroon blood in your stool, vomit that contains red blood or looks like coffee grounds, or you feel unusually tired, lightheaded, or short of breath alongside abdominal pain, seek medical help immediately. These are signs of active bleeding in the stomach and require urgent evaluation.