What to Eat to Heal an Ulcer: Best and Worst Foods

No food heals an ulcer by itself. The healing comes from treating the cause, usually with acid-reducing medicine, antibiotics for an infection, or stopping certain painkillers. What you eat can make that treatment a little more effective and the weeks of healing more comfortable. And some of the most repeated diet rules, like soothing an ulcer with milk or banning chili, turn out to be wrong or backwards.

What Your Diet Can and Can’t Do for an Ulcer

An ulcer forms when acid, digestive enzymes and irritating drugs overpower the stomach lining’s protective mucus and repair systems.1PubMed Central. Nutritional care in peptic ulcer A healthy stomach normally withstands strong acid, alcohol, bile and very hot or cold foods, and it repairs small damage quickly.2PubMed. Prostaglandins, NSAIDs, and gastric mucosal protection: why doesn’t the stomach digest itself? So most ulcers need something that weakens those defenses.

That something is rarely food. Most ulcers come from H. pylori, a bacterium that lives in the stomach lining, or from regular use of NSAIDs, painkillers like ibuprofen, naproxen and aspirin.3PubMed Central. Circadian Rhythms in Gastroenterology: The Biological Clock’s Impact on Gut Health NSAIDs block natural messengers that run nearly every part of the stomach’s protection, which is why they make injury more likely.2PubMed. Prostaglandins, NSAIDs, and gastric mucosal protection: why doesn’t the stomach digest itself? Diet can tip the balance at the margins while medicine removes the cause.

That’s also why there is no single “ulcer diet” anymore. Bland diets were once standard, but they didn’t speed healing once modern treatment arrived. Today most doctors suggest a normal balanced diet minus any foods that personally cause you pain.

Acid-reducing pills are usually taken for several weeks while the ulcer closes. H. pylori is treated with a combination of antibiotics and an acid reducer, and finishing the full course matters more than any food choice. A follow-up test often confirms the infection is gone.

Best Foods, Fiber, Fruits, Vegetables and Broccoli Sprouts

Fiber is linked to fewer duodenal ulcers. Over 6 years, people eating the most fiber had about 45% lower risk than those eating the least.4Physicians Committee for Responsible Medicine. Gastritis and Peptic Ulcer Disease Soluble fiber from oats, beans, lentils, barley and some fruits and vegetables was linked to about 60% lower risk.4Physicians Committee for Responsible Medicine. Gastritis and Peptic Ulcer Disease But adding wheat bran didn’t stop ulcers coming back, and high-fiber diets didn’t speed healing.4Physicians Committee for Responsible Medicine. Gastritis and Peptic Ulcer Disease

To get more of it without upsetting a sore stomach, start with oatmeal, cooked beans or lentils, and soft fruits like bananas and pears. Raise the amount gradually to avoid gas and bloating, and drink water alongside it. Cooked vegetables are often gentler than a large raw salad.

Flavonoids, natural compounds in fruit, vegetables, tea and herbs, act as antioxidants that limit damage to the stomach lining in lab and animal studies.5PubMed Central. Preventative and Therapeutic Potential of Flavonoids in Peptic Ulcers6PubMed Central. A Review of the Role of Flavonoids in Peptic Ulcer (2010–2020) They can also boost the body’s own protective enzymes, and some slow H. pylori in lab tests.6PubMed Central. A Review of the Role of Flavonoids in Peptic Ulcer (2010–2020) Berries, apples, onions, citrus and leafy greens are sensible choices if they don’t cause you pain.

Broccoli sprouts have early human evidence. Eating them daily for 2 months lowered H. pylori levels and signs of stomach inflammation in infected people.7PubMed. Dietary sulforaphane-rich broccoli sprouts reduce colonization and attenuate gastritis in Helicobacter pylori-infected mice and humans But in a small group, sprouts cleared the infection in only 3 of 9 people.8PubMed. Oral broccoli sprouts for the treatment of Helicobacter pylori infection: a preliminary report They are no replacement for antibiotics.

Sprouts are far richer in the active compound than mature broccoli, so a small handful added daily to sandwiches, salads or smoothies is a practical way to eat them. Buy them from the refrigerated section, eat them fresh, and rinse them well, though rinsing doesn’t remove all germs, so people with weakened immunity should skip raw sprouts.

Yogurt, Kefir and Fermented Foods During H. pylori Treatment

Probiotics are live helpful bacteria such as Lactobacillus and Bifidobacterium. Taken with H. pylori antibiotics, they improve clearance by roughly 10%.9PubMed Central. Fermented Foods: Are They Tasty Medicines for Helicobacter pylori Associated Peptic Ulcer and Gastric Cancer? They also cut treatment side effects such as diarrhea and nausea by about 15%.9PubMed Central. Fermented Foods: Are They Tasty Medicines for Helicobacter pylori Associated Peptic Ulcer and Gastric Cancer? Fermented milk products specifically raise clearance by about 5 to 15%.10PubMed. Effect of fermented milk-based probiotic preparations on Helicobacter pylori eradication: a systematic review and meta-analysis of randomized-controlled trials These bacteria can make it harder for H. pylori to stick to the lining and lower its activity.11PubMed. Fermented Foods and Their Abating Role in Gastric Ulcers

To get the benefit, the product has to contain living bacteria. Look for “live and active cultures” on yogurt or kefir labels, since heat-treated or shelf-stable products may have none. Plain or low-sugar versions are the better pick, and kefir usually holds more types of bacteria than yogurt.

Eat them daily throughout the antibiotic course and for a while after. Spacing them a couple of hours from antibiotic doses is a common practical habit.

If your ulcer came from painkillers and you have no infection, the evidence for yogurt or kefir clearing anything doesn’t apply, though they can still be part of a normal diet. A breath, stool or biopsy test is what tells you whether H. pylori treatment, and therefore this advice, is relevant to you.

Honey, Cabbage Juice and Zinc Supplements

Some honeys, including Manuka, kill H. pylori in lab dishes about as well as standard drugs.12PubMed Central. The Antibacterial Activity of Honey on Helicobacter Pylori13PubMed Central. Manuka honey as a multifunctional therapeutic against Helicobacter pylori: from chemical profiling to in vitro potency and in vivo gastroprotective efficacy That doesn’t show honey eaten by mouth clears an infection in people. Honey doesn’t interfere with common ulcer antibiotics, though, so a spoonful alongside treatment is fine.12PubMed Central. The Antibacterial Activity of Honey on Helicobacter Pylori

Cabbage juice rests on old reports. In the 1950s, ulcers in people drinking fresh raw cabbage juice appeared to heal in about 7 to 10 days versus about 5 to 6 weeks for standard care then.14PubMed Central. Rapid healing of peptic ulcers in patients receiving fresh cabbage juice Those reports involved small groups and compared against older treatments, before modern acid medicine existed.14PubMed Central. Rapid healing of peptic ulcers in patients receiving fresh cabbage juice Cabbage is a fine vegetable but not a cure.

Zinc-carnosine, a supplement combining zinc with an amino acid compound, appears safe and helps protect and repair the stomach lining.15PubMed Central. A Review of Zinc-L-Carnosine and Its Positive Effects on Oral Mucositis, Taste Disorders, and Gastrointestinal Disorders It is an approved ulcer treatment in Japan.15PubMed Central. A Review of Zinc-L-Carnosine and Its Positive Effects on Oral Mucositis, Taste Disorders, and Gastrointestinal Disorders Ask your doctor before adding it, since zinc can interact with some medicines.

Worst Foods, Alcohol and Heavy Fried Meals

Heavy drinking breaks down the stomach’s protective barrier, can cause bleeding injuries and drives inflammation.16PubMed Central. Amelioration of Alcohol Induced Gastric Ulcers Through the Administration of Lactobacillus plantarum APSulloc 331261 Isolated From Green Tea It also disrupts the balance of gut bacteria.16PubMed Central. Amelioration of Alcohol Induced Gastric Ulcers Through the Administration of Lactobacillus plantarum APSulloc 331261 Isolated From Green Tea Avoid alcohol until the ulcer heals and keep it light afterwards.

Smoking belongs in the same conversation. It slows ulcer healing and raises the chance an ulcer returns, so quitting during treatment is one of the most useful changes you can make.

Fried food lingers. A fried meal took about 5 hours to leave the stomach versus under 4 hours for the same meal not fried.17PubMed. Gastric emptying of solids is markedly delayed when meals are fried It also left people feeling full and bloated in the upper belly for longer.17PubMed. Gastric emptying of solids is markedly delayed when meals are fried Fat slows stomach emptying and can trigger post-meal fullness in people with sensitive stomachs.18PubMed Central. Dietary fat intake and functional dyspepsia Bake, grill, steam or boil instead of frying.

Simple swaps help: oven-baked potatoes instead of fries, and grilled chicken or fish instead of breaded and fried. Choose lean cuts, go easy on butter and cream sauces, and spread smaller portions of rich dishes across the day.

Milk, Coffee, Spicy Food and Citrus, Myth vs Reality

A cup of whole, low-fat or skim milk raises stomach acid in people with duodenal ulcers, because milk’s protein and calcium both trigger acid release.19PubMed. The effect of various forms of milk on gastric-acid secretion: Studies in patients with duodenal ulcer and normal subjects Cold milk briefly dilutes acid, which is why it seems to calm burning pain, but the protein and calcium then prompt more acid release, and the burning can return an hour or two later. Enjoy milk in normal amounts, not as a remedy.

Coffee doesn’t cause ulcers. Most studies find no link between coffee and ulcer risk, and decaf and other caffeine drinks show no link to duodenal ulcers either.20PubMed Central. Effects of Coffee on the Gastro-Intestinal Tract: A Narrative Review and Literature Update Coffee does increase acid release, though.21PubMed. Coffee and gastrointestinal function: facts and fiction. A review If it makes your pain worse, cut back; otherwise it needn’t go.

Chili may help rather than hurt. The compound that gives chili its heat reduces acid and boosts protective mucus and blood flow to the lining.22PubMed. Capsaicin and gastric ulcers Chili is not the ulcer cause it’s thought to be, though very spicy food can still sting a sore stomach.

Citrus and tomato bother some people. Coffee, orange juice and tomato drinks triggered pain in acid-sensitive people even with the acid removed.23Gastroenterology. Food sensitivity in reflux esophagitis That points to individual sensitivity, so a short food diary can help you spot your own triggers.

To test a suspect food, remove it for a week, then reintroduce it and note any pain within a few hours of eating it. Change one food at a time.

If You Take Ibuprofen or Aspirin

Food may add a little protection. Nitrate, found in beets, spinach, lettuce and other leafy greens, strongly reduced painkiller-caused stomach damage in rats.24PubMed. Protection from nonsteroidal anti-inflammatory drug (NSAID)-induced gastric ulcers by dietary nitrate Nitrate helps the stomach make nitric oxide and more protective mucus.24PubMed. Protection from nonsteroidal anti-inflammatory drug (NSAID)-induced gastric ulcers by dietary nitrate2PubMed. Prostaglandins, NSAIDs, and gastric mucosal protection: why doesn’t the stomach digest itself? Walnuts also helped rescue the gut lining from painkiller damage in animal studies.25PubMed. Dietary walnut as food factor to rescue from NSAID-induced gastrointestinal mucosal damages These are animal findings, though, and won’t offset regular painkiller use.

The conversation with your doctor matters more. Ask whether acetaminophen (paracetamol) could replace an NSAID, since it spares the stomach. If you must keep taking an NSAID, ask about an acid-reducing pill, and take it with food at the lowest effective dose. Never stop prescribed low-dose aspirin for the heart without advice.

NSAIDs also hide in other products. Many cold, flu and headache remedies contain ibuprofen or aspirin, so check labels. Combining two products can double the dose without you realizing it.

Meal Timing, Sleep and Stress

Stomach acid peaks between about 10 pm and 2 am.26ChronoPhysiology and Therapy. Circadian rhythm and sleep influences on digestive physiology and disorders Finishing dinner two to three hours before bed avoids adding food-triggered acid at that peak.

Shift workers have a higher risk of stomach ulcers, possibly because disrupted body clocks may weaken the stomach’s protective function at certain times.3PubMed Central. Circadian Rhythms in Gastroenterology: The Biological Clock’s Impact on Gut Health Stress can thin the protective mucus layer and change gut movement.27PubMed Central. Relationship between stress, diet, and gut microbiota: a cross-sectional study It also raises gut pain sensitivity, so ulcer pain can feel worse on hard days.28GI Associates. Gut and Mental Health: The Connection Every Patient Should Understand

Regular, moderate meals suit a healing stomach better than one huge one, and long empty stretches followed by overeating are best avoided. Keep sleep times consistent where possible.

When Stomach Pain Needs a Doctor, Not a Diet Change

  • Black, tarry or bloody stools can signal a bleeding ulcer.
  • Vomiting blood or material that looks like coffee grounds needs emergency care.
  • Sudden sharp belly pain that won’t ease can mean a perforation.
  • Dizziness, fainting or unexplained weight loss need prompt checking.

Symptoms that continue after the medicine course may mean the infection survived, and a retest for H. pylori can check. Some ulcers need a repeat camera exam to confirm healing.