Gastritis flares can often be calmed within hours by reducing stomach acid and removing whatever is irritating your stomach lining. The approach combines short-term relief (what you eat, drink, and take right now) with longer-term changes that let your stomach actually heal. Acute gastritis typically resolves once the trigger is removed, while chronic gastritis may need 8 to 12 weeks of consistent treatment.
What’s Happening Inside Your Stomach
Your stomach lining has a built-in defense system: a thick layer of mucus that shields it from its own acid, plus steady blood flow that delivers oxygen and helps cells regenerate. Gastritis develops when something overwhelms those defenses. The lining becomes inflamed, and the protective mucus layer thins out or breaks down.
The most common culprits are the bacterium H. pylori (the leading cause of chronic gastritis), regular use of anti-inflammatory painkillers like ibuprofen or aspirin, heavy alcohol intake, and stress. Each of these damages the lining in a slightly different way. NSAIDs block the chemicals that maintain the mucus barrier. Alcohol directly irritates the tissue. H. pylori burrows into the lining and triggers a sustained immune response. Stress reduces blood flow to the stomach while simultaneously increasing acid production, a combination that leaves the lining exposed and vulnerable.
Immediate Steps to Reduce the Burn
If you’re in the middle of a flare, the fastest relief comes from neutralizing or lowering the acid that’s hitting your inflamed lining. Liquid antacids (15 to 30 mL per dose) work almost instantly by chemically neutralizing acid on contact. They’re best for quick, short-term relief, but the effect wears off within a couple of hours.
H2 blockers like famotidine take 30 to 60 minutes to kick in and peak at one to two hours. They work by slowing acid production rather than just neutralizing what’s already there, so the relief lasts longer. For active gastritis, famotidine taken twice daily for 8 to 12 weeks is a standard course.
Proton pump inhibitors are the strongest option. They shut down acid production more completely but take a day or two to reach full effect. A typical course for gastritis runs 8 to 12 weeks. These are widely available over the counter, and they’re the go-to choice when symptoms are persistent or more severe.
While you’re waiting for medication to work, a few things help right away: stop eating anything, sip room-temperature water, and sit upright or slightly reclined rather than lying flat. Avoid milk. It briefly buffers acid but then triggers a rebound in acid production that can make things worse.
Foods That Help Your Stomach Heal
What you eat during a flare matters as much as what you take for it. The goal is to keep your stomach working without forcing it to produce excess acid or cope with irritants. Lean proteins like chicken, fish, and beans are easy on the lining and keep you full. Pair them with gentle carbohydrates: oatmeal, sweet potatoes, rice, or toast.
Fresh fruits and vegetables are fine as long as you stick to low-acid options. Bananas and apples are good choices. Cooked vegetables tend to be gentler than raw ones during an active flare. Fermented foods like plain yogurt can support your gut’s microbial balance, which plays a role in keeping inflammation in check.
Eat smaller meals spread throughout the day rather than two or three large ones. A large volume of food triggers a larger surge of acid. Research on people with gastritis symptoms found that irregular meal timing, inconsistent portion sizes, and frequent snacking on trigger foods all correlated with worse symptoms. Building a predictable eating rhythm helps your stomach settle into a lower baseline of acid production.
Foods and Drinks to Avoid
Some foods directly irritate inflamed tissue, and others ramp up acid production. During a flare, cut out:
- Spicy foods including hot sauces, chili peppers, and heavily seasoned dishes
- Acidic foods like tomatoes, citrus fruits, and fruit juices
- Fried and high-fat foods which slow digestion and can worsen inflammation in the lining
- Coffee (including decaf, which still stimulates acid)
- Alcohol in any amount
- Carbonated drinks which increase pressure in the stomach
- Pickled foods due to their acidity
You don’t necessarily need to avoid all of these forever. Once your lining has healed, you can reintroduce foods one at a time and see what your stomach tolerates. But during active inflammation, removing these triggers gives the tissue space to repair.
Managing Stress-Related Flares
Stress doesn’t just make gastritis feel worse. It creates a measurable, physical chain of events in your stomach. When your body enters a stress response, it releases chemicals that increase acid secretion while simultaneously reducing blood flow to the stomach lining. Less blood flow means fewer nutrients reaching the tissue, slower cell turnover, and a thinner mucus barrier. The result is a stomach producing more acid with less protection against it.
Chronic stress also appears to weaken the stomach’s antimicrobial defenses, potentially making it easier for harmful bacteria to take hold. If your gastritis flares tend to coincide with stressful periods, addressing the stress is a direct part of treatment, not a nice-to-have extra. Regular physical activity, consistent sleep, and structured relaxation techniques like slow breathing or meditation have all been shown to lower the stress hormones that drive this cycle. Even 10 to 15 minutes of deliberate slow breathing can shift your nervous system out of the fight-or-flight mode that ramps up acid production.
Natural Remedies With Some Evidence
A few natural products have clinical data behind them, though the evidence is generally less robust than for conventional acid-reducing medications.
Ginger has the strongest track record. In a randomized trial, about 1,000 mg per day of ginger for four weeks improved symptoms like upper abdominal pain, fullness after eating, and early satiety. Ginger tea or capsules are the most practical forms. Start with a lower dose and work up, since too much ginger on an empty stomach can itself cause mild irritation.
Melatonin, better known as a sleep aid, also appears to protect the stomach lining. A daily dose of 3 mg reduced acid-related symptoms comparably to a standard proton pump inhibitor in one clinical trial, and adding melatonin to conventional treatment improved outcomes further. In people with H. pylori, 5 mg twice daily for three weeks reduced ulcer formation. Melatonin is inexpensive and widely available, though its effects on gastritis specifically still need more study.
Aloe vera gel (about 200 mL per day of the drinkable form) has shown anti-inflammatory effects in the digestive tract. If you try it, choose a product specifically labeled for internal use, as some aloe products contain compounds that act as harsh laxatives. Turmeric (specifically its active compound curcumin) has demonstrated dose-dependent protection of the stomach’s mucosal layer in animal studies, but human dosing for gastritis isn’t well established yet.
How Long Recovery Takes
Acute gastritis from a short-term trigger, like a weekend of heavy drinking or a few days of taking ibuprofen on an empty stomach, typically resolves within days once you stop the irritant. Your stomach lining regenerates quickly when given the chance.
Chronic gastritis is a longer process. If H. pylori is involved, you’ll need a course of antibiotics to clear the infection before the lining can fully recover. Treatment courses for chronic gastritis generally run 8 to 12 weeks, and deeper tissue damage may take even longer to heal. The key factor is consistency: sticking with your medication schedule, eating in a way that supports healing, and not re-exposing your stomach to the original trigger.
If your symptoms aren’t improving after a few weeks of self-care, or if they started without an obvious cause, it’s worth getting tested for H. pylori. Diagnosis typically requires a combination of tests since no single test is perfectly reliable on its own.
Warning Signs That Need Urgent Attention
Most gastritis is uncomfortable but not dangerous. However, if the inflammation progresses to erosions or ulcers, the stomach lining can bleed. Signs of stomach bleeding include black or tarry stools, vomit that looks like coffee grounds or contains red blood, feeling lightheaded or unusually fatigued, and unexplained weight loss. Any of these symptoms warrant immediate medical evaluation, not a wait-and-see approach.