What Feeds H. Pylori? Foods to Eat and Avoid

H. pylori thrives not by digesting the food in your stomach but by scavenging nutrients from your body’s own tissues, particularly iron and amino acids. What you eat still matters, though, because certain foods change the stomach environment in ways that help the bacterium flourish and ramp up its most harmful behaviors, while others contain compounds that suppress its growth or reduce the inflammation it causes. The relationship between diet and H. pylori is less about “feeding” the bug directly and more about tipping conditions in its favor or against it.

How H. Pylori Actually Nourishes Itself

H. pylori doesn’t sit in your stomach waiting for your lunch to arrive. It burrows into the mucus lining of the stomach wall and feeds on what it finds there. One of its most critical needs is iron, which it extracts from host proteins like hemoglobin, transferrin, and lactoferrin. Research using specially formulated lab media showed that H. pylori can bind and pull iron from both human and bovine versions of these proteins, though it has an unusual preference for the iron-free forms of transferrin and lactoferrin. Scientists believe this strategy evolved to allow the bacterium to grow slowly and persistently without depleting the host’s iron stores so severely that the immune system mounts an overwhelming response.

1PubMed Central. Unique host iron utilization mechanisms of Helicobacter pylori revealed with iron-deficient chemically defined media

The bacterium also runs its own internal nitrogen-recycling system. It processes the amino acid arginine through an enzyme cycle that generates ammonium, which it uses to neutralize stomach acid in its immediate surroundings. This urea cycle is a survival engine: it keeps the local environment hospitable enough for H. pylori to persist even in the harsh acidity of the stomach.

2PubMed. The urea cycle of Helicobacter pylori

Beyond iron and nitrogen, H. pylori deploys a toolkit of metal-acquisition proteins and virulence factors to compete for scarce nutrients in the stomach lining. A review in Oxidative Medicine and Cellular Longevity described how the bacterium essentially hijacks the host’s immune response and nutrient landscape to carve out a replicative niche in what should be one of the most hostile environments in the human body.

3PubMed Central. Nutrition and Helicobacter pylori: Host Diet and Nutritional Immunity Influence Bacterial Virulence and Disease Outcome

Why Salt Is the Biggest Dietary Villain

If one food-related factor stands out in the research on H. pylori, it’s salt. A high-salt diet doesn’t just irritate an already inflamed stomach; it directly changes how the bacterium behaves. In lab cultures, raising sodium chloride concentrations caused H. pylori to increase production of CagA, one of its most dangerous proteins. CagA is injected into stomach lining cells and is strongly associated with more severe gastritis and higher gastric cancer risk. When the same bacterium grown in high-salt conditions was exposed to human stomach cells, those cells pumped out more inflammatory signals than cells exposed to H. pylori grown in low-salt conditions.

4PubMed. Regulation of Helicobacter pylori cagA expression in response to salt

Animal studies back this up. Mice infected with H. pylori and fed a high-salt diet developed more severe stomach inflammation, greater loss of acid-producing cells, and higher levels of inflammatory markers compared to infected mice on a normal diet. The high-salt animals also showed increased cagA gene activity in their stomachs, confirming that salt’s effect on the bacterium isn’t just a lab curiosity.

5PubMed Central. High dietary salt intake exacerbates Helicobacter pylori-induced gastric carcinogenesis

Salt also upregulates production of VacA, another toxin H. pylori uses to damage stomach cells. A proteomic study found that environmental salt concentration influenced the entire composition of proteins the bacterium secretes, with VacA levels in the culture supernatant rising under high-salt conditions.

6PubMed Central. Effect of environmental salt concentration on the Helicobacter pylori exoproteome

A large cross-sectional dietary study of Chinese adults found that people who scored in the highest quartile for a “high-salt” eating pattern had about 13% higher odds of H. pylori infection compared to those in the lowest quartile.

7Wolters Kluwer Health. Dietary patterns and Helicobacter pylori infection in a group of Chinese adults ages between 45 and 59 years old

In practical terms, this means heavily salted foods like pickled vegetables, cured meats, salted fish, soy sauce-heavy dishes, and packaged snacks are worth cutting back on if you’re H. pylori positive. The bacterium literally weaponizes salt.

Sugar, Nitrates, and Coffee

Sugar doesn’t “feed” H. pylori the way it feeds, say, yeast in bread dough. But H. pylori is chemotactically attracted to glucose, meaning it senses glucose and swims toward it. In lab experiments, glucose was the strongest chemical attractant of all the sugars tested, and all sugars except mannitol triggered positive movement. The researchers suggested that diets high in sugar could facilitate H. pylori’s motility in the stomach, potentially helping it find favorable colonization sites.

8PubMed Central. The Role of Different Sugars, Amino Acids and Few Other Substances in Chemotaxis Directed Motility of Helicobacter Pylori

Nitrate-rich foods are another concern, though the mechanism is indirect. When H. pylori causes chronic inflammation that reduces stomach acid production, bacteria capable of converting dietary nitrates into nitrites can multiply more easily in the less acidic environment. Those nitrites can then be further converted into nitrosamines, which are carcinogenic. Foods high in nitrates include processed meats (bacon, hot dogs, deli meats) and some preserved vegetables. The nitrate-to-nitrosamine chain is especially relevant for people whose H. pylori infection has progressed to a stage where their stomach acid output is already compromised.

9IntechOpen. Gastric Cancer: Diet and Helicobacter pylori as Major Modifiable Risk Factors

Coffee has a more ambiguous reputation. One cross-sectional study found that people drinking three or more cups per day had roughly 2.5 times the odds of active H. pylori infection compared to non-drinkers, after adjusting for other factors.

10BMJ. Relation of smoking and alcohol and coffee consumption to active Helicobacter pylori infection: cross sectional study A separate study in H. pylori-positive patients found a significant link between coffee consumption and upper gastrointestinal symptoms like heartburn, nausea, and abdominal pain.11PubMed Central. The Association of Smoking and Coffee Consumption With Occurrence of Upper Gastrointestinal Symptoms in Patients With Active Helicobacter pylori Infection in Jazan City: A Cross-Sectional Study Coffee likely doesn’t make the infection itself worse, but it can aggravate symptoms by stimulating acid production in an already inflamed stomach. If you’re dealing with active symptoms, easing off coffee is a reasonable move.

Broccoli Sprouts and Sulforaphane

Broccoli sprouts are one of the most studied dietary agents against H. pylori, thanks to sulforaphane, a compound concentrated in young broccoli plants. In an animal model using human gastric tissue implanted in mice, sulforaphane treatment completely eradicated H. pylori in about 73% of the treated grafts.

12PubMed Central. Efficacy of sulforaphane in eradicating Helicobacter pylori in human gastric xenografts implanted in nude mice

Human evidence is more modest but still interesting. A small preliminary trial had nine H. pylori-positive patients eat broccoli sprouts daily, and three of them tested negative for the infection afterward.

13PubMed. Oral broccoli sprouts for the treatment of Helicobacter pylori infection: a preliminary report However, a later controlled study using broccoli sprout extract found no significant reduction in breath test values or gastric ammonia levels in H. pylori-positive subjects compared to placebo.14PubMed Central. The Effects of Broccoli Sprout Extract Containing Sulforaphane on Lipid Peroxidation and Helicobacter pylori Infection in the Gastric Mucosa The takeaway is that sulforaphane has real anti-H. pylori activity in lab and animal settings, but eating broccoli sprouts alone is unlikely to eradicate an established infection. It may help reduce bacterial load and inflammation alongside standard treatment, though.

Green Tea, Garlic, Cranberry, and Honey

Several other foods contain compounds with demonstrated lab activity against H. pylori, though each comes with caveats about translating petri-dish results to real stomachs.

Green tea’s key weapon is epigallocatechin gallate (EGCG), the most abundant catechin in the leaves. EGCG showed bactericidal activity against H. pylori at neutral pH in lab tests and was effective even against antibiotic-resistant strains.

15PubMed. A combination effect of epigallocatechin gallate, a major compound of green tea catechins, with antibiotics on Helicobacter pylori growth in vitro In infected gerbils, catechin treatment eradicated H. pylori in roughly 10 to 36% of animals and significantly reduced stomach erosion and bleeding.16PubMed. In vitro and in vivo activities of tea catechins against Helicobacter pylori EGCG also appears to dampen the inflammatory signaling pathway that H. pylori triggers in stomach cells.17PubMed. Protective mechanism of epigallocatechin-3-gallate against Helicobacter pylori-induced gastric epithelial cytotoxicity via the blockage of TLR-4 signaling The practical limitation is that EGCG loses its bactericidal punch at the low pH levels found in stomach acid, so how much benefit survives digestion is unclear.

Garlic’s active compound, allicin, has strong anti-H. pylori effects in lab cultures. Allicin inhibited H. pylori growth at very low concentrations, and the potency of garlic’s sulfur compounds increased with the number of sulfur atoms in their structure.

18PubMed Central. Activities of garlic oil, garlic powder, and their diallyl constituents against Helicobacter pylori In a small human study, H. pylori-positive patients who consumed garlic showed significantly lower breath-test values (a marker of bacterial activity) after garlic consumption compared to a control period without garlic.19PubMed Central. Assessment of antibacterial effect of garlic in patients infected with Helicobacter pylori using urease breath test A systematic review confirmed that allicin has proven activity against H. pylori and has been explored as an add-on to standard antibiotic regimens.20PubMed Central. Allicin as add-on therapy for Helicobacter pylori infection: A systematic review and meta-analysis

Cranberry juice earned attention after a double-blind trial found that drinking juice with a high proanthocyanidin content twice daily for eight weeks reduced H. pylori infection rates by about 20% compared to placebo and lower-dose groups. Encapsulated cranberry powder, by contrast, didn’t show a significant effect.

21Wiley Online Library. Suppression of Helicobacter pylori infection by daily cranberry intake: A double‐blind, randomized, placebo‐controlled trial

Honey, particularly manuka honey, has also shown anti-H. pylori effects in vitro. Lab tests found that manuka honey produced inhibition zones comparable to conventional medications, with strong bactericidal activity.

22PubMed Central. Manuka honey as a multifunctional therapeutic against Helicobacter pylori: from chemical profiling to in vitro potency and in vivo gastroprotective efficacy Other honey varieties also inhibited H. pylori growth in lab settings, though with varying potency.23PubMed Central. The Antibacterial Activity of Honey on Helicobacter Pylori As with most of these foods, lab-dish killing power doesn’t automatically translate to clearing an infection in a living stomach, but honey as part of a broader anti-inflammatory diet is unlikely to hurt and may offer some marginal benefit.

The Capsaicin Puzzle

Spicy food’s reputation in stomach problems usually casts it as the villain, but the research on capsaicin and H. pylori tells a more complex story. Capsaicin, the compound that makes chili peppers hot, inhibits H. pylori growth in lab cultures in a dose-dependent way, killing the bacterium within four hours at effective concentrations and continuing to work even at moderately acidic pH levels.

24PubMed. Capsaicin as an inhibitor of the growth of the gastric pathogen Helicobacter pylori

In cell studies, capsaicin also suppressed the inflammatory cascade that H. pylori triggers in stomach lining cells, significantly reducing production of the inflammatory signal IL-8 and blocking the activation of the NF-kB pathway, a central driver of H. pylori-related inflammation.

25PubMed. Anti-inflammatory effect of capsaicin in Helicobacter pylori-infected gastric epithelial cells An animal study confirmed these effects in living mice: capsaicin reduced inflammatory cytokine expression and gastric damage during active H. pylori infection.26PubMed Central. Capsaicin Inhibits Inflammation and Gastric Damage during H pylori Infection by Targeting NF-kB-miRNA Axis

That said, if you already have gastritis or ulcers, eating very spicy food can still trigger pain, even if capsaicin itself isn’t making the infection worse biologically. The research suggests capsaicin is protective against H. pylori on a molecular level, but the sensation of burning in an inflamed stomach is real, and comfort matters when you’re trying to eat well during treatment.

Probiotics and Fermented Foods

Probiotics don’t eradicate H. pylori on their own, but they’re one of the most evidence-supported dietary additions during treatment. An umbrella review of multiple meta-analyses found that adding probiotics to standard antibiotic therapy improved eradication rates by about 10% and cut the risk of side effects like diarrhea and nausea roughly in half.

27Scientific Reports. The effects of probiotics supplementation on Helicobacter pylori standard treatment: an umbrella review of systematic reviews with meta-analyses

The benefit has been demonstrated specifically alongside bismuth-based quadruple therapy, one of the most common treatment regimens. A meta-analysis found that adding probiotics to this regimen significantly improved eradication odds, with Saccharomyces boulardii (a yeast probiotic) and multi-strain formulas both showing benefit. Diarrhea, the most common side effect of H. pylori treatment, dropped substantially in the probiotic groups.

28PubMed. The impact of probiotics on Helicobacter pylori eradication with bismuth quadruple therapy: A systematic review and meta-analysis

Fermented dairy products show promise as a food-based way to get these organisms. Certain Bifidobacterium strains found in yogurt demonstrated direct suppressive effects on H. pylori in lab co-culture experiments, though not all probiotic strains performed equally.

29The American Journal of Clinical Nutrition. Effects of ingesting Lactobacillus- and Bifidobacterium-containing yogurt in subjects with colonized Helicobacter pylori More broadly, fermented milk-based preparations and bovine lactoferrin both show a beneficial trend in H. pylori eradication when reviewed across multiple studies.30PubMed Central. Efficacy of fermented milk and whey proteins in Helicobacter pylori eradication: a review Traditional fermented foods like kimchi, kefir, sauerkraut, and kombucha introduce live microbes to the gut, and several of the Lactobacillus and Saccharomyces strains they carry are known probiotics with anti-H. pylori properties.31PubMed Central. Fermented Foods: Are They Tasty Medicines for Helicobacter pylori Associated Peptic Ulcer and Gastric Cancer?

One small trial compared Lactobacillus reuteri alone against standard triple therapy and found eradication rates of about 65% and 74%, respectively, with no statistically significant difference between the two groups.

32PubMed Central. Lactobacillus reuteri versus triple therapy for the eradication of Helicobacter pylori in functional dyspepsia That’s an intriguing result, but it was a small study and should not be taken as evidence that yogurt can replace antibiotics. The strongest recommendation from the research is to use probiotics alongside medical treatment, not instead of it.

Vitamin C and the Prevention Angle

Vitamin C has a curious dual role. Higher levels of vitamin C in gastric juice appear to create an environment that’s less hospitable to H. pylori, and people with H. pylori infection tend to have lower vitamin C concentrations in their stomach fluid. A review of the literature concluded that vitamin C’s main value is likely preventive rather than curative, potentially by inactivating urease, the enzyme H. pylori depends on to survive in stomach acid.

33PubMed Central. Vitamin-C as anti-Helicobacter pylori agent: More prophylactic than curative- Critical review

One clinical trial did find that four weeks of high-dose vitamin C treatment cleared the infection in about 30% of treated patients, with gastric juice vitamin C levels rising significantly during treatment.

34PubMed. Effects of high dose vitamin C treatment on Helicobacter pylori infection and total vitamin C concentration in gastric juice That’s not reliable enough to replace antibiotics, but it reinforces the case for eating plenty of vitamin C-rich foods (citrus, bell peppers, strawberries, broccoli) as part of an overall strategy. A diet rich in fruits and vegetables may help maintain gastric vitamin C levels and create a less welcoming environment for the bacterium, especially before infection takes hold or during treatment.

The same dietary-pattern study from China that flagged high-salt diets also found that people with the highest scores for a “grains-and-vegetables” eating pattern had about 18% lower odds of H. pylori infection.

7Wolters Kluwer Health. Dietary patterns and Helicobacter pylori infection in a group of Chinese adults ages between 45 and 59 years old

Alcohol and H. Pylori

The relationship between alcohol and H. pylori is counterintuitive. Several epidemiological studies have found that moderate drinkers are slightly less likely to be infected. A large German national survey found a clear inverse dose-response relationship: compared to non-drinkers, people consuming more than about two standard drinks per day had roughly 29% lower odds of H. pylori infection after adjusting for potential confounders.

35PubMed. Alcohol consumption and Helicobacter pylori infection: results from the German National Health and Nutrition Survey

A British study found that modest wine consumption (about three to six glasses per week) was associated with roughly an 11% lower risk of infection, with a similar reduction seen for moderate beer intake.

36PubMed. Inverse relationship between alcohol consumption and active Helicobacter pylori infection: the Bristol Helicobacter project The hypothesis is that alcohol may help the body’s natural processes clear the bacterium in some people.

Before you reach for a celebratory glass of wine, consider the limits of this evidence. These are observational studies that can’t prove cause and effect. An older study found no overall effect of alcohol on H. pylori risk, and younger adults who drank actually trended toward higher infection odds, though the finding wasn’t statistically significant.

37PubMed. Effect of alcohol consumption on the risk of Helicobacter pylori infection Alcohol also irritates the stomach lining and can worsen gastritis symptoms regardless of what it does to the bacteria. If you’re in the middle of H. pylori treatment, your doctor will likely tell you to avoid alcohol anyway because of interactions with the antibiotics.

Food as a Transmission Route

One angle people often miss is that food can actually deliver H. pylori to you in the first place. The bacterium has been detected in raw vegetables, milk, and meat products, typically through contaminated water used for irrigation or unhygienic processing conditions.

38PubMed Central. Role of food in environmental transmission of Helicobacter pylori

Vegetables irrigated with contaminated water are a particular concern. One study detected H. pylori in multiple types of vegetables and salads, and the association between infection and consumption of raw vegetables provided indirect evidence that irrigation water serves as a vehicle for transmission. Animal manure used as fertilizer adds another pathway, since H. pylori has been isolated from cow feces and soil samples.

39PubMed Central. Detection of Helicobacter pylori in Various Types of Vegetables and Salads

Contaminated water has been reviewed as a broader reservoir for the bacterium. Any surface that contacts contaminated water, including harvested produce, can potentially carry H. pylori to a new host.

40Journal of Advanced Research. Contaminated water as a source of Helicobacter pylori infection: A review This doesn’t mean you should stop eating salads. Thorough washing of raw produce with clean water and peeling where practical reduces the risk substantially. In regions where water quality is a concern, this is especially worth keeping in mind.