Foods to Eat and Avoid with Stomach Ulcer: A Dietary Guide

Most people with a peptic ulcer do not need a bland diet. Food does not cause most ulcers, and changing your diet will not cure one. The main causes are Helicobacter pylori (H. pylori) infection and nonsteroidal anti-inflammatory drugs (NSAIDs), such as ibuprofen. Treatment focuses on addressing the cause, usually with prescribed medicine. Diet may help manage symptoms while you recover.
What to eat
Choose foods you tolerate that provide enough nutrition. There is no single ulcer diet that works for everyone. Many people can eat their usual foods; others find that certain foods cause discomfort.
Options that may suit you include:
- Lean proteins: fish, eggs, tofu, and skinless poultry.
- Grains and starchy foods: oats, rice, potatoes, bread, and other grains.
- Fruits and vegetables: fresh or cooked, depending on what feels comfortable.
- Dairy foods: milk, yogurt, and other dairy products are fine for many people. If they cause symptoms, choose an alternative.
- Fats: moderate portions of oils, nuts, or avocado, if high-fat meals bother you.
A varied diet can help you meet your nutritional needs. You do not need to avoid a food just because it appears on a general list of possible triggers. Keep eating foods you tolerate, and adjust your diet if you notice a clear connection with symptoms.
Smaller meals may feel more comfortable than large ones for some people. Eat at a pace that suits you, and avoid lying down soon after a meal if that tends to bring on reflux or discomfort. These are comfort measures, not ulcer treatments.
Foods and drinks that may worsen symptoms
People’s triggers differ. Some find that the following bring on or worsen pain, nausea, indigestion, or reflux:
- Spicy foods
- Coffee, strong tea, and other caffeinated drinks
- Alcohol
- Acidic foods, such as citrus or tomatoes
- Fried or high-fat meals
- Carbonated drinks
These foods do not cause peptic ulcers, and you do not need to avoid them unless they affect you. If a food seems to trigger symptoms, reduce it or leave it out for a while. You can try it again later to see whether the pattern holds. Avoid cutting out many foods at once, since that can make it harder to tell what is affecting you and narrow your diet unnecessarily.
Smoking, pain relievers, and ulcer treatment
Smoking can interfere with ulcer healing. If you smoke, ask a health professional about support to stop.
NSAIDs can damage the stomach lining and contribute to ulcers. If you have an ulcer or suspect you might, ask your clinician whether you should stop or change an NSAID. Do not stop prescribed low-dose aspirin or another prescribed medicine without medical advice. The Mayo Clinic notes that acetaminophen may be an alternative for some people, but check with a clinician or pharmacist before changing pain medicine.
If tests show H. pylori, you will need the treatment prescribed to clear the infection. Take antibiotics and acid-reducing medicines as directed, and contact your clinician or pharmacist if you have questions about timing or side effects. Diet cannot replace this treatment. The American College of Gastroenterology and the National Institute of Diabetes and Digestive and Kidney Diseases provide further information about peptic ulcers and their treatment.
One example of adjusting your diet
Suppose coffee seems to bring on discomfort. You could switch to a non-caffeinated drink for a short time and note whether your symptoms change. If they improve, try coffee again later. If the discomfort returns, limiting coffee may help you feel better. This approach can help you identify your own triggers without adopting a strict diet. It does not show whether an ulcer has healed or replace medical treatment.
When to seek medical care
Contact a health professional if you have ongoing stomach pain or symptoms that do not improve with prescribed treatment. Do not keep adding food restrictions in place of getting assessed.
Seek urgent care for vomiting blood or material that looks like coffee grounds, black or tarry stools, or sudden severe abdominal pain. These symptoms can indicate a serious complication. The NIDDK lists bleeding and perforation among the complications of peptic ulcers.
Key Takeaways
- Ulcer treatment addresses the cause, often H. pylori infection or NSAID use. Food changes cannot cure an ulcer.
- Eat a varied diet with foods you tolerate. A bland diet is not required for everyone.
- Spicy, acidic, caffeinated, alcoholic, carbonated, or high-fat foods may worsen symptoms for some people. Avoid only the items that affect you.
- Ask a clinician before stopping prescribed aspirin or changing pain medicine.
- Seek urgent care for vomiting blood, black or tarry stools, or sudden severe abdominal pain.