stomach ulcer
1 / 12

What Causes Ulcers?

Doctors used to think that certain foods could give you ulcers. But now we know other things cause them, like taking pain-relieving drugs for a long time or infection with bacteria called H. pylori.Although food doesn’t cause or treat ulcers, some can make your pain worse, while others may help you heal faster.

Swipe to advance
2 / 12

Best: Foods With Probiotics

Foods like yogurt, miso, kimchi, sauerkraut, kombucha, and tempeh are rich in “good” bacteria called probiotics. They may help ulcers by fighting an H. pylori infection or by helping treatments work better.

Swipe to advance
oatmeal with apples
3 / 12

Best: Fiber-Rich Foods

Apples, pears, oatmeal, and other foods that are high in fiber are good for ulcers in two ways. Fiber can lower the amount of acid in your stomach while easing bloating and pain. Research has also shown that a diet rich in fiber may help prevent ulcers.

Swipe to advance
baked sliced potato
4 / 12

Best: Sweet Potato

It’s high in vitamin A, and there’s evidence that this nutrient can help shrink stomach ulcers and may also play a role in preventing them. Other foods with a good dose of vitamin A include spinach, carrots, cantaloupe, and beef liver.

Swipe to advance
sliced red peppers
5 / 12

Best: Red Bell Pepper

It’s rich in vitamin C, which can help protect you from ulcers in a number of ways. For one, vitamin C plays an important role in wound healing. People who don’t get enough are also more likely to get ulcers. Get this nutrient in citrus fruits, strawberries, kiwis, and broccoli, too.

Swipe to advance
woman drinking milk
6 / 12

Worst: Milk

Doctors used to tell people to drink milk to treat their ulcers. That was before better remedies, like acid-blocking drugs, came along. Today we know milk can’t help prevent or relieve an ulcer. In fact, it might actually make things worse by prompting your stomach to make more acid.

Swipe to advance
glass of whiskey
7 / 12

Worst: Alcohol

If you’re prone to ulcers or have one now, it’s best to limit alcohol or avoid it altogether. Research has shown that booze irritates and can even damage your digestive tract. It can make ulcers worse.

Swipe to advance
fried chicken
8 / 12

Worst: Fatty Foods

They take longer to digest, which can lead to belly pain and bloating -- bad news if you have an ulcer. If they make your stomach feel worse, take a break from them.

Swipe to advance
thai curry dish
9 / 12

Spicy Foods: It Depends

For a long time, doctors thought spicy food was a major cause of ulcers. We now know this isn’t true. Still, some people find that it makes their symptoms worse. Avoid it if it causes you pain.

Swipe to advance
citrus fruits
10 / 12

Citrus Fruits: It Depends

At first, it would seem to make sense that acidic foods like citrus and tomatoes would aggravate ulcers. But there’s no strong evidence that they have any effect on them. Still, we all have unique reactions to foods, so if acidic ones make your ulcer feel worse, skip them.

Swipe to advance
milk chocolate
11 / 12

Chocolate: It Depends

Chocolate has lots of potential health benefits. But it often causes discomfort for some people who have ulcers. If eating chocolate makes you feel worse, wait to indulge until your ulcer has healed.

Swipe to advance
cup of coffee
12 / 12

Caffeine: Ask Your Doctor

The research is mixed on whether caffeine -- coffee in particular -- makes ulcers feel worse. Yet it’s still common advice to cut it out if you have one. Ask your doctor, but you may not have to give up coffee as long as your symptoms don’t get worse.

Swipe to advance

Up Next

Next Slideshow Title

Sources | Medically Reviewed on 10/12/2018 Reviewed by Carol DerSarkissian on October 12, 2018





National Institute of Diabetes and Digestive and Kidney Diseases: “Definition & Facts for Peptic Ulcers (Stomach Ulcers).”

Mayo Clinic: “Peptic Ulcer,” “Belching, intestinal gas and bloating: Tips for reducing them.”

Current Opinion in Biotechnology: “Health benefits of fermented foods: microbiota and beyond.”

Frontiers in Microbiology: “Fermented Foods: Are They Tasty Medicines for Helicobacter pylori Associated Peptic Ulcer and Gastric Cancer?”

World Journal of Gastrointestinal Pathophysiology: “Use of probiotics in the fight against Helicobacter pylori,” “Consumption of spicy foods and the prevalence of irritable bowel syndrome.”

International Journal of Food Properties: “Probiotics for cure of Helicobacter pylori infection: A review.”

Arquivos Brasileiros de Cirurgia Digestiva (Brazilian Archives of Digestive Surgery): “Nutritional care in peptic ulcer.”

PLoS ONE: “Association of peptic ulcer disease with obesity, nutritional components, and blood parameters in the Korean population,” “No Association of Coffee Consumption with Gastric Ulcer, Duodenal Ulcer, Reflux Esophagitis, and Non-Erosive Reflux Disease: A Cross-Sectional Study of 8,013 Healthy Subjects in Japan.”

Canadian Family Physician: “How diet and lifestyle affect duodenal ulcers. Review of the evidence.”

CDC: “Helicobacter pylori and Peptic Ulcer Disease.”

Crohn’s & Colitis Foundation of America: “Diet, Nutrition, and Inflammatory Bowel Disease.”

Evidence-based Complementary and Alternative Medicine: “Effectiveness of Citrus Fruits on Helicobacter pylori.”

Harvard Medical School: “Peptic Ulcer.”

International Journal of Tissue Reactions: “Cytoprotective effect of vitamin A and its clinical importance in the treatment of patients with chronic gastric ulcer.”

American Journal of Epidemiology: “Prospective study of diet and the risk of duodenal ulcer in men.”

The Journal of Parenteral and Enteral Nutrition: “Prevention of duodenal ulcer formation in the rat by dietary vitamin A supplementation.”

National Institutes of Health: “Vitamin A,” “Vitamin C.”

Johns Hopkins Medicine: “Peptic Ulcers.”

Digestive Diseases and Sciences: “Vitamin C, Gastritis, and Gastric Disease: a historical review and update.”

World Journal of Gastroenterology: “Consumption of spicy foods and the prevalence of irritable bowel syndrome.”

American College of Gastroenterology: “Gastroparesis.”

Reviewed by Carol DerSarkissian on October 12, 2018

This tool does not provide medical advice. See additional information.

THIS TOOL DOES NOT PROVIDE MEDICAL ADVICE. It is intended for general informational purposes only and does not address individual circumstances. It is not a substitute for professional medical advice, diagnosis or treatment and should not be relied on to make decisions about your health. Never ignore professional medical advice in seeking treatment because of something you have read on the WebMD Site. If you think you may have a medical emergency, immediately call your doctor or dial 911.