- Menu

Site navigation

25 May, 2026
15min read

Stomach Ulcer Diet: What to Eat and What to Avoid (An Evidence-Based Guide)

Stomach Ulcer Diet: What to Eat and What to Avoid (An Evidence-Based Guide)

Stomach ulcers (peptic ulcers) affect roughly 5–10% of people at some point in their lives. In high-income countries, rates have steadily dropped — largely because doctors have gotten better at treating the main culprit, Helicobacter pylori, a bacterium that lives in the stomach and erodes its lining. That’s according to the World Gastroenterology Organisation.

But here’s what most people miss: once you’ve started medication, food is the second engine of recovery. What lands on your plate decides whether the ulcer heals in two weeks or keeps coming back. A well-built diet doesn’t replace treatment — it creates the conditions where the lining can actually rebuild instead of getting irritated all over again.

The 6 Core Principles of a Stomach Ulcer Diet

Principle 1: Mechanical Sparing — Protecting the Lining

An ulcer is an open wound in the stomach’s mucous lining. Anything coarse, fibrous, or hard physically scrapes that spot like sandpaper on a fresh scrape. During an active flare, all food should be served pureed, mashed, or thoroughly soft-cooked. Mechanical irritants to skip during flare-ups: raw vegetables with tough fiber (cabbage, radish, bell peppers), nuts, seeds, whole-grain bread with bran.

In remission, you slowly relax these rules — but crispy fried crusts, meat sinew, fish bones, and fruit pits should stay off the menu long-term.

Principle 2: Chemical Sparing — Controlling Acid

Stomach acid normally helps digestion. With an ulcer, it eats away at already-damaged tissue. Avoid anything that triggers an acid surge: rich meat, fish, or mushroom broths; coffee; strong black tea; cocoa; sour juices; hot spices; vinegar marinades; smoked meats.

Lean instead on “buffer” foods that don’t spike acid: dairy (if you tolerate lactose), oatmeal and other porridges, cooked vegetables, white bread, lean meats.

About milk: Milk does briefly neutralize stomach acid — but only for 30–60 minutes. After that, your stomach pumps out more acid than before. The old “drink some milk to settle your stomach” advice is like throwing gasoline on a fire — quick relief, bigger problem.

Principle 3: Thermal Sparing — Mind the Temperature

Hot food (above 140°F / 60°C) burns the lining and inflames it further. Cold food (below 59°F / 15°C) makes the small blood vessels in the stomach wall clamp shut — the same reaction your hands have when you plunge them into ice water. Blood flow to the ulcer drops, healing slows, and pain often follows.

Aim for body temperature: roughly 86–113°F (30–45°C). That means no soup straight off the stove, no ice cream, and no ice water on an empty stomach.

Principle 4: Eat Small, Eat Often

Aim for 5–6 small meals a day, each around 7–10 oz (200–300 g). Here’s why: an empty stomach secretes acid into a void, with nothing to do but attack the ulcer. But oversized meals stretch the stomach like an overstuffed bag, prompt more acid production, and push food back up the esophagus — that’s heartburn.

Sweet spot: 2.5–3 hours between meals. Final meal: 2–3 hours before bed, no later.

Principle 5: Get Enough Protein

Protein is the raw material your stomach lining uses to rebuild. Studies show ulcers heal noticeably faster when protein intake is adequate. Target: 1.0–1.2 g of protein per kg of body weight (about 0.45–0.55 g per pound).

For a 155-lb (70-kg) adult, that’s roughly 70–85 g of protein per day. On a plate, that looks like: one egg at breakfast + 4 oz of chicken breast at lunch + a serving of cottage cheese at dinner — done.

Best sources: lean poultry, fish, soft-boiled or steamed eggs, low-fat cottage cheese. Skip fatty meats and legumes (beans, lentils, chickpeas) during flare-ups — they take too long to digest and ferment in the gut, causing gas, bloating, and pressure on the stomach.

Principle 6: How You Cook Matters

OK: boiling, steaming, baking covered (foil-wrapped, no crust), light stewing with minimal fat.

Not OK during flare-ups: frying of any kind (oil, dry pan, deep-frying), grilling with a charred crust, smoking, marinating in vinegar or hot spices.

In remission, baking and light stewing in oil are fine — but a hard browned crust should stay off the table.

What to Eat and What to Avoid: Two Tables

✅ Foods to Eat

GroupExamplesWhy It HelpsPortion Notes
PorridgesOatmeal, rice, cream of wheat, well-cooked buckwheatSoft, coats the lining, slow-release carbs~1 cup, water or 50/50 with milk
Lean meatChicken breast, turkey, lean vealEasy-to-digest protein, minimal fat4 oz boiled/steamed/baked
FishCod, pollock, tilapia, sole, troutProtein + omega-3, gentle on lining4–5 oz, skinless and boneless
EggsSoft-boiled, steamed omeletHigh-quality protein, soft texture1–2 per day
Cooked vegetablesPotato, carrot, zucchini, cauliflower, butternut squash, broccoliSoftened fiber, minerals~1 cup, steamed/boiled/stewed
FruitsBaked apples, bananas, ripe peeled pearsSoft texture, no harsh acids1–2 per day
DairyLow-fat kefir, low-fat cottage cheese (1–2% milkfat), ryazhenka (fermented baked milk, similar to drinkable yogurt), milk (if tolerated)Protein + calcium, mild buffering~¾ cup
BreadDay-old white bread, plain crackers, Melba toastWon’t irritate, easy to digest3–5 oz per day
DrinksStill water, weak tea, rosehip tea, weak cocoa with milkHydration without irritation50–67 fl oz total fluids
FatsButter, refined sunflower oil, olive oilFat-soluble vitamins, smooth textures1 tbsp per day

🚫 Foods to Avoid

Food / GroupWhyRestrictionSwap For
Alcohol (all types)Directly damages the lining, spikes acid, interferes with medication❌ AbsoluteWater, rosehip tea, weak tea
Coffee, strong teaPush stomach to produce more acid❌ During flareChicory coffee (moderate), weak green tea
Hot spices (cayenne, mustard, horseradish, chili, hot sauce)Irritate the lining, intensify pain❌ Absolute during flareFresh dill, parsley, basil (moderate)
Citrus, sour berriesAcids irritate the ulcer❌ All flaresBaked apple, banana, pear
Tomatoes, tomato pasteHigh acidity, trigger pain⚠️ LimitZucchini, squash, carrot
Rich broths (beef, fish, mushroom)Strong acid stimulator❌ During flareLight vegetable broths, second-pour chicken broth
Fried, smoked, pickled foodsIrritation + heavy digestion + chemical irritants❌ All flaresSteamed, boiled, baked
Whole-grain or fresh-baked breadCoarse fiber + fermentation⚠️ LimitDay-old white bread, Melba toast
Beans, lentils, chickpeasGas, hard to digest⚠️ During flareLean meat, fish, eggs
Raw cabbage, radish, onion, garlicCoarse fiber + irritating essential oils❌ During flareCooked zucchini, carrot, cauliflower
Soda, concentrated juicesStomach distension, acid, sugar❌ During flareStill water, dried-fruit compote
Chocolate, strong cocoaStimulates acid, caffeine⚠️ LimitMarshmallows, jelly candies, baked apple
Fatty meats (pork belly, lamb, goose)Slow digestion, inflammation❌ During flareChicken breast, turkey, lean veal
Mayo, ketchup, hot saucesAcids, vinegar, spices, fat❌ During flarePlain Greek yogurt, light sour cream–based sauce

⚠️ Important: The strict restrictions above apply during a flare-up (the first 2–3 weeks). Once you’re in stable remission, your doctor will usually expand the menu gradually — reintroducing “limit” foods in small portions while you watch for symptoms.

What the Research Actually Says

Does Diet Affect Ulcer Healing?

Until the 1980s, the rigid bland diet was considered the foundation of ulcer treatment. That changed when Marshall and Warren proved that the real culprit behind most ulcers is Helicobacter pylori — work that won them the 2005 Nobel Prize in Medicine. Modern treatment looks completely different: antibiotics to eradicate the bacteria, plus acid-suppressing medications called proton pump inhibitors (PPIs) — drugs like omeprazole.

Research published in Gastroenterology and Alimentary Pharmacology & Therapeutics makes the picture clear: diet alone won’t cure an ulcer, but diet substantially affects how fast it heals and how often it comes back. A 2019 review in Nutrients found that patients on a stomach-sparing diet healed about 5–10 days faster on average and had roughly half the rate of recurrence over a year.

Milk: Does It Help or Hurt?

The classic “drink milk for ulcers” advice rests on milk’s short-term acid-buffering effect. But back in 1986, a study in the American Journal of Clinical Nutrition showed that 30–60 minutes after a glass of milk, the stomach pumps out 20–30% more acid than before drinking it. It’s like eating candy when you’re hungry: one minute of relief, then you’re hungrier than before. Doctors call this acid rebound.

Current guidelines from the American College of Gastroenterology and the American Gastroenterological Association don’t recommend milk as pain relief, but they do allow 1–2 cups per day as part of a regular diet — provided you’re not lactose intolerant.

Spices and Hot Foods: Truly the Enemy?

Here’s where it gets interesting. Capsaicin — the compound that makes chili peppers hot — actually performs surprisingly in lab studies. A 2006 meta-review in Critical Reviews in Food Science and Nutrition found that in tiny doses, capsaicin may even protect the stomach lining. In clinical practice, though, spicy foods trigger pain in over 80% of patients with active ulcers, which is why they’re cut completely during flare-ups — regardless of theoretical benefits.

H. pylori and Food

Researchers have identified several foods that may help suppress H. pylori: broccoli (which contains sulforaphane, a natural compound that inhibits the bacterium), cranberries, green tea, Manuka honey (a specialty honey from New Zealand with enhanced antibacterial properties), and probiotics. These don’t replace antibiotics — they assist the medication treatment your doctor prescribes to eradicate the bacteria.

Caveat: During active flares, cranberries and concentrated green tea are off-limits because of their acidity. Add them only once the flare-up has calmed down.

Daily Nutrient Targets for People with Peptic Ulcers

NutrientTarget for adults with ulcersWhyNotes
Protein1.0–1.2 g per kg body weight (≈0.45–0.55 g/lb)Lining regeneration, collagen synthesisUp to 1.5 g/kg in severe cases
Fat70–90 g per dayFat-soluble vitamins, energyMostly plant + dairy sources
Carbs350–400 g per dayPrimary energy sourceComplex (oats, vegetables); minimal simple sugars
Calories2,500–2,800 kcalPrevent muscle breakdownLower with obesity
Sodium≤2,000 mg per day (≈1 tsp salt)Less fluid retention, less lining swellingWHO and FDA: ≤2,300 mg for all adults
Water50–67 fl oz per day (≈8 cups)Hydration, stomach emptyingSeparate from meals — 30 min before or 1 hr after
Fiber25–30 g per day (in remission)Bowel regularityDuring flare: soft, cooked only
Vitamin C90 mg (men) / 75 mg (women)Collagen synthesis, healingNot from citrus — baked apple, broccoli
Zinc11 mg (men) / 8 mg (women)Lining repairMeat, fish, eggs
Iron8 mg (men) / 18 mg (women)Anemia prevention (possible with bleeding)Meat = best bioavailability

These targets reflect recommendations from the FDA, USDA Dietary Guidelines, and NIH Office of Dietary Supplements, adjusted for people with gastric disease.

Sample 7-Day Meal Plan (Remission Stage)

Monday

MealTimeDishNotes
Breakfast8:00 AMOatmeal cooked in water with banana, rosehip teaWarm, not hot
Mid-morning10:30 AMBaked apple with 1 tsp honeySoft fiber
Lunch1:00 PMCauliflower puree soup, steamed turkey patty, mashed potatoesNo crust
Afternoon4:00 PMPlain crackers + low-fat cottage cheeseSmall portion
Dinner7:00 PMSteamed cod with zucchini, white rice2–3 hrs before bed
Optional snack9:00 PMCup of low-fat kefirIf needed

Tuesday

MealTimeDishNotes
Breakfast8:00 AMSteamed 2-egg omelet, white toast (toasted), weak teaNo browning
Mid-morning10:30 AMOat kissel (warm, lightly thickened oat drink)Coats the lining
Lunch1:00 PMVegetable broth with turkey meatballs, buckwheatLight broth
Afternoon4:00 PMBaked cottage cheese pudding (no browned top)Cover with foil
Dinner7:00 PMCod fillet with stewed carrotsSteamed
Optional snack9:00 PM5 oz ryazhenka or buttermilkIf needed

Wednesday

MealTimeDishNotes
Breakfast8:00 AMCream of wheat with milk and butter, weak teaEasy on sugar
Mid-morning10:30 AMBanana, rosehip teaGentle fruit
Lunch1:00 PMPotato-carrot soup, steamed chicken patty, zucchini pureeSoft consistency
Afternoon4:00 PMPlain crackers + dried-fruit compoteNon-sour compote
Dinner7:00 PMFoil-baked turkey with riceNo spices
Optional snack9:00 PM5 oz kefirIf needed

Thursday – Sunday

Rotate through the Monday–Wednesday dishes, keeping the structure: porridge or eggs in the morning, soup + protein + side at lunch, lean protein + vegetables at dinner. Cycle through approved fish and lean meats for variety — cod, pollock, tilapia, chicken, turkey, lean veal.

⚠️ This meal plan is a starting point. Exact calories, foods, and portions should be calibrated by a physician or registered dietitian based on disease stage, body weight, activity level, and any co-existing conditions (acid reflux, pancreatitis, gallstones).

When Diet Alone Isn’t Enough

ConditionKey FeatureWhat to Do Instead of General Advice
Stomach bleeding (black stools, dark coffee-ground vomit)EmergencyCall 911 / go to ER. Fast 24–48 hrs, then medical guidance only
Perforation (hole through stomach wall)Surgical emergencyDiet doesn’t apply — immediate surgery
Gastric outlet obstructionStomach can’t empty, vomitingSpecialized soft-food protocol + surgical evaluation
Type 2 diabetesBlood sugar controlAdjust carb portions with your endocrinologist
Chronic pancreatitisEven stricter fat limitsMinimal fat — no sour cream, even low-fat
Pregnancy + ulcerCombined OB-GYN + GI careDiet with carefully controlled acid management
Children (under 18)Pediatric ulcers are differentOnly under a pediatric gastroenterologist’s plan
Dairy allergyReplace calcium + protein sourcesCalcium from broccoli, sardines, fortified plant milks

If any of the above applies to you, don’t start an internet “ulcer diet” on your own. Get evaluated before a complication — not after.

Who Benefits Most From an Ulcer-Smart Diet

Patients with confirmed H. pylori infection

A targeted diet boosts the effectiveness of the antibiotics. Probiotic-rich fermented dairy reduces antibiotic side effects (especially the diarrhea that’s common during treatment), while broccoli, cranberries (once you’re out of flare), and weak green tea apply additional pressure on the bacteria.

People with frequent recurrences

If your ulcer comes back 1–2 times a year, check two things: Is H. pylori still active? And are you regularly taking over-the-counter painkillers? NSAIDs — ibuprofen (Advil, Motrin), naproxen (Aleve), and aspirin — eat away at the stomach lining when used long-term. Also look at your habits: skipped meals, late-night snacking, daily coffee, and alcohol all bring ulcers back. A steady 5–6-meal schedule lowers recurrence risk significantly.

Smokers

Ulcers are about twice as common in smokers, and they take roughly twice as long to heal. To put it plainly: what heals in 4 weeks for a non-smoker can take 8 weeks for a smoker. Until smoking stops, diet becomes the main offset — and even then, treatment is less effective overall.

Older adults (65+)

The stomach lining regenerates more slowly with age — like skin that takes longer to heal after 60. In older adults, ulcers are often “silent”: minimal pain, sneaky onset, sometimes only discovered when bleeding or another complication shows up. Adequate protein (1.0–1.2 g/kg) and B vitamins become especially important.

Post-surgery patients

After a partial gastrectomy (removal of part of the stomach) or repair of a perforation, a separate post-operative eating plan applies — first liquids, then semi-liquids, then soft solids, gradually working back to regular food over weeks. The recommendations in this article don’t cover that phase. Follow your surgeon’s individualized protocol.

Common Myths About Stomach Ulcer Diets

Drink lots of milk to soothe an ulcer.

Where it comes from: milk does neutralize acid for 20–30 minutes, so the immediate relief feels real.

What actually happens: 30–60 minutes later, the calcium and protein in milk trigger a bigger acid release — pushing acidity above baseline. That’s the acid rebound. Chugging milk “for your stomach” can make things worse, not better. The allowable amount is 1–2 cups per day as part of regular meals — not as therapy.

A raw egg on an empty stomach heals ulcers.

Where it comes from: egg white does coat the lining. The remedy is cheap and feels intuitive.

Reality: Raw eggs carry a real salmonella risk — much more dangerous when your stomach lining is already compromised. Raw egg protein is also absorbed about 50% less efficiently than cooked. Current gastroenterology protocols recommend only soft-boiled or steamed-omelet eggs. Want the soothing-coating effect? Oat kissel does it better.

You have to eat pureed food forever once you have an ulcer.

Where it comes from: the rigid mid-20th-century “bland diet,” which positioned mechanical sparing as the foundation of treatment. Many patients stay scared of normal food even after the ulcer has fully healed.

The modern approach: strict sparing applies only during active flare-ups (2–3 weeks). After that, the diet gradually expands. Within 3–6 months of stable remission — assuming H. pylori has been eradicated — most patients return to balanced, normal eating with mild restrictions (no excess spicy food, no fried food, no alcohol). A permanent restrictive diet is only necessary in specific cases: frequent recurrence, persistent H. pylori, or ongoing use of ulcer-causing medications (sometimes called ulcerogenic drugs — long-term NSAIDs, certain arthritis medications, oral corticosteroids).

Potato juice cures stomach ulcers.

Where it comes from: a popular folk remedy — drink fresh-squeezed potato juice on an empty stomach.

What’s actually there: Potato juice contains starch (which does create a thin coating film) and small amounts of solanine, a natural compound with mild antimicrobial activity. Some lab studies (Journal of Ethnopharmacology) have shown weak effects in test tubes. However, there is no clinical evidence that potato juice cures ulcers in humans. Without two things, an ulcer won’t reliably heal: antibiotics (if H. pylori is present) and acid-suppressing drugs (PPIs like omeprazole and pantoprazole, also called antisecretory medications). No vegetable on the plate replaces the treatment that eradicates the bacteria.

The Bottom Line

A stomach ulcer diet isn’t a lifelong sentence or a magic healing formula — it’s a tool that works alongside medication. The core principles: mechanical, chemical, and thermal sparing during flare-ups; 5–6 small meals daily; adequate protein to rebuild the lining; no alcohol, coffee, hot spices, or fried food at least during treatment. The more carefully you stick to these in the first 2–3 weeks, the faster the ulcer heals — and the lower the chance it comes back.

Your next move: book an appointment with a gastroenterologist and get tested for H. pylori. There are three ways to do it: the urea breath test (you breathe into a tube), a stool antigen test (which looks for traces of the bacteria), or upper endoscopy with biopsy (EGD — a thin scope is passed through the mouth to take a tiny sample of the stomach lining). Then build your plan with your doctor, results in hand. Template recommendations are a starting point, never the final word — especially with co-existing conditions like diabetes, pancreatitis, or acid reflux.

If you already know your diagnosis and just need practical orientation, use the two food tables in this article as your grocery list and meal-planning cheat sheet. A stomach ulcer diet, built thoughtfully, shortens recovery and restores quality of life — without pain, and without fear of every meal.

Questions & answers

Can I drink coffee with a stomach ulcer once I'm in remission?

In stable remission (at least 3 months after healing), 1 cup of weak coffee per day is generally OK — taken with food, never on an empty stomach. Coffee with milk is gentler than espresso. If heartburn or pain returns — even mildly — stop. Instant coffee tends to irritate the lining more than brewed. Decaf is sometimes better tolerated, but it still contains compounds that stimulate acid secretion.

Is honey OK for ulcers?

Yes — 1–2 teaspoons per day is allowed. Studies in the Journal of Medicinal Food and research on Manuka honey show modest antibacterial activity against H. pylori. The best timing: stir honey into a glass of warm (not hot) water and drink 30 minutes before a meal, which can reduce reflexive acid release. Avoid honey with diabetes, bee-product allergies, or when it’s baked into pastries and candies.

How long does a stomach ulcer diet last?

The strict bland phase: 2–3 weeks from start of treatment or symptom onset. The modified phase (no fried, no spicy, no alcohol, limited coffee): at least 3–6 months after the ulcer heals. With uncomplicated H. pylori–associated ulcers successfully treated with antibiotics, most people return to normal balanced eating after 6 months of stable remission, with only minor permanent restrictions. With frequent recurrence or chronic disease, dietary discipline becomes a longer-term commitment.

Can I eat bananas and apples?

Bananas: yes, in any phase. They’re soft, non-acidic, contain pectin (which coats the lining), and provide potassium. 1–2 per day is normal.

Apples: baked only during a flare-up. Raw apples contain malic acid and tough peel fiber. Baked apples — particularly sweet varieties like Honeycrisp, Gala, Fuji, or Golden Delicious — are allowed from day one and tolerated by nearly everyone.

What about sauerkraut, kefir, and yogurt?

Sauerkraut: no during flare-ups (lactic acid + coarse fiber irritate). In stable remission, small portions (½ cup) are OK — without vinegar or hot spices.

Low-fat kefir (1%): yes, at every stage.

Plain yogurt (no added sugar): yes. Greek yogurt with high protein content is especially helpful. Skip yogurts with fruit chunks, sour berries, or artificial flavors.

Can I try intermittent fasting with a stomach ulcer?

No — full stop. Intermittent fasting, therapeutic fasting, and any extended periods without food are contraindicated with peptic ulcer disease. An empty stomach secretes acid into a void — straight onto the ulcer. Skipping meals is one of the most common triggers of flare-ups in people with diagnosed ulcers. 5–6 small meals daily is the foundation, not optional.

What if I have an ulcer and a dairy allergy?

This works fine — you can build a complete plan without dairy. Protein: poultry, fish, eggs. Calcium: broccoli, cauliflower, canned sardines (packed in water), sesame seeds, fortified plant milks (oat, almond — unsweetened). Kefir alternatives: coconut or soy-based kefir. Cottage cheese alternatives: silken tofu in baked dishes. Work with a registered dietitian to calculate your daily calcium and protein targets.

Medical Disclaimer

This article is for informational purposes only and does not constitute medical advice. Before making any significant changes to your diet or if you have chronic health conditions, please consult a physician or a certified dietitian.

How we created this article

We adhere to strict editorial standards to ensure
that every fact is verified by experts.

25/05/2026
ORIGIN
ARTICLE CREATION
Collection of primary data and writing of the basic manuscript.
- Account

Personal cabinet

Join IamChef

Save your favorite recipes, create meal plans, and share your own dishes.

what you get
Saved recipes
Your favorite dishes collection in one tap
Shopping lists
Automatically from chosen recipes
Personal Calories/Macros allowance
Diets tailored to your goal