Monitor the health of your community here

Foods Safe to Eat with Stomach Ulcers

Stomach ulcers are sores that form in the lining of your stomach due to erosion of the protective mucus layer. Bacteria called Helicobacter pylori or long-term use of nonsteroidal anti-inflammatory drugs, such as ibuprofen and naproxen, can cause this erosion and expose the lining of your stomach to harmful digestive juices. Although foods do not cause ulcers, certain foods can increase acid production and further irritate your ulcer. Consuming foods that are more ulcer-friendly instead may reduce pain and help your ulcer heal.


Caffeine-free beverages and low-acid juices including apple, grape and pear, are generally safe if you have a stomach ulcer. Drink mild herbal teas and plenty of water. Avoid all caffeinated beverages, including coffee, tea and cocoa, and do not drink alcohol. In addition, avoid all citrus and vegetable juices, which are high in acid.

Proteins and Dairy

Anusitis Diet

Learn More

Eat lean meats, including fish, poultry and seafood, and soy products such as tofu. Avoid high-fat meats such as sausage, salami, bacon and ham, as these foods may increase stomach acids, which can cause pain. When it comes to dairy, choose low-fat or fat-free products, and avoid full-fat varieties. Limit milk to 2 or 3 cups per day, and do not consume large quantities, which may increase stomach acid secretion.

Breads and Starches

Well-tolerated foods include pasta, rice, dry cereal, cooked cereal, bread, crackers and potatoes. Consume dried beans and peas with care, as they can cause you to experience increased gas. Eat gassy foods in small quantities until you know how they affect you. Avoid fried foods, greasy foods such as potato chips and spicy bagels or breads.

Fruits and Vegetables

The Best Food to Eat for a Stomach Ulcer

Learn More

If you have ulcers, eat fruits that are low in acid, such as apples, peaches, pears, grapes, kiwifruit, bananas, berries and melons. Avoid all citrus, as high-acid oranges, grapefruit, tangerines, lemons and limes may increase stomach acids. Consume vegetables that do not cause you pain, discomfort or excess gas. Broccoli, cabbage, cauliflower and brussels sprouts are gassy vegetables to avoid. Also avoid onions, garlic and spicy vegetables such as chili peppers. Tomatoes and tomato-based products are high in acid and may cause pain.

Miscellaneous Foods

Use healthy oils such as olive and canola oil, and avoid butter, lard, margarine and products containing hydrogenated oils and trans fats. Limit your use of spicy condiments such as black pepper, chili powder and red pepper, which often cause heartburn.