Gastritis is when the stomach lining (mucosa) is inflamed. It may be chronic or acute — in other words, long term or sudden and temporary.
Causes of gastritis may include:
- infection with Helicobacter pylori (H. pylori) bacteria
- certain medications
- high alcohol consumption
- tobacco use
- autoimmune conditions
- dietary habits
Gastritis may lead to symptoms like:
- stomach pain
- bloating
- nausea and vomiting
- belching
- feeling full even after eating small amounts of food
- stomach ulcers
- nutrient deficiencies
Alongside medical treatment, following specific diet plans may help manage your symptoms.
Need a diagnosis or prescription quickly? Optum Perks offers personalized on-demand care in as little as 15 minutes. For $29, answer a few questions online and receive a diagnosis and treatment plan from a US-licensed healthcare professional. Get started here.
Foods to try to heal gastritis
If you have gastritis, it may help to prioritize foods that are gentle on the stomach.
A 2022 population-based cohort study that included data from over 140,000 participants found that specific foods may reduce the chance of stomach ulcers and worsened symptoms:
- High fiber fruits and vegetables: Bananas, apples, berries, broccoli, spinach, and carrots are rich in fiber and antioxidants, which may help reduce inflammation and promote digestive health.
- Whole grains: Brown rice, quinoa, oats, and whole wheat bread may be other good sources of fiber to help regulate digestion and reduce the chance of gastritis.
- Healthy fats: Avocados, olive oil, fatty fish, and nuts may provide energy and reduce inflammation in your stomach.
- Green tea: Green tea is rich in polyphenols, which are plant compounds that may reduce inflammation.
Foods to avoid for gastritis
The 2022 study above suggests limiting or avoiding the following foods and drinks:
- Spicy foods: Spicy foods may irritate the stomach and worsen gastritis symptoms.
- Fried and fatty foods: Fried foods and those high in saturated fats can slow digestion and increase bile acid production and pro-inflammatory compounds.
- Carbonated beverages: The sugars in fizzy drinks may weaken a muscle called the esophageal sphincter and increase the pressure in your stomach and esophagus. This can irritate your stomach lining and change the bacteria in your gut.
- Alcohol: A high alcohol intake is a potential cause of gastritis. If you drink alcohol, it’s best to avoid or consume it in moderation.
- High salt foods: Too much salt may damage the stomach lining and increase the growth of H. pylori bacteria.
What worsens gastritis symptoms in one person may not affect you in the same way, and vice versa. You can try keeping a diary of your symptoms and chosen foods to identify any individual links between what you eat and drink and how you feel.
Bland diet for gastritis pain (for acute symptoms)
During acute flare-ups of gastritis pain (for example, if you have an ulcer), you may find that a bland diet eases symptoms. This diet is not intended long term but as a temporary way to relieve challenges like pain, nausea, or severe reflux.
A bland diet for gastritis typically consists of easily digestible, low fiber, nonspicy, soft, and cooked foods. It excludes options high in fat, salt, fiber, and acid.
Some suitable options to consider include:
- low fat dairy
- eggs
- vegetable or beef broth
- cream of wheat
- lean meats, like skinless chicken and fish
- pudding
- bland vegetables, like spinach and carrots
- noncaffeinated teas
- natural fruit juices
- tofu
- apple sauce
- mashed potatoes low in salt
Dietary guidelines for gastritis
In addition to eating and avoiding specific foods, following a dietary protocol may help keep some of your symptoms at bay. For example, they may improve reflux, nausea, or overall digestion.
Consider these guidelines:
- eating smaller, more frequent meals
- chewing food thoroughly
- staying hydrated
- avoiding eating too close to bedtime
- sleeping with your head elevated
- prioritizing physical activity
- engaging in relaxation techniques
Treatment for gastritis
A doctor may recommend over-the-counter (OTC) or prescription medications to reduce inflammation, manage symptoms, and treat the underlying gastritis causes. With proper treatment, it’s possible for gastritis to go away completely.
Medications for gastritis may include:
- Proton pump inhibitors (PPIs): Omeprazole (Prilosec), pantoprazole (Protonix), and esomeprazole (Nexium) are examples of PPIs that may help reduce stomach acid production, which can help improve gastritis symptoms.
- Antibiotics: If gastritis is due to an infection, such as H. pylori, a doctor may prescribe antibiotics like amoxicillin (Amoxil) or clarithromycin (Biaxin) to treat it.
- Nutrient supplements: Sometimes, gastritis can lead to deficiency in vitamins B12, C, or D, folic acid, zinc, magnesium, calcium, or iron. Therefore, a doctor may recommend supplementing with these nutrients.
- Anti-inflammatory drugs: Some people may benefit from OTC pain relievers and anti-inflammatory medications like aspirin or ibuprofen (Advil).
If you need help covering the cost of medications, the free Optum Perks Discount Card could help you save up to 80% on prescription drugs. Plus, you can now get them delivered to your home in as little as 3 days. Search for your medication here.

Free prescription coupons
Seriously … free. Explore prices that beat the competition 70% of the time.
Get free cardOnline care for gastritis
It is possible to cure gastritis with treatment, particularly if it’s caused by bacteria. Reaching out to a doctor for a diagnosis is the first step to get started on your treatment journey.
Online care services, including Optum Perks Online Care, may make getting treatment easier. With these services, you can submit an online form answering a few questions about your symptoms, and a US-licensed healthcare professional will respond soon after to prescribe a treatment plan.
Summary
A gastritis diet may include high fiber, whole grains, fresh fruits, and vegetables. It’s best to avoid alcohol (if you drink) and fried and spicy foods. If you’re experiencing pain, a bland diet is recommended for a few days only.
What works and doesn’t work is highly individual. You may try keeping a food and symptoms diary to better understand how your diet affects your condition.
In addition to dietary changes, medications like PPIs and antibiotics may be necessary to manage or treat gastritis effectively.
It’s best to consult with a healthcare professional. They can develop an individualized treatment and diet plan that addresses your specific needs.
Download the free Optum Perks Discount Card to save up to 80% on many prescription medications. Plus, you can now get them delivered to your home in as little as 3 days. Search for your medication here.
