Following an Ulcer Diet

What to eat and what to avoid to manage symptoms

Peptic ulcers are caused by longterm use of certain medications, as well as the bacterium helicobacter pylori (H. pylori), an infection that requires treatment with antibiotics. However, following an ulcer diet can help reduce the pain and irritation associated with these sores on the lining of the stomach, esophagus, or small intestine.

Some foods, like berries and grapes, help repair damaged tissue, while alcohol and spicy foods, for example, irritate the digestive tract's natural layer of protection and can worsen ulcers.

This article will explain which foods to eat and which to avoid if you have a stomach ulcer.

What to Eat When You Have an Ulcer

 Verywell / JRBee

What Is an Ulcer Diet?

An ulcer diet is an eating plan designed to bring relief from peptic ulcer symptoms, prevent flares, and prevent more ulcers from developing in the future.

It is designed to:

  • Correct nutritional deficiencies that contribute to your symptoms
  • Provide the protein and other nutrients your body needs to heal
  • Help you avoid foods that irritate the ulcer
  • Help with related conditions like Crohn's disease, celiac disease, or bacterial infections

An ulcer diet should be followed along with any other treatment recommendations from your healthcare provider.

Many peptic ulcers are caused by long-term use of nonsteroidal anti-inflammatory drugs (NSAIDs), which can damage your digestive tract lining. Others are caused by H. pylori. An ulcer diet adds foods with antibacterial effects and compounds that boost healing in both cases.

A 2021 review of medicinal plants published in the Journal of Drug Delivery & Therapeutics looked at a range of natural remedies including polyphenols. Polyphenols are a type of antioxidant found in many plant foods that can be used to manage peptic ulcers.

Some polyphenols help to heal stomach lining ulcers faster, while others have antibacterial effects and help kill H. pylori. Polyphenols in green tea may calm inflammation and help to strengthen the tissue that lines the stomach.

Foods to Eat and Avoid When You Have an Ulcer

Choose These Foods
  • Fruits

  • Vegetables

  • Legumes

  • Lean meats like skinless poultry and lean beef

  • Fish and seafood

  • Eggs

  • Whole soy foods like tofu or tempeh

  • Fermented dairy foods like kefir or yogurt

  • Healthy fats like olive oil, avocados, and nuts

  • Whole and cracked grains

  • Green tea

  • Herbs and spices (mild; fresh or dried)

Avoid These Foods
  • Alcohol

  • Coffee (regular, decaf)

  • Caffeinated foods and drinks

  • Milk or cream

  • Fatty meats

  • Fried or high-fat foods

  • Heavily spiced foods

  • Salty foods

  • Citrus fruits and juices

  • Tomatoes/tomato products

  • Chocolate

Best Choices

Fruits: Any fresh or frozen fruits contain helpful fiber and antioxidants. Berries, apples, grapes, and pomegranates are among the best choices for healing polyphenols. If citrus fruits or juices like orange or grapefruit trigger reflux, avoid them.

Vegetables: Leafy greens, bright red and orange vegetables, and cruciferous vegetables (like broccoli, cauliflower, and kale) are packed with vitamins and antioxidants that are especially good for your overall health and healing. Avoid spicy peppers and tomatoes, or products made with them if they give you reflux. Limit raw vegetables because they are harder to digest.

Lean proteins: Skinless poultry, lean beef like sirloin or tenderloin, fish, eggs, tofu, tempeh, dry beans, and peas are excellent sources of low-fat protein. Fatty fish like salmon, mackerel, and sardines provide omega-3 fats, which can reduce inflammation and may be helpful in preventing another ulcer.

Fermented dairy: Products like kefir and Greek yogurt provide probiotics (helpful bacteria) along with protein, so they're good choices.

Breads and grains: Whole grain breads, and whole or cracked grains like oats, quinoa, farro, millet, or sorghum are good sources of fiber to include in your diet.

Herbs and spices: Hot, spicy foods are usually avoided on an ulcer diet, but a review of studies on food and H. pylori found that some spices added for flavor also help kill the bacteria. You can freely use most mild herbs and spices because they're sources of antioxidants. Best bets include turmeric, cinnamon, ginger, and garlic, which have antimicrobial and anti-inflammatory properties.

Honey: For a sweetener, try to use honey instead of sugar. There's evidence that some types of honey, including a rare oregano honey grown in Greece, kill H. pylori and other bacteria. However, this has only been tested in a lab setting and not on humans, therefore it is not known if oregano honey can effectively kill the entire H. pylori infection.

What to Avoid

Alcohol: All alcohol is a stomach irritant and will delay healing. Avoid wine, beer, and spirits.

Caffeine: You should cut back or stop drinking coffee, tea, and caffeinated sodas. They can increase stomach acid production.

Milk: There was a time when milk was used in treating ulcers, but research has found that it increases stomach acid. It's best to avoid it.

Certain meats: Skip any highly seasoned meats, lunch meats, sausages, and fried or fatty meats and proteins.

High-fat foods: Try to avoid large amounts of added fats, which can increase stomach acid and trigger reflux. You may need to avoid gravy, cream soups, and salad dressings, but healthy fats on the list are OK.

Spicy foods: You may want to skip anything that is "hot," such as chili peppers, horseradish, black pepper, and sauces and condiments that contain them.

Salty foods: Researchers have found that salty foods may promote the growth of H. pylori. Pickles, olives, and other brined or fermented vegetables are high in salt and linked to a higher risk of H. pylori ulcers.

Chocolate: Chocolate can increase stomach acid production, and some people find that it triggers reflux symptoms.

How the Ulcer Diet Works

An ulcer diet promotes healing and reduces irritation to the stomach lining and the duodenum, the first part of the small intestine that attaches to the stomach. It also limits excess acid production, which can aggravate an ulcer.

There are no strict rules about which foods to eat, but try to add as many foods as you can from the best choices list above. Avoid foods that make you feel worse or that trigger acid production and reflux.

Eating enough protein is also important. While your ulcer is healing, aim for about 1.2 grams of protein per kilogram of your body weight. That means about 3 ounces of lean poultry or meat per day for a 140-pound person assigned female at birth, and 4 ounces per day for a 200-pound person assigned male at birth.

The rest of your calories should come from a balanced diet that includes whole grains, fruits, and vegetables. More fiber may lower the risk of ulcers, but one Korean study found that high-fiber diets lowered the risk of peptic ulcer disease in women but not men. It's a good idea to ask your healthcare provider about fiber intake.


You should stay on an ulcer diet until your healthcare provider tells you your ulcer is completely healed, and then go back to your normal way of eating.

But if you feel better while on the diet or you have risk factors for ulcers, like smoking, this way of eating may be worth continuing—even if in a modified way.

Recommended Timing

Try to eat five or six small meals each day, rather than three large ones. Stomach acid is produced every time you eat, but large meals require much more of it for digestion, which can be irritating.

Finish eating at least three hours before bedtime, and try to stay upright for a few hours after your last bite for improved digestion and less acid reflux.

Take Your Time

Be gentle on your system while your ulcer is healing by chewing your food well and eating slowly.

Cooking Tips

Stick to lower-fat cooking methods like roasting, braising, and grilling instead of frying. Also, limit your use of butter and oils when you cook, as these can be harder to digest.

Modifying an Ulcer Diet

In some cases, ulcers occur when you have celiac disease or inflammatory bowel diseases. Make sure to stay on any special diet you use to manage those conditions while you're following the ulcer diet.

For celiac disease, that means avoiding grains with gluten, such as wheat, rye, and barley, and taking care to read food labels for sources of hidden gluten.

For inflammatory bowel diseases, this may mean avoiding the milk sugars in lactose-based foods, staying away from carbonated beverages, and choosing lower-fiber foods. Limiting seeds, nuts, beans, and some fruits, and following a low FODMAPS diet is also helpful.


Other factors may come into play when using the ulcer diet, and they could affect your overall health.

General Nutrition

An ulcer diet should not harm your complete nutritional status. As long as you maintain good variety in your diet, you can still get the nutrients you need from other foods when you stop eating the ones that irritate your ulcer.

If you're trying to add more polyphenol-rich foods and fiber to your diet, and you cut back on fatty foods, an ulcer diet may be even more nutritious than your regular diet.


It should be fairly easy to stick with an ulcer diet when you're preparing your own meals at home. It may be harder to stay on track when you're traveling, attending parties, or celebrating holidays. If you can't pass up that glass of wine or piece of chocolate cake, make it a small one.

Energy and Health

With fast food, chips, and alcohol off-limits, you might find that you're eating healthier, feeling better, and maybe even dropping some weight.

Call your healthcare provider if you have stomach pain, nausea, or vomiting that lasts longer than a few days. Ulcers can be serious if they cause internal bleeding. An ulcer diet may help, but your healthcare provider should determine your overall treatment plan.


Foods by themselves don't cause stomach ulcers, and there is more than one possible reason for why you may have them. The foods you choose, though, can make a big difference in how you feel and how quickly they heal.

Medical treatment with antibiotics may be necessary if you have H pylori, the bacterium responsible for some ulcer, but an ulcer diet offers options to improve your overall health and nutrition while reducing your ulcer risk.

Frequently Asked Questions

  • Do spicy foods cause ulcers?

    No, spicy foods do not cause ulcers. However, they may aggravate symptoms.

  • How is an ulcer treated?

    An ulcer is treated with medicines to reduce stomach acid. Further treatment depends on the cause of the ulcer (e.g., H. pylori infection is treated with antibiotics). An ulcer diet can lessen pain or irritation.

  • How do I know if my ulcer is healed?

    A healthcare provider can perform an endoscopy to see if an ulcer is healed. Depending on the cause of the ulcer, a tissue sample may be collected and tested to check for H. pylori or cancer.

10 Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Muni Raja Lakshmi K, Kiran M, Sai Prasanna K. A review on natural plants for phytochemical constituents and pharmacological activitiesJ Drug Delivery Ther. 2021;11(2):232-236. doi: 10.22270/jddt.v11i2.4593

  2. Zaidi SF, Ahmed K, Saeed SA, Khan U, Sugiyama T. Can diet modulate Helicobacter pylori-associated gastric pathogenesis? An evidence-based analysis. Nutrition and Cancer. 2017;69(7):979-89. doi:10.1080/01635581.2017.1359310

  3. Voidarou CC, Rozos G, Alexopoulos A, et al. In vitro screening potential antibacterial properties of the Greek oregano honey against clinical isolates of Helicobacter pylori. Foods. 2021 Jul 6;10(7):1568. doi: 10.3390/foods10071568

  4. Kulshreshtha M, Srivastava G, Singh MP. Pathophysiological status and nutritional therapy of peptic ulcer: An update. Environmental Disease. 2017;2(3):76. doi:10.4103/ed.ed_11_17

  5. National Institutes of Health. Peptic ulcer disease: Discharge.

  6. Dietary Guidelines for Americans. 2020-2025.

  7. Kim J, Kim KH, Lee BJ. Association of peptic ulcer disease with obesity, nutritional components, and blood parameters in the Korean population. Green J, ed. PLoS ONE. 2017;12(8):e0183777. doi: 10.1371/journal.pone.0183777

  8. Altobelli E, Del Negro V, Angeletti P, Latella G. Low-FODMAP diet improves irritable bowel syndrome symptoms: a meta-analysisNutrients. 2017;9(9):940-. doi:10.3390/nu9090940

  9. MedlinePlus. Peptic ulcer.

  10. University of Michigan Health. Peptic ulcer disease - exams and tests.

Additional Reading

By Sharon Gillson
 Sharon Gillson is a writer living with and covering GERD and other digestive issues.