
When gastritis is diagnosed, one of the first questions people ask is what they are allowed to eat. Common causes of gastritis are Helicobacter pylori and anti-inflammatory medicines, which are dealt with through treatment. Diet does not replace treatment, but it can make the discomfort milder.
Does diet play a role in gastritis?
In most cases, diet is not the cause of gastritis. There are exceptions, however: drinking large amounts of alcohol can cause acute erosive gastropathy, a food allergy can cause gastritis, and, rarely, the same can happen with iron supplements.
That is why no food “cures” gastritis. Changes in what and how you eat aim to relieve the symptoms, while the cause is treated with the appropriate therapy. Diet becomes part of the treatment when gastritis is related to celiac disease or a food allergy.
What helps in everyday life
The advice for relieving symptoms is mostly about habits and less about specific foods.
- Smaller, more frequent meals instead of a few large ones.
- Fewer caffeinated drinks, such as coffee, tea, cola-type soft drinks, and energy drinks.
- Not eating in the 3 to 4 hours before bedtime.
- Losing weight if you are overweight.
- Quitting smoking and reducing stress.
What to limit
Some foods and drinks irritate the stomach more often and make the discomfort worse:
- spicy foods
- acidic foods and fruit juices, such as orange juice
- fried and fatty foods
- alcohol
Tolerance differs from person to person. It helps to notice which foods cause you discomfort so that you can limit them.
Be careful with anti-inflammatory painkillers
If you regularly take anti-inflammatory painkillers, such as ibuprofen, or aspirin, talk to your doctor about it. In some cases aspirin is essential, for example after a heart attack or stroke, so it should not be stopped without medical advice.
Gastritis, iron, and vitamin B12
Gastritis caused by Helicobacter pylori can make it harder to absorb iron from food and can lead to iron deficiency anemia. Autoimmune gastritis can affect the absorption of iron and vitamin B12. In these cases, your doctor may recommend supplements alongside treatment of the cause.
When you need medical help right away
Seek help right away if you vomit red blood or material that looks like coffee grounds, if your stools are black, sticky, and have a strong foul smell, or if you suddenly develop severe pain in your abdomen or chest.
If gastritis does not improve or the symptoms are severe, a gastroenterologist may suggest a gastroscopy to look inside the stomach. Similar symptoms can also be caused by other conditions, such as gastroesophageal reflux or functional dyspepsia.
Frequently Asked Questions (FAQs)
Sources
- NHS, Gastritis. https://www.nhs.uk/conditions/gastritis/
- NIDDK, Eating, Diet, & Nutrition for Gastritis & Gastropathy. https://www.niddk.nih.gov/health-information/digestive-diseases/gastritis-gastropathy/eating-diet-nutrition
- NIDDK, Treatment of Gastritis & Gastropathy. https://www.niddk.nih.gov/health-information/digestive-diseases/gastritis-gastropathy/treatment
- Patient.info, Gastritis. https://patient.info/digestive-health/dyspepsia-indigestion/gastritis
- NHS South West London, Self Care Information for Patients: Heartburn and Indigestion. https://swlimo.southwestlondon.icb.nhs.uk/wp-content/uploads/2022/12/Self-Care-Information-for-Patients-Heartburn-and-Indigestion-V1.1.pdf
Book your appointment
If your stomach discomfort persists, an assessment by a gastroenterologist helps find the cause and determine the right treatment. To schedule your visit, contact Dr. Thomaidis.
Send your request
Fill in your details and we will contact you to schedule your appointment.
This article is for informational purposes only and does not replace personalized medical advice, diagnosis, or treatment. For your own symptoms and how to manage them, please consult a doctor.
Content last updated: October 2026 (12/10/2026).

