H. Pylori Diet: Foods to Eat and Avoid
Share
Good to know
H. pylori is a medical condition diagnosed and treated by a doctor. Diet doesn't cure the infection, but gentle eating habits can make day-to-day symptoms more comfortable. The information below is for information only.
In short: There's no single "H. pylori diet" that treats the infection — that's a job for your doctor and, usually, antibiotics. But what you eat can ease the stomach pain, bloating and heartburn that often come with it. Gentle, low-acid, low-fat foods tend to be easier on an irritated stomach, while spicy, fatty, acidic and caffeinated foods often make symptoms worse.
By Ondřej Dvořák · Updated September 9, 2026
In this article

Why diet matters alongside treatment
H. pylori is treated with antibiotics prescribed by a doctor — food alone won't clear the infection. But the bacterium irritates the stomach lining, and what you eat can make a real difference to day-to-day comfort while you're dealing with it, whether you're waiting for a test result, going through treatment, or recovering afterwards.
The general idea is simple: gentle, low-acid, low-fat foods tend to be easier on an already-irritated stomach, while spicy, fatty, acidic and caffeinated foods can make pain, bloating and heartburn worse.
Foods to eat
| Food | Why it's a good choice |
|---|---|
| Oatmeal & whole grains | Gentle, filling, and easy to digest |
| Bananas & non-citrus fruit (apples, pears) | Low in acid compared to citrus fruits |
| Steamed or cooked vegetables (broccoli, cauliflower, carrots) | Easier to digest than raw, fibrous vegetables |
| Lean protein (chicken, fish, eggs) | Lower fat content than red or fried meats |
| Plain yoghurt & other probiotic foods | Gentle on the stomach; some people find them soothing |
| Herbal teas (chamomile, ginger) | Caffeine-free and generally well tolerated |
Swipe table sideways on mobile to see all columns.
Foods to limit or avoid
| Food or drink | Why to go easy on it |
|---|---|
| Coffee & caffeinated drinks | Can increase stomach acid production |
| Alcohol | Irritates the stomach lining directly |
| Spicy foods | Common trigger for stomach pain and heartburn |
| Citrus fruits & tomato-based foods | Higher acidity can worsen discomfort |
| Fried & fatty foods | Slower to digest, can worsen bloating |
| Processed, smoked & heavily salted foods | Often flagged as harder on an irritated stomach lining |
| Carbonated drinks | Can increase bloating and pressure in the stomach |
Swipe table sideways on mobile to see all columns.
A day of eating — simple example
- Breakfast: oatmeal with banana, herbal tea
- Lunch: steamed vegetables with grilled chicken or fish, plain rice
- Snack: plain yoghurt or an apple
- Dinner: baked fish or eggs with cooked vegetables
Eating smaller meals more often, rather than a few large ones, is also generally easier on an irritated stomach.
Not sure if H. pylori is actually behind your symptoms?
Diet changes help with comfort, but confirming the cause is the first real step. A simple stool or blood test can tell you if H. pylori is present.
Compare at-home H. pylori testsFAQ: diet and H. pylori
Can diet cure H. pylori?
No. H. pylori is a bacterial infection treated with antibiotics prescribed by a doctor. Diet can't clear the infection, but gentle eating habits can ease symptoms along the way.
What foods make H. pylori symptoms worse?
Common triggers include coffee, alcohol, spicy foods, citrus and tomato-based foods, fried or fatty foods, and carbonated drinks — though this varies from person to person.
Is yoghurt good for H. pylori?
Plain yoghurt and other probiotic foods are generally gentle on the stomach and well tolerated. They're not a treatment for the infection, but many people find them soothing.
How long should I follow this kind of diet?
For as long as symptoms are bothering you, and typically through any treatment course your doctor prescribes. Ask your doctor about your specific situation and when it's safe to return to your usual diet.