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.
Table of Contents
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
| Group | Examples | Why It Helps | Portion Notes |
|---|---|---|---|
| Porridges | Oatmeal, rice, cream of wheat, well-cooked buckwheat | Soft, coats the lining, slow-release carbs | ~1 cup, water or 50/50 with milk |
| Lean meat | Chicken breast, turkey, lean veal | Easy-to-digest protein, minimal fat | 4 oz boiled/steamed/baked |
| Fish | Cod, pollock, tilapia, sole, trout | Protein + omega-3, gentle on lining | 4–5 oz, skinless and boneless |
| Eggs | Soft-boiled, steamed omelet | High-quality protein, soft texture | 1–2 per day |
| Cooked vegetables | Potato, carrot, zucchini, cauliflower, butternut squash, broccoli | Softened fiber, minerals | ~1 cup, steamed/boiled/stewed |
| Fruits | Baked apples, bananas, ripe peeled pears | Soft texture, no harsh acids | 1–2 per day |
| Dairy | Low-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 |
| Bread | Day-old white bread, plain crackers, Melba toast | Won’t irritate, easy to digest | 3–5 oz per day |
| Drinks | Still water, weak tea, rosehip tea, weak cocoa with milk | Hydration without irritation | 50–67 fl oz total fluids |
| Fats | Butter, refined sunflower oil, olive oil | Fat-soluble vitamins, smooth textures | 1 tbsp per day |
🚫 Foods to Avoid
| Food / Group | Why | Restriction | Swap For |
|---|---|---|---|
| Alcohol (all types) | Directly damages the lining, spikes acid, interferes with medication | ❌ Absolute | Water, rosehip tea, weak tea |
| Coffee, strong tea | Push stomach to produce more acid | ❌ During flare | Chicory coffee (moderate), weak green tea |
| Hot spices (cayenne, mustard, horseradish, chili, hot sauce) | Irritate the lining, intensify pain | ❌ Absolute during flare | Fresh dill, parsley, basil (moderate) |
| Citrus, sour berries | Acids irritate the ulcer | ❌ All flares | Baked apple, banana, pear |
| Tomatoes, tomato paste | High acidity, trigger pain | ⚠️ Limit | Zucchini, squash, carrot |
| Rich broths (beef, fish, mushroom) | Strong acid stimulator | ❌ During flare | Light vegetable broths, second-pour chicken broth |
| Fried, smoked, pickled foods | Irritation + heavy digestion + chemical irritants | ❌ All flares | Steamed, boiled, baked |
| Whole-grain or fresh-baked bread | Coarse fiber + fermentation | ⚠️ Limit | Day-old white bread, Melba toast |
| Beans, lentils, chickpeas | Gas, hard to digest | ⚠️ During flare | Lean meat, fish, eggs |
| Raw cabbage, radish, onion, garlic | Coarse fiber + irritating essential oils | ❌ During flare | Cooked zucchini, carrot, cauliflower |
| Soda, concentrated juices | Stomach distension, acid, sugar | ❌ During flare | Still water, dried-fruit compote |
| Chocolate, strong cocoa | Stimulates acid, caffeine | ⚠️ Limit | Marshmallows, jelly candies, baked apple |
| Fatty meats (pork belly, lamb, goose) | Slow digestion, inflammation | ❌ During flare | Chicken breast, turkey, lean veal |
| Mayo, ketchup, hot sauces | Acids, vinegar, spices, fat | ❌ During flare | Plain 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
| Nutrient | Target for adults with ulcers | Why | Notes |
|---|---|---|---|
| Protein | 1.0–1.2 g per kg body weight (≈0.45–0.55 g/lb) | Lining regeneration, collagen synthesis | Up to 1.5 g/kg in severe cases |
| Fat | 70–90 g per day | Fat-soluble vitamins, energy | Mostly plant + dairy sources |
| Carbs | 350–400 g per day | Primary energy source | Complex (oats, vegetables); minimal simple sugars |
| Calories | 2,500–2,800 kcal | Prevent muscle breakdown | Lower with obesity |
| Sodium | ≤2,000 mg per day (≈1 tsp salt) | Less fluid retention, less lining swelling | WHO and FDA: ≤2,300 mg for all adults |
| Water | 50–67 fl oz per day (≈8 cups) | Hydration, stomach emptying | Separate from meals — 30 min before or 1 hr after |
| Fiber | 25–30 g per day (in remission) | Bowel regularity | During flare: soft, cooked only |
| Vitamin C | 90 mg (men) / 75 mg (women) | Collagen synthesis, healing | Not from citrus — baked apple, broccoli |
| Zinc | 11 mg (men) / 8 mg (women) | Lining repair | Meat, fish, eggs |
| Iron | 8 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
| Meal | Time | Dish | Notes |
|---|---|---|---|
| Breakfast | 8:00 AM | Oatmeal cooked in water with banana, rosehip tea | Warm, not hot |
| Mid-morning | 10:30 AM | Baked apple with 1 tsp honey | Soft fiber |
| Lunch | 1:00 PM | Cauliflower puree soup, steamed turkey patty, mashed potatoes | No crust |
| Afternoon | 4:00 PM | Plain crackers + low-fat cottage cheese | Small portion |
| Dinner | 7:00 PM | Steamed cod with zucchini, white rice | 2–3 hrs before bed |
| Optional snack | 9:00 PM | Cup of low-fat kefir | If needed |
Tuesday
| Meal | Time | Dish | Notes |
|---|---|---|---|
| Breakfast | 8:00 AM | Steamed 2-egg omelet, white toast (toasted), weak tea | No browning |
| Mid-morning | 10:30 AM | Oat kissel (warm, lightly thickened oat drink) | Coats the lining |
| Lunch | 1:00 PM | Vegetable broth with turkey meatballs, buckwheat | Light broth |
| Afternoon | 4:00 PM | Baked cottage cheese pudding (no browned top) | Cover with foil |
| Dinner | 7:00 PM | Cod fillet with stewed carrots | Steamed |
| Optional snack | 9:00 PM | 5 oz ryazhenka or buttermilk | If needed |
Wednesday
| Meal | Time | Dish | Notes |
|---|---|---|---|
| Breakfast | 8:00 AM | Cream of wheat with milk and butter, weak tea | Easy on sugar |
| Mid-morning | 10:30 AM | Banana, rosehip tea | Gentle fruit |
| Lunch | 1:00 PM | Potato-carrot soup, steamed chicken patty, zucchini puree | Soft consistency |
| Afternoon | 4:00 PM | Plain crackers + dried-fruit compote | Non-sour compote |
| Dinner | 7:00 PM | Foil-baked turkey with rice | No spices |
| Optional snack | 9:00 PM | 5 oz kefir | If 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
| Condition | Key Feature | What to Do Instead of General Advice |
|---|---|---|
| Stomach bleeding (black stools, dark coffee-ground vomit) | Emergency | Call 911 / go to ER. Fast 24–48 hrs, then medical guidance only |
| Perforation (hole through stomach wall) | Surgical emergency | Diet doesn’t apply — immediate surgery |
| Gastric outlet obstruction | Stomach can’t empty, vomiting | Specialized soft-food protocol + surgical evaluation |
| Type 2 diabetes | Blood sugar control | Adjust carb portions with your endocrinologist |
| Chronic pancreatitis | Even stricter fat limits | Minimal fat — no sour cream, even low-fat |
| Pregnancy + ulcer | Combined OB-GYN + GI care | Diet with carefully controlled acid management |
| Children (under 18) | Pediatric ulcers are different | Only under a pediatric gastroenterologist’s plan |
| Dairy allergy | Replace calcium + protein sources | Calcium 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.
