The foods to avoid fall into four main categories: low-fiber grains; spicy foods; pickled foods; and coffee, caffeine and carbonated drinks. Writing for SFGate, nutritionist August McLaughlin says avoiding certain foods may help prevent or minimize symptoms of H. pylori infection.
Refined grains, such as white flour, should be avoided, according to McLaughlin. Fiber-rich whole grains, however, reduce the risk of developing an ulcer. An individual suffering from H. pylori should replace refined-grain products in his diet, such as instant rice, pretzels and egg noodles, with whole-grain equivalents, such as brown rice and oatmeal.
Spicy foods, such as jalapeño and cayenne peppers, salsa, Asian curries, miso paste and spicy mustard, may worsen symptoms and should be avoided. McLaughlin recommends replacing hot peppers with fruits and vegetables.
Coffee, soft drinks and mineral water may increase the body's production of stomach acid, raising ulcer risk. Caffeine can also worsen ulcer symptoms, says McLaughlin. Water, low-fat milk and herbal tea are better drink choices.
McLaughlin cites a study in the "Journal of the American College of Nutrition" that suggests high intake of pickled foods increases the risk of gastric risk. An individual prone to H. pylori infections should limit his intake of pickled foods, such as pickles, herring and kimchi, and eat fresh vegetables instead.