What gastritis is
The NHS explains that gastritis is when the lining of the stomach becomes irritated (inflamed). It can cause tummy pain, indigestion, feeling full and bloated, nausea, vomiting and not feeling as hungry as usual.
Causes include infection with the bacterium Helicobacter pylori (H. pylori), anti-inflammatory painkillers such as ibuprofen and aspirin, drinking too much alcohol, being very stressed and unwell, stomach surgery such as gastric bypass, and a problem with the immune system attacking the stomach lining (autoimmune gastritis). If it is not treated, the NHS notes, gastritis may get worse and cause a stomach ulcer.
What diet can and cannot do
NIDDK explains that, according to researchers, eating, diet and nutrition do not play an important role in causing most cases of gastritis or gastropathy. In a small number of cases, foods, drinks or supplements may play a role: a large amount of alcohol can cause acute erosive gastropathy, food allergies may cause gastritis and, rarely, iron supplements may cause gastritis.
So there is no list of foods that heals gastritis on its own. The NHS explains that treatment depends on the cause and may include antibiotics, medicines that control stomach acid, reviewing anti-inflammatory painkillers or aspirin with your doctor, and stopping alcohol. Diet changes help ease symptoms while that treatment works.
Common trigger foods and drinks
To ease symptoms such as indigestion, the NHS advises against:
- acidic food and drink, such as orange juice
- fizzy drinks
- spicy food
- fatty food
- alcohol
It also advises reducing drinks that contain caffeine, such as tea, coffee, cola and energy drinks. Many of these are the same foods that worsen reflux; see our guide to foods to avoid with acid reflux.
Eating patterns that may help symptoms
The NHS advises not eating 3 to 4 hours before going to bed, and losing weight if you are overweight. These measures help with indigestion, one of the main symptoms of gastritis.
If pain appears soon after meals, keep a record of what and how much you ate. Our guide on why your stomach hurts after eating explains other possible causes that are worth ruling out with your doctor.
Foods often well tolerated
The sources reviewed do not give a list of foods that suit everyone with gastritis. The NHS advice focuses on what to limit: acidic, fizzy, spicy and fatty food, caffeine and alcohol. A practical approach is to build meals from foods that are not on that list and that you know you tolerate.
Tolerance varies from person to person, and NIDDK notes that food allergies can occasionally cause gastritis. If a specific food repeatedly causes symptoms, tell your doctor rather than cutting out whole food groups on your own.
Alcohol, coffee and smoking
The NHS advises not drinking alcohol and not smoking to ease symptoms. If gastritis is caused by alcohol, treatment includes stopping drinking. NIDDK notes that drinking a large amount of alcohol can cause acute erosive gastropathy.
For coffee and other drinks with caffeine, the NHS advice is to reduce the amount you drink. If you regularly take anti-inflammatory painkillers or aspirin, talk to your doctor: do not stop a prescribed medicine on your own, as your doctor may suggest an alternative.
Iron and B12: when deficiency matters
NIDDK explains that H. pylori gastritis can cause problems absorbing iron from food, leading to iron-deficiency anaemia; treating the infection and taking iron supplements can improve it. Autoimmune gastritis can cause problems absorbing iron and vitamin B12, which may lead to iron-deficiency anaemia and pernicious anaemia.
In autoimmune gastritis, doctors may recommend iron, folic acid and vitamin B12 supplements, and vitamin B12 injections if pernicious anaemia develops. These are decided after tests; NIDDK notes that iron supplements can rarely cause gastritis themselves.
Probiotics and supplements: evidence
The sources reviewed do not recommend probiotics or specific supplements for gastritis. NIDDK advises talking with your doctor before using any dietary supplements, vitamins or complementary or alternative medicines or practices, for safety reasons.
If H. pylori is found, the NHS explains that it is treated with antibiotics; there is no evidence in these sources that diet or supplements remove the infection. The NHS notes that your doctor might arrange a breath test, a stool test or a blood test to find the cause.
Where the sources differ
NIDDK (last reviewed August 2019) focuses on whether diet causes gastritis, concluding that it does not in most cases, and on nutritional problems such as iron and B12 deficiency. The NHS (August 2026) gives practical advice on foods and drinks that may worsen symptoms. Both fit together: avoiding triggers relieves symptoms, but does not replace treating the cause.
The NHS lists warning signs: see a GP if pain or indigestion lasts more than a week or keeps coming back, and get urgent advice for loss of appetite, feeling full after small meals, weight loss, a lump in the tummy, difficulty swallowing or repeated vomiting. Once these are assessed and with medical treatment in place, our nutrition service in Bilbao can plan an individual diet (consultations are in Spanish).
In summary
Gastritis is inflammation of the stomach lining, usually caused by H. pylori, anti-inflammatory painkillers, alcohol or autoimmunity. Diet does not cause most cases or cure it, but limiting caffeine, acidic, fizzy, spicy and fatty food, alcohol, smoking and late meals can ease symptoms while the cause is treated.
A personal tolerance table is more useful than a fixed food list. Note each food or drink, the amount, the time, any symptom and its intensity. After two to three weeks, review it with your doctor or dietitian to identify real triggers and avoid unnecessary restrictions.
Frequently asked questions about the gastritis diet
These answers are general information and do not replace an examination or individual medical advice.
What foods help gastritis?
No food heals gastritis on its own. Avoiding acidic, fizzy, spicy and fatty food, caffeine and alcohol eases symptoms while the cause is treated.
What is the worst thing to eat with gastritis?
The NHS advises avoiding alcohol and acidic, fizzy, spicy or fatty food. Triggers vary between people, so a tolerance record helps.
Are eggs OK with gastritis?
The sources do not mention eggs. They advise against fatty food, so cooking methods with little fat are a reasonable option if you tolerate them.
Can diet cure gastritis?
No. Diet does not cause most cases. Treatment depends on the cause, for example antibiotics for H. pylori or reviewing painkillers with your doctor.
Should I take probiotics?
The sources reviewed do not recommend them. Talk to your doctor before taking any supplement, especially if you are being treated for H. pylori.
When is gastritis an emergency?
If you vomit blood or coffee-ground material, pass black sticky poo, or have sudden severe tummy or chest pain. Call emergency services or go to A&E.
Sources
- NHS · Gastritis
- National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) · Eating, diet, and nutrition for gastritis and gastropathy
This guide is for general information and does not replace medical advice. How a problem is diagnosed and treated depends on your examination and medical history. If you think you have an emergency, contact your local emergency services.
