Stomach Ulcer Diet: Foods to Eat and Avoid

If you’re like a lot of people, you probably spend some time every day wondering what to eat. This question can be made more complex if you’re dealing with a digestive health issue, such as stomach ulcers. Finding the best stomach ulcer diet may take a little bit of effort.

Olivia Vaughn, a registered dietitian at the Ohio State University Wexner Medical Center who specializes in nutrition for gastroenterology, says “stomach or peptic ulcers are open sores on the lining of the stomach that can cause stomach pain or stomach upset,” and can lead to internal bleeding.

Dr. Kaunteya Reddy, a gastroenterologist and medical director at the Redlands Community Hospital in Redlands, California, explains that “the stomach wall is made up of three layers, and a defect in any or all of these layers results in an ulcer.” He compares it to “a sore in your mouth, but instead it’s in the stomach lining.”

As with any wound, you need to be careful how you handle it; eating the right foods can help you control stomach ulcer symptoms and may even promote healing. Dr. Alaa Abousaif, a gastroenterologist and internal medicine specialist with Providence St. Joseph Hospital Orange in California, says that because “an ulcer is an open sore in the stomach, you need to avoid anything that will irritate this.”

[READ: 10 Reasons Your Stomach May Be Hurting.]

What Causes Ulcers?

Dr. Robert Lerrigo, a gastroenterologist with Santa Clara Valley Medical Center in California, says there are “many different causes of stomach ulcers.”

The most common causes of stomach ulcers are:

Helicobacter pylori infection. “Infection with the bacteria H. pylori can directly cause inflammation in the stomach and increase acid production,” Lerrigo says. About 80% to 90% of stomach ulcers are caused by this bacterium, according to studies over several decades.

NSAIDs. Frequent or excessive use of nonsteroidal, anti-inflammatory drugs such as aspirin, ibuprofen and naproxen “can impair the mucous lining of the stomach, leaving it susceptible to damage from stomach acid,” Lerrigo says. Using these medications in combination with steroids also increases your risk of stomach ulcers, Reddy says.

Tumors and other diseases. Less common causes of ulcers include tumors that increase acid production in the stomach and stomach cancer, which can “erode into the stomach, creating large ulcers,” Lerrigo says.

Stomach Ulcer Complications

No matter the cause of your stomach ulcers, healing them is important, not just to alleviate the pain and discomfort they can cause, but also for your long-term health. Left untreated, a stomach ulcer can turn into a serious problem. Complications may include:

Bleeding. A broken blood vessel can cause bleeding into the stomach. This may show up as dark or bloody stools.

Obstruction. Obstructions or blockages can develop that prevent food from moving through the digestive tract properly.

Perforations. When the ulcer creates a hole in the stomach wall, this is called a perforation, which is a very serious condition that allows digestive juices and food to leak into the abdominal cavity. This can lead to a potentially life-threatening infection.

Peritonitis. This infection of the lining of the abdominal cavity can also become a serious issue.

Surgery may be required to address these complications, according to the National Institute of Diabetes and Digestive and Kidney Diseases.

[See: The Best Plant-Based Diets.]

Stomach Ulcer Treatments

Stomach ulcer treatment often includes medications to help control symptoms and speed healing of ulcers. For example, if your stomach ulcer is caused by H. pylori, you’ll likely be prescribed an antibiotic to clear up that infection. Many people are also prescribed acid-reducing medications that tamp down the level of acid produced in the stomach that can create new ulcers or worsen an existing ulcer.

Stopping use of NSAIDs is also a common recommendation for people with stomach ulcers, particularly if these medications are believed to have caused the problem.

Dietary Changes

In addition, your doctor may recommend making some dietary shifts to alleviate symptoms of stomach ulcers and support healing. But what exactly should be on the menu may end up being something of an individual question based on what tends to trigger symptoms for you.

“There is no specific diet that is recommended by the American Gastroenterological Association or American College of Gastroenterology to promote stomach ulcer healing,” Lerrigo says. “There have been several international studies suggesting certain foods may be helpful, but without larger trials in humans, one cannot definitively say for sure.”

[READ: Gastric Ulcer vs. Peptic Ulcer: What’s the Difference?]

Foods and Drinks to Avoid

While a generally healthy diet is considered best in supporting people with stomach ulcers, there tends to be a somewhat clearer list of foods to avoid.

“Although certain foods and beverages can cause stomach upset or increased production of stomach acid, there is no good evidence that they cause or worsen ulcers,” Vaughn says. Nevertheless, “these foods may increase secretions of stomach acid, causing irritation of the stomach, or directly irritate the stomach wall.”

Dr. Thomas R. Kelley, a family medicine physician with Orlando Health in Florida, says when talking about the best diet for stomach ulcers and which foods to eliminate, “everybody jumps right to spicy food. But what’s interesting about that is that’s not always the case. You have to see how it affects you; if spicy food bothers your stomach, avoid that particular food. But it’s not necessarily completely off the menu, so to speak, for folks if they have a history of ulcers.”

In essence, finding the best diet for a stomach ulcer comes down to knowing what works and what doesn’t for your body. That said, commonly avoided foods and beverages include:


— Acidic foods like pineapple.

Citrus fruits.

— Spicy foods.

— Fatty or greasy foods.

— Pepper, including black pepper and other types of peppers.

Caffeine, including caffeinated sodas.

— Carbonated beverages.

Tea, including black and green varieties that contain tannins that can increase production of stomach acid.

Coffee (including decaf).

— Peppermint.

— Spearmint.


— Carbonated beverages.

— Raw vegetables or salads.


Reddy notes that while avoiding chocolate, coffee and citrus fruits “were thought to help reduce symptoms, there’s no scientific data to recommend this practice.” However, some individuals find that eliminating these foods can reduce symptoms.

This is because not everyone who has a stomach ulcer has problems with any or all of the foods listed above. Your own personal list of foods to include or avoid on a stomach ulcer diet will be “dependent on the person,” Vaughn says, “so consider testing foods in small amounts or a short trial of elimination to see what irritates you.”

Finding What’s Best for You

Following an elimination diet for a while to determine exactly which foods cause you the most difficulty can help you dial in the right way of eating for you. “Once you know what foods cause irritation (if any), continue to eat well-balanced, smaller and more frequent meals,” Vaughn says.

In fact, moving away from eating three large meals a day to eating smaller meals every three hours is a key component of managing stomach ulcer symptoms for many people. An empty or hungry stomach is an acidic stomach, and when people with ulcers go too long without eating, that can aggravate symptoms.

It’s important that you continue to cover all your nutritional bases — eliminating certain foods could set you up for certain nutrient deficiencies if you’re not including enough other foods that contain those nutrients. For example, “make sure to include a protein-containing food at each meal,” Vaughn says.

Reddy says that “a balanced diet with fruits and vegetables helps prevent stomach ulcers,” but if you’ve already got one, that means “your body is dealing with inflammation, so adequate intake of protein, multivitamins and micronutrients is required for faster healing. Avoid smoking, minimize alcohol intake to help decrease acid production.”

Abousaif adds that you should seek to include legumes, such as beans and lentils, and healthy fats, including avocado and olive oil, in your diet to provide good nutrition. And don’t forget to drink plenty of water. Staying well hydrated has lots of health benefits and can promote better health of the digestive tract.

[Read: Does Stress Cause Stomach Ulcers?]

What to Eat If You Have Ulcer

A healthy, diversified diet rich in fruits, vegetables and fiber and devoid of harmful artificial preservatives is key to helping your body heal its wounds. It’s also important to avoid smoking cigarettes and drinking alcohol as these are risk factors for developing stomach ulcers.”

He points to a review of pre-clinical studies in test tubes and animals conducted in Iran that suggest “antioxidant properties of dietary polyphenols” can support good gut health. Polyphenols are compounds found in fruits and vegetables that support digestion and brain health and provide other health benefits.

Specifically, Lerrigo lists several items the authors of the review paper hypothesize could have therapeutic potential for preventing or possibly even treating certain types of stomach ulcers, and for which studies in human beings would be warranted to validate their hypothesis. These include:


— Grapes.

— Pomegranate.

— Green tea.

— Vegetables.

— Curcumin, a compound found in the bright orange spice turmeric.

— The leaves of the betel vine, a vine from a family of plants indigenous to southern Asia that includes pepper and kava.

Vaughn also recommends “eating a healthy diet with plenty of fruits, vegetables and fiber,” as this approach may decrease the risk of ulcers. She says high consumption of fruits and vegetables, dietary fiber and vitamin A are associated with a reduced risk of ulcer disease. “This is possibly related to the protective effects of these foods,” Vaugh explains. Fruits and vegetables are high in antioxidants, which can reduce inflammation and are believed to be protective against a range of diseases.

“Fiber can also help ease constipation and decrease the acid that’s in the stomach,” Kelley says. Specifically, “sweet potatoes have been found to have some positive impact on stomach ulcers.”

“Many people think a bland diet is necessary,” Vaughn says, “but overall the evidence to support the use of a bland diet or dietary restrictions to prevent peptic ulcers is lacking.”

Gut Connection

While science still doesn’t fully understand the connection between the gut microbiome and health, there’s little evidence that probiotic supplements can help, and that evidence is limited to their use when treating H. pylori bacterial infections. It’s believed that certain strains of probiotics, which promote the growth of protective gut microorganisms may reduce the diarrhea caused by the antibiotics used to treat H. pylori.

However, a growing body of research is showing that fermented foods, such as yogurt, kefir, sauerkraut and kimchi, might inhibit the activity of H. pylori. “Recent studies have shown probiotics inhibit colonization and burden of H. pylori infection,” Reddy says. “Hence, intake of any foods rich in probiotics such as yogurt help during the healing process.”

But be careful with milk, Kelley says. “We used to think that if you have an ulcer, you should drink more milk, but that has been found to potentially have a negative impact,” he says.

Talk to Your Doctor

If you think you might have a stomach ulcer, it’s important to talk to your health care provider. Most patients start with their primary care doctor, and you may be referred to a gastroenterologist for more specialized care.

In particular, Abousaif says you should “check with your doctor if you have pain in the upper belly, especially after eating,” or other symptoms like:

— Nausea.

— Vomiting.


Feeling full quickly.

— A constant feeling of gnawing hunger. Ulcer pain can feel like hunger and is often alleviated by eating because that reduces acid levels and dulls the pain.

All of these can all be signs of stomach ulcers. In addition, if you see blood in the stool or black tarry stools, Abousaif recommends you seek medical attention, as these are also an indication of a stomach ulcer.

It’s important to seek this help, Lerrigo adds, rather than trying to doctor yourself with food. “Experimenting with a new diet is often not the best way to go,” if you have a stomach ulcer, he says. “Stomach ulcers have many different causes, and it’s important to identify the cause and treat it specifically.”

For example, “if your doctor recommends antibiotics or taking a stomach-acid blocking medicine, no amount of curcumin is going to replace those treatments, and I think it’s important for people to realize that,” Lerrigo says. “Yes, there are several studies that suggest certain foods and probiotics may help promote stomach ulcer healing, but their findings are not definitive. There is no substitute for treating the underlying cause of the stomach ulcer, and these diets should be viewed as adjuncts to treatment, not as replacements.”

Lastly, Kelley notes that it’s important to “see your family doctor once a year for a wellness visit.” During that visit mention is you’ve noticed any changes in your bathroom habits or if you’ve had any symptoms that could be related to a stomach ulcer. “It’s always better to identify a problem as early as possible because delaying it isn’t going to help it get any better. It’s only going to make it more difficult to treat.”

More from U.S. News

Pain and OTC Medications: Which Is Best?

Remedies for a Stomach Ache

Indian Dishes for Vegetarians

Stomach Ulcer Diet: Foods to Eat and Avoid originally appeared on

Update 09/22/22: This story was previously published at an earlier date and has been updated with new information.

Related Categories:

Latest News

More from WTOP

Log in to your WTOP account for notifications and alerts customized for you.

Sign up