What to Eat When You Have H. Pylori

Helicobacter Pylori Diet Recommendations
Certain foods and dietary components may help reduce Helicobacter pylori colonization and may serve as adjuncts to standard therapy (e.g. antibiotics). But it is important to note that diet changes do not reliably get rid of the infection by themselves.
Due to their high antioxidant levels, these foods may help neutralize oxidative damage and protect the gastric mucosa. Some nutrients, such as vitamin C, may inhibit gastric cancer cell growth.
If you have a peptic ulcer caused by H. pylori, consider making small dietary changes that may benefit your overall gastrointestinal (GI) health:
- Cut down on alcohol.
- Fill up on fruits and vegetables.
- Get more fiber.
- Eat probiotic-rich foods.
High fiber foods include apples, berries, broccoli, corn, dried fruit, leafy green vegetables, and potatoes with skins.
Adding the following foods to your daily meals may help relieve the symptoms of a peptic ulcer.
Try Tea and Honey
That same study shows that eating yogurt more than five times a week may help protect against this condition and make it easier to manage its symptoms. Eat honey and yogurt more often to reap the benefits, which overall are beneficial for GI health.
Also, start your day with a cup of green or black tea. Both types of tea are rich in antioxidants and exhibit antimicrobial properties.
Fill Up on Probiotics
Pickles, natto, sauerkraut, kimchi, kefir, and other probiotic foods keep your digestive system running smoothly by increasing beneficial gut bacteria.
Depending on your preferences, you can take probiotic supplements, eat probiotic foods or both as part of an ulcer diet. Miso, tempeh, yogurt, kombucha, pickled vegetables, buttermilk, and some types of cheese are naturally rich in probiotics and may improve digestive health. On top of that, they may help relieve bloating, gas, diarrhea, and other side effects of antibiotics, which are usually the first line of treatment for an H. pylori infection.
Eat Healthy Fats
The Takeaway
- An H. pylori infection typically doesn’t cause symptoms, making it hard to diagnose.
- H. pylori is classified as a Group I carcinogen.
- The bacteria can be passed between people through contact with certain bodily fluids.
- Due to their high antioxidant content, fruits and vegetables may be beneficial for individuals.
- Malik TF et al. Peptic Ulcer Disease. StatPearls. June 5, 2023.
- Helicobacter Pylori (H. Pylori) and Cancer. National Cancer Institute. April 12, 2023.
- Akeel M et al. Prevalence and Factors Associated With H. Pylori Infection in Saudi Patients With Dyspepsia. Electronic Physician. September 9, 2018.
- Butt J et al. How Do Global Trends in Helicobacter Pylori Prevalence Inform Prevention Planning? The Lancet: Gastroenterology & Hepatology. June 2023.
- Helicobacter Pylori (H. Pylori) Infection. Mayo Clinic. June 14, 2025.
- Awuku YA et al. Prevalence of Helicobacter Pylori Infection Among Children Living in a Rural Setting in Sub-Saharan Africa. BMC Public Health. April 24, 2017.
- Malfertheiner P et al. Helicobacter Pylori Infection. Nature Reviews Disease Primers. November 13, 2024.
- Mei H et al. Vitamin C and Helicobacter Pylori Infection: Current Knowledge and Future Prospects. Frontiers in Physiology. August 13, 2018.
- Wang T et al. Fruit and Vegetable Consumption, Helicobacter Pylori Antibodies, and Gastric Cancer Risk: A Pooled Analysis of Prospective Studies in China, Japan and Korea. International Journal of Cancer. February 1, 2018.
- Xue K et al. Impact of a Fermented High-Fiber Rye Diet on Helicobacter Pylori and Cardio-Metabolic Risk Factors: A Randomized Controlled Trial Among Helicobacter pylori-Positive Chinese Adults. Frontiers in Nutrition. January 15, 2021.
- Addissouky TA et al. Recent Advances in Diagnosing and Treating Helicobacter Pylori Through Botanical Extracts and Advanced Technologies. Archives of Pharmacology and Therapeutics. October 19, 2023.
- Habbash F et al. Association Between Dietary Habits and Helicobacter pylori Infection Among Bahraini Adults. Nutrients. October 10, 2022.
- Yordanov D et al. Influence of Dietary Factors on Helicobacter Pylori and CagA Seroprevalence in Bulgaria. Gastroenterology Research and Practice. June 4, 2017.
- Li M et al. Efficacy and Safety of Saccharomyces boulardii as an Adjuvant Therapy for the Eradication of Helicobacter Pylori: A Meta-Analysis. Frontiers in Cellular and Infection Microbiology. February 12, 2025.
- Park J M et al. Omega-3 Polyunsaturated Fatty Acids Intake to Regulate Helicobacter Pylori-Associated Gastric Diseases as Nonantimicrobial Dietary Approach. BioMed Research International. August 3, 2015.
- Mard SA et al. Dietary Factors in Relation to Helicobacter Pylori Infection. Gastroenterology Research and Practice. December 2, 2014.

Yuying Luo, MD
Medical Reviewer
Yuying Luo, MD, is an assistant professor of medicine at Mount Sinai West and Morningside in New York City. She aims to deliver evidence-based, patient-centered, and holistic care for her patients.
Her clinical and research focus includes patients with disorders of gut-brain interaction such as irritable bowel syndrome and functional dyspepsia; patients with lower gastrointestinal motility (constipation) disorders and defecatory and anorectal disorders (such as dyssynergic defecation); and women’s gastrointestinal health.
She graduated from Harvard with a bachelor's degree in molecular and cellular biology and received her MD from the NYU Grossman School of Medicine. She completed her residency in internal medicine at the Icahn School of Medicine at Mount Sinai, where she was also chief resident. She completed her gastroenterology fellowship at Mount Sinai Hospital and was also chief fellow.
