If you have gastritis, your stomach lining is inflamed. The right foods can calm that inflammation. The wrong foods can make it much worse. You want to eat foods that are low in acid, gentle on the stomach, and easy to digest. You want to avoid anything spicy, acidic, greasy, or that relaxes the muscle between your stomach and esophagus. The most reliable approach is a bland diet with small, frequent meals.
What exactly is gastritis and why does food matter?
Gastritis is inflammation of the stomach lining. It is not the same as heartburn or GERD, though they often overlap. The stomach lining has a protective mucus layer. When that layer gets damaged, stomach acid irritates the tissue underneath. That irritation is gastritis.
Food matters because some foods directly irritate that exposed lining. Other foods help the stomach repair itself. The goal of a gastritis diet is not to “cure” the condition with food alone. It is to stop making things worse while your stomach heals. Medications like proton pump inhibitors reduce acid production. Diet gives your stomach a break from further damage.
Common causes of gastritis include H. pylori infection, regular use of NSAID pain relievers like ibuprofen, heavy alcohol use, and stress. Each cause may require different treatment. But the dietary principles are largely the same regardless of the cause.
What foods should you eat when you have gastritis?
Research published in the World Journal of Gastroenterology found that certain foods can help protect the stomach lining. These are foods that are naturally low in acid, contain anti-inflammatory compounds, or provide nutrients that support tissue repair.
High-fiber foods are generally safe and helpful. Oatmeal, brown rice, whole wheat bread, and quinoa are good options. Fiber helps move food through your digestive system more smoothly. This reduces the time stomach acid has to sit and irritate the lining.
Lean proteins like skinless chicken, turkey, fish, and tofu are easier on the stomach than fatty meats. Baking, grilling, or poaching these proteins is better than frying. The cooking method matters as much as the food itself.
Non-citrus fruits are generally well tolerated. Bananas, melons, apples, and pears are low in acid. Berries are fine for some people, though their seeds can be irritating for others. Test small amounts first.
Vegetables that are cooked rather than raw are easier to digest. Carrots, green beans, spinach, and zucchini are good choices. Raw vegetables require more work from your stomach and can be harder on an inflamed lining.
Probiotic foods like yogurt with live cultures, kefir, and sauerkraut may help if your gastritis is caused by H. pylori. Some studies suggest probiotics can improve the effectiveness of antibiotic treatment for H. pylori. But the evidence is not strong enough to say probiotics alone treat gastritis.
What foods should you avoid when you have gastritis?
The list of foods to avoid is more important than the list of foods to eat. Many people make the mistake of eating one “good” food but ignoring several “bad” foods. That can undo all your progress.
Spicy foods are a clear trigger. Chili peppers, hot sauce, curry, and black pepper can directly irritate the stomach lining. Capsaicin, the compound that makes peppers hot, triggers pain receptors in the stomach. Even if you tolerate spicy food normally, it is best to avoid it during a flare-up.
Acidic foods and drinks are obvious problems. Citrus fruits like oranges, lemons, and grapefruit are high in acid. Tomato products like sauce, paste, and juice are also acidic. Coffee and tea, even decaf, contain compounds that stimulate acid production. The American College of Gastroenterology notes that coffee can worsen gastritis symptoms in many people.
Fried and fatty foods slow down digestion. French fries, fast food, bacon, and fatty cuts of meat sit in your stomach longer. This gives acid more time to irritate the lining. Greasy foods also relax the lower esophageal sphincter, which can cause acid reflux on top of gastritis.
Alcohol is directly toxic to the stomach lining. Even small amounts can increase inflammation. The National Institute of Diabetes and Digestive and Kidney Diseases states that alcohol abuse is a leading cause of gastritis. If you have active gastritis, zero alcohol is the safest choice.
NSAID pain relievers are not food, but they are worth mentioning because they are so commonly overlooked. Ibuprofen, naproxen, and aspirin all damage the stomach lining. Acetaminophen is safer for pain relief during gastritis because it does not affect the stomach lining the same way.
What to eat and avoid when you have gastritis: a comparison table
This table summarizes the key differences between foods that are generally safe and foods that commonly cause problems.
| Food Category | Safe Options | Avoid |
|---|---|---|
| Grains | Oatmeal, brown rice, whole wheat bread, quinoa | White bread, pastries, crackers with spices |
| Proteins | Skinless chicken, turkey, fish, tofu, eggs | Fried meat, bacon, sausage, fatty cuts of beef |
| Fruits | Bananas, melons, apples, pears | Oranges, lemons, grapefruit, tomatoes |
| Vegetables | Cooked carrots, spinach, zucchini, green beans | Raw onions, raw peppers, spicy peppers |
| Dairy | Low-fat yogurt, milk, cottage cheese | Full-fat cheese, ice cream, sour cream |
| Beverages | Water, herbal tea (chamomile, ginger), diluted fruit juice | Coffee, black tea, soda, alcohol, citrus juice |
Does eating small meals help gastritis?
Yes, meal size and frequency matter. Large meals stretch the stomach and increase pressure. That pressure can push acid upward and make irritation worse. Small meals keep the stomach partially full without overstretching it.
Eating five to six small meals per day is a common recommendation. Each meal should be about the size of your fist. This keeps your stomach working steadily without overwhelming it. Some people find that eating every three hours works well.
It is also important to stop eating at least three hours before lying down. Lying down with a full stomach makes it easier for acid to flow back into the esophagus. This is especially true if you have both gastritis and GERD, which is common.
Chewing food thoroughly helps too. Digestion begins in the mouth. The more you chew, the less work your stomach has to do. Aim for each mouthful to be chewed until it is liquid before swallowing.
What does the research on gastritis diet actually show?
The quality of research on gastritis diet is mixed. There are few large, well-controlled studies comparing specific diets. Most dietary advice comes from smaller studies, clinical experience, and what doctors observe in practice.
A study published in the journal Nutrients in 2021 reviewed the evidence for dietary interventions in gastritis. The researchers found that a diet high in fruits, vegetables, and whole grains was associated with lower rates of gastritis. They also found that reducing salt intake was important. High salt intake is linked to H. pylori infection and stomach cancer risk.
Some studies suggest that certain foods have direct protective effects. Ginger has anti-inflammatory properties that may help. Small studies have found that ginger can reduce nausea and stomach discomfort. Turmeric also has anti-inflammatory compounds, though the evidence for gastritis specifically is weak.
Licorice root is another traditional remedy. Deglycyrrhizinated licorice, or DGL, is a form that removes the compound that can raise blood pressure. Some small studies suggest DGL can coat the stomach lining and reduce irritation. But large clinical trials are lacking.
The bottom line is that no single food will cure gastritis. A consistent pattern of eating low-acid, low-fat, high-fiber foods is what helps. The evidence supports this pattern even if specific “superfoods” are overhyped.
Common misconceptions about gastritis diet
Milk does not coat the stomach. This is one of the most persistent myths. Milk can temporarily soothe the burning sensation because it is alkaline. But milk also stimulates acid production after about 30 minutes. The calcium in milk triggers gastrin release, which tells your stomach to make more acid. Water is a better choice.
Bland does not mean no flavor. Many people think a gastritis diet has to be boring. You can use mild herbs like basil, oregano, thyme, and dill. These are not irritating like black pepper or chili. Lemon juice is acidic, but a small amount may be fine for some people. Test your tolerance.
You do not have to avoid all fruits. Citrus fruits are problematic, but bananas, melons, and apples are fine for most people. Fruit is important for overall health. Do not cut out all fruit just because of gastritis.
Probiotics are not a cure. Some people take probiotic supplements hoping to fix gastritis overnight. Probiotics may help in specific cases, especially with H. pylori treatment. But they do not replace the need for a proper diet and medical treatment.
Stress management is part of the diet. Stress does not cause gastritis directly, but it can worsen symptoms. The stomach and brain are connected through the gut-brain axis. Stress can increase acid production and reduce blood flow to the stomach lining. Eating well while ignoring chronic stress is only half the solution.
Frequently Asked Questions
Can you eat eggs with gastritis?
Yes, eggs are generally safe. Poached or boiled eggs are best. Avoid frying them in butter or oil.
Is yogurt good for gastritis?
Plain yogurt with live cultures is usually safe and may help. Avoid yogurt with added sugar, fruit pieces, or artificial flavors.
Can you drink coffee with gastritis?
Most people with gastritis should avoid coffee. Even decaf coffee can stimulate acid production and worsen symptoms.
How long does a gastritis flare-up last?
With proper diet and treatment, most flare-ups improve within a few days to two weeks. Chronic gastritis may take longer to heal.

