The best foods for gastritis are ones that reduce inflammation and go easy on your stomach lining: leafy greens, lean proteins, whole grains, berries, and fermented foods like yogurt. Equally important is knowing what to cut out, since avoiding irritants often brings more relief than adding “good” foods alone. Here’s how to build a gastritis-friendly diet that actually helps.
Foods That Help Calm Inflammation
Gastritis is inflammation of the stomach lining, so eating foods with natural anti-inflammatory properties gives your stomach a chance to heal. The strongest choices include leafy greens (cabbage, kale, spinach, arugula), berries (strawberries, blueberries, raspberries, cherries), and oily fish like salmon, mackerel, and sardines. Berries are particularly useful because they contain compounds called polyphenols that actively reduce inflammation. Oily fish provides omega-3 fatty acids, which lower inflammation and may help prevent the growth of H. pylori, the bacterium responsible for many gastritis cases.
Nuts like almonds, walnuts, and hazelnuts are another good option, along with olive oil as your primary cooking fat. These provide healthy fats without the inflammatory effect of saturated fats from fried or processed foods. For carbohydrates, stick with low-glycemic options: whole grains, oats, sweet potatoes, and lentils. Lentils and other pulses have an added benefit because they contain fermentable fiber that feeds beneficial gut bacteria.
Best Fruits for a Sensitive Stomach
Not all fruit is safe when your stomach lining is irritated. Citrus fruits and tomatoes are acidic enough to cause pain during a flare-up. Your best options are fruits with a higher pH. Cantaloupe ranks near the top at a pH of 6.1 to 6.6, followed closely by honeydew melon at 6.0 to 6.7. Watermelon falls in the 5.2 to 5.6 range, and bananas sit between 4.5 and 5.2. These are all mild enough for most people with gastritis to tolerate well. Pears can be trickier, with a pH as low as 3.5, so test your tolerance carefully.
Why Probiotic Foods Matter
Fermented foods introduce beneficial bacteria that support your stomach lining and improve digestion. Good options include natural yogurt, kefir, sauerkraut, miso, tempeh, kimchi, and sourdough bread. If your gastritis is caused by H. pylori, probiotics become even more relevant. A meta-analysis of 10 clinical trials with nearly 1,500 adults found that people taking mixed-strain probiotic supplements alongside standard treatment were about twice as likely to successfully clear the infection compared to those on treatment alone. Probiotics also reduced side effects like diarrhea, nausea, and constipation.
You don’t need supplements to get these benefits. Eating one or two servings of fermented foods daily is a reasonable starting point. Just watch the sodium in options like kimchi and sauerkraut if salt is a concern for you.
Foods and Drinks to Avoid
Some foods directly irritate an already inflamed stomach lining. The main culprits:
- Fried and fatty foods, which increase inflammation in the stomach lining
- Spicy foods, especially chili peppers and hot sauces
- Acidic foods like tomatoes, citrus fruits, and fruit juices
- Carbonated drinks, which can increase stomach pressure
- Coffee, particularly more than two to three cups a day
- Alcohol
- Pickled foods
- Barbecued or charred meats
A 2022 cohort study found that people with gastritis symptoms tended to eat more spicy, sweet, and salty trigger foods, snacked irregularly, and ate more barbecued food compared to those without symptoms. The pattern matters as much as individual foods.
Coffee deserves a closer look because many people don’t want to give it up entirely. Drinking more than three cups a day over a long period can trigger excess stomach acid and irritate the lining. The generally accepted safe limit for adults is around 300 mg of caffeine per day, roughly two standard cups of brewed coffee. If you’re in an active flare, cutting it out temporarily is the safer move.
Foods That Fight H. Pylori
If your gastritis is linked to an H. pylori infection, certain foods can support your treatment. Cruciferous vegetables, particularly broccoli and broccoli sprouts, contain compounds that may help suppress the bacterium. Cauliflower and cabbage belong to the same family and offer similar benefits. Honey has antibacterial properties that may work against H. pylori. Adding it to tea or stirring it into yogurt is an easy way to include it. Turmeric is another option worth incorporating into meals.
These foods won’t replace medical treatment for H. pylori, but they can complement it. Combined with probiotic-rich foods, they create a diet that works with your treatment rather than against it.
How to Handle Fiber During a Flare
Fiber is beneficial for gastritis in the long run, but timing matters. During an active flare-up when your stomach is at its most inflamed, large amounts of fiber can add irritation. The better approach is to start with gentler, lower-fiber foods like white rice, bananas, and cooked vegetables, then gradually increase fiber as your symptoms improve. Once you’re in a maintenance phase, aim for fiber-rich foods like whole grains, lentils, and vegetables to help prevent future episodes.
Meal Timing and Portion Size
How you eat can be just as important as what you eat. Smaller, more frequent meals reduce the load on your stomach at any given time and prevent the acid spikes that come from large portions. Instead of three big meals, try four to five smaller ones spread throughout the day. Avoid eating late at night, since lying down with a full stomach keeps acid in contact with your already irritated lining for longer.
Cooking method matters too. Steaming, baking, poaching, and sautéing in olive oil are all gentler options than deep-frying or grilling over high heat. When possible, choose soft or well-cooked textures over raw, crunchy foods during flare-ups.
Watch for Nutrient Gaps
Chronic gastritis can interfere with your body’s ability to absorb certain nutrients, especially vitamin B12. Your stomach needs hydrochloric acid to separate B12 from the food it’s bound to, and it also produces a protein called intrinsic factor that B12 needs to be absorbed. When the stomach lining is chronically inflamed, both of these functions suffer. B12 deficiency can cause fatigue, weakness, numbness or tingling, and cognitive difficulties. Iron absorption can also be affected for similar reasons.
If you’ve had gastritis for months or longer, it’s worth having your B12 and iron levels checked. Even a well-planned diet can fall short if your stomach isn’t absorbing nutrients properly.

