Gastritis pain usually responds well to a combination of dietary changes, over-the-counter medications, and simple physical adjustments you can start today. The fastest relief comes from antacids, which neutralize stomach acid within minutes, but lasting improvement requires identifying what’s irritating your stomach lining and removing it. Here’s how to manage the pain at every level.
Fastest Ways to Reduce Pain Right Now
Antacids work the quickest of any option because they directly neutralize acid already sitting in your stomach. They won’t heal the inflammation, but they can take the edge off a flare within minutes. For longer-lasting relief, acid-blocking medications (sometimes called histamine blockers) reduce the amount of acid your stomach releases into your digestive tract, both relieving pain and giving your stomach lining a chance to heal.
Proton pump inhibitors (PPIs) are the strongest acid-reducing option. They work by blocking the cells that produce acid in the first place. PPIs take longer to kick in than antacids, often a day or more to reach full effect, but they suppress acid more completely. Many are available over the counter. If you’re dealing with a stubborn flare, a short course of a PPI is often the most effective approach.
While you wait for medication to work, a few physical changes help immediately. Avoid lying flat after eating. If you’re trying to rest, elevate the head of your bed 6 to 8 inches using blocks or a wedge under the mattress. Sleeping on your left side also reduces acid exposure in your upper digestive tract, while sleeping on your right side tends to make reflux worse. Wear loose clothing around your waist, since anything tight increases pressure on your stomach.
What to Eat During a Flare
Smaller, more frequent meals are easier on an inflamed stomach than two or three large ones. Focus on low-fat, balanced plates built around lean protein (chicken, fish, beans) and gentle carbohydrates like oatmeal or sweet potatoes. Fresh fruits and vegetables are good choices, but stick to low-acid options like bananas and apples rather than citrus or tomatoes. Yogurt and other fermented foods contain probiotics that support digestive health and may help with gastritis relief.
The foods to cut are predictable but worth listing, because even one of them can reignite a flare:
- Spicy foods directly irritate an already inflamed stomach lining
- Coffee and caffeinated drinks stimulate acid production
- Alcohol damages the protective mucus layer of the stomach
- Carbonated drinks including soda can worsen gastritis pain
- Fried and high-fat foods like chips and fries slow digestion and increase irritation
Stop eating at least three hours before bed. If you need something closer to bedtime, keep it light and easy to digest. Sip water throughout the day rather than drinking large amounts in the evening.
Check Your Pain Medications
One of the most common and overlooked causes of gastritis is regular use of anti-inflammatory painkillers like ibuprofen, naproxen, and aspirin. The risk is dose-dependent, meaning higher doses and longer use cause more damage, and the risk stays linear over time rather than plateauing. Not all anti-inflammatory drugs carry equal risk. Ibuprofen sits at the lower end, while naproxen, indomethacin, and piroxicam carry significantly higher risks of upper digestive complications.
If you’re taking these medications regularly for chronic pain and experiencing gastritis, that connection is likely not a coincidence. Using multiple anti-inflammatory drugs simultaneously or taking high doses elevates both the risk and severity of stomach damage. Switching to acetaminophen (Tylenol), which doesn’t irritate the stomach lining, is often the simplest fix. If you need anti-inflammatory medication for a condition like arthritis, talk to your provider about taking a PPI alongside it for protection.
Stress and Lifestyle Factors
Stress doesn’t cause gastritis on its own, but it worsens symptoms by increasing acid production and slowing digestion. Relaxation techniques like deep breathing, meditation, or gentle stretching before bed can meaningfully reduce nighttime symptoms. Maintaining a consistent sleep schedule also helps, since irregular sleep disrupts the digestive system along with everything else. Excess weight, particularly around the midsection, increases pressure on the stomach and makes both gastritis and reflux worse.
When Gastritis Is Caused by an Infection
A bacterial infection called H. pylori is one of the most common causes of chronic gastritis worldwide. If your symptoms keep coming back despite dietary changes and acid-reducing medication, this infection is worth testing for. The test is simple (usually a breath test or stool sample), and treatment involves a course of antibiotics combined with a PPI. Once the bacteria are cleared, the stomach lining typically heals and symptoms resolve.
If your doctor identifies bile reflux rather than acid as the source of your gastritis, treatment looks different. Bile reflux is harder to manage and usually requires a combination of medications. A protective coating medication can shield the stomach lining, while other drugs work to reduce bile flow. Acid-reducing medications are often added as well, but on their own they aren’t enough for bile-related gastritis.
Signs That Need Immediate Attention
Most gastritis is uncomfortable but not dangerous. However, severe or untreated inflammation can lead to bleeding in the stomach, which requires urgent care. Look for black or tarry stools, red or maroon blood in your stool, or vomit that contains red blood or looks like coffee grounds. Feeling unusually tired, short of breath, or lightheaded alongside stomach pain can also signal internal bleeding. These symptoms warrant a trip to the emergency room, not a wait-and-see approach.