Foods to Avoid for Stomach Ulcers

DetoxWater Editorial Team•Published November 5, 2026

Alcohol, spicy foods, and coffee are three common things to avoid or limit with stomach ulcers, especially if they worsen symptoms. Alcohol is best avoided while an ulcer heals; other restrictions depend on what you tolerate. Food choices may help manage discomfort, but they do not replace treatment for the ulcer. For drink choices, see the best drinks for stomach ulcers.

Which 7 foods and drinks should you limit with stomach ulcers?

The ai symptom analyzer may help you organize symptoms to discuss with a clinician, but it cannot diagnose an ulcer or rule out bleeding.

These seven categories are practical things to consider, not a proven ranking of foods that cause stomach ulcers. Apart from avoiding alcohol during healing, you generally do not need to remove a food if it does not bother you.

1. Alcohol

Alcohol can irritate the stomach lining and may make upper abdominal discomfort worse. Avoid it while a stomach ulcer is healing, and ask your clinician whether it is safe to resume later, particularly if you take medicines that interact with alcohol.

A 2024 review of duodenal ulcer treatments lists drinking among possible contributing factors. That review concerns duodenal ulcers, not specifically stomach ulcers, and does not establish how much alcohol causes or worsens an individual stomach ulcer. If you drink heavily or may be dependent on alcohol, ask for medical help before stopping abruptly, because withdrawal can be dangerous.

2. Spicy foods

Chiles and heavily spiced dishes can activate pain-sensitive nerves and cause burning or discomfort in some people. If they worsen your symptoms, choose milder preparations while your stomach ulcer is being evaluated or treated. You can use herbs or other seasonings that you tolerate instead.

There is no established amount of spice that everyone with a stomach ulcer must avoid. The available evidence does not show that eliminating spicy foods heals stomach ulcers, and a burning sensation after a meal does not by itself prove that the ulcer has worsened. If a food is comfortable for you, a blanket ban is not necessarily helpful.

3. Coffee

Coffee can stimulate stomach acid production and may bring on upper abdominal discomfort or heartburn in some people. If you notice symptoms after coffee, try avoiding it or choosing a smaller serving and see whether that makes a difference. Some people also react to decaffeinated coffee, so removing caffeine does not guarantee that symptoms will disappear.

The duodenal-ulcer review above mentions coffee as a possible contributing factor, but it does not prove that coffee causes stomach ulcers or that avoiding it heals them. There is no evidence-based serving size that works for everyone with a stomach ulcer; tolerance and your clinician's advice should guide your choice.

4. Citrus fruit and juice

Oranges, grapefruit, lemons, and their juices are acidic and can trigger burning or reflux-like symptoms in some people. That does not mean their acidity necessarily damages a stomach ulcer. If citrus causes discomfort, try a noncitrus fruit that you tolerate instead, and avoid forcing yourself to eat or drink citrus for its perceived health benefits.

There is no good evidence that everyone with a stomach ulcer needs to avoid citrus, or that removing it speeds ulcer healing. If it does not cause symptoms, you may not need to restrict it. Mention persistent pain to a clinician rather than assuming citrus is the cause.

5. Tomatoes and tomato-based foods

Tomatoes and tomato-based sauces can be acidic and may bring on heartburn or indigestion for some people. If a tomato-based meal consistently bothers you, try a sauce made from foods you tolerate or use a smaller amount. A reaction may also relate to other ingredients in the dish, such as chiles or a high-fat preparation.

Evidence is limited for a specific effect of tomatoes on stomach-ulcer healing. Having discomfort after a tomato-based food is a reason to adjust that food, not proof that it caused the ulcer. You do not have to avoid tomatoes solely because you have a stomach ulcer if you tolerate them.

6. Fried and high-fat foods

Fried foods and very fatty meals can leave some people feeling uncomfortably full and may aggravate indigestion. Fat can slow stomach emptying, although symptoms after a meal are not a reliable way to tell whether a stomach ulcer is healing. If these foods bother you, try baked or simply prepared versions and a smaller portion.

There is no established fat limit specifically for healing stomach ulcers in the evidence provided. Avoiding a particular fried food may make eating more comfortable, but it is not a substitute for ulcer treatment. Keep enough variety in your meals rather than cutting out every source of fat.

7. Chocolate

Chocolate can contribute to reflux symptoms or indigestion in some people, although many people tolerate it. If it reliably causes burning or discomfort, limit it or leave it out temporarily. A small serving may be comfortable for one person and bothersome for another; there is no proven ulcer-specific portion limit.

Evidence that chocolate itself causes stomach ulcers or prevents them from healing is limited. Its effect on symptoms can also be difficult to separate from other foods eaten at the same time. If you can eat it without discomfort, there is no clear reason to remove it solely because of a stomach ulcer.

What foods can you eat instead?

Choose a varied diet of foods you tolerate. Plain oats, rice, potatoes, eggs, lean proteins, and cooked vegetables are examples of options that some people find comfortable. They are not proven cures for stomach ulcers, and you do not need to eat only bland food if other foods agree with you.

Preparation matters: a baked or simply cooked meal may be easier to tolerate than the same food fried or served with a spicy sauce. Eat enough to maintain your usual nutrition, and ask a clinician or dietitian for help if pain or restrictions make it hard to eat adequately.

How should you limit foods that trigger symptoms?

Start with the foods or drinks you have actually noticed causing discomfort rather than removing all seven categories. A food-and-symptom diary can help you describe patterns to your clinician. Record what you ate and what you felt, but remember that symptoms alone cannot confirm the cause or severity of an ulcer.

If a food seems to be a trigger, you can leave it out while symptoms settle and discuss whether to try it again with your clinician. Avoid alcohol while the ulcer heals. Seek advice if you are losing weight, cannot maintain a varied diet, or find that your list of avoided foods keeps growing.

When should you get medical help for stomach ulcers?

Get emergency care immediately if you vomit blood or material that looks like coffee grounds, pass black tarry stools, have sudden severe or persistent abdominal pain, or feel faint or collapse. These can be signs of bleeding or another serious complication. Do not wait to see whether changing your diet helps.

Arrange a medical assessment if you think you have a stomach ulcer or have ongoing upper abdominal pain, vomiting, difficulty eating, or unexplained weight loss. Clinicians may test for Helicobacter pylori infection and consider endoscopy when appropriate. Treatment commonly includes acid-suppressing medicine; an H. pylori infection also requires antibiotics, followed by testing to confirm that the infection has cleared.

Tell your clinician about all medicines you take, especially nonsteroidal anti-inflammatory drugs such as ibuprofen, naproxen, and aspirin, which can contribute to ulcers. Do not stop prescribed aspirin or another prescribed medicine without medical advice. Pregnant people and children with suspected stomach ulcers should receive individual medical assessment rather than relying on dietary changes.

Try the free tool

Ai Symptom Analyzer →

Frequently asked questions

Can milk heal a stomach ulcer?

Milk is not a proven treatment for stomach ulcers. It may feel soothing to some people, but it does not replace testing and treatment for the underlying cause.

Do stomach ulcers always cause pain?

No. Some stomach ulcers cause few or no symptoms and may first become apparent through a complication such as bleeding.

Can a stomach ulcer come back after treatment?

Yes. An ulcer can return, particularly if its underlying cause has not been addressed. Follow-up testing after treatment for H. pylori helps confirm that the infection has cleared.

Sources

  1. Comprehensive insights on treatment modalities with conventional and herbal drugs for the treatment of duodenal ulcers. Naunyn-Schmiedeberg's archives of pharmacology (2024). PubMed 38837070