Several fruits can support stomach comfort when you have an ulcer, though no single fruit will heal one on its own. Bananas, cranberries, apples, pears, and melons are among the best options. The key is choosing fruits that are low in acid, rich in protective plant compounds, and unlikely to irritate an already damaged stomach lining.
The National Institute of Diabetes and Digestive and Kidney Diseases notes that diet alone doesn’t cause, prevent, or treat peptic ulcers. Ulcers are primarily caused by H. pylori bacteria or long-term use of anti-inflammatory painkillers. But what you eat still matters for day-to-day comfort and may give your body extra tools to support healing alongside medical treatment.
Bananas
Bananas are one of the most consistently recommended fruits for people with stomach ulcers. They’re naturally low in acid, soft, and easy to digest. Unripe (green) bananas in particular have drawn research interest. In animal studies, green banana extract protected the stomach lining against damage from both alcohol and anti-inflammatory drugs. The protection appears to come partly from compounds like pectin and phosphatidylcholine, which strengthen the mucous layer that shields your stomach wall from acid.
Ripe bananas are gentler on the stomach than green ones and still offer benefits. They’re unlikely to trigger discomfort, and their soft texture means less mechanical irritation to sensitive tissue. If you’re looking for a safe, everyday fruit during an active ulcer flare, bananas are a reliable starting point.
Cranberries
Cranberries stand out because they may directly work against H. pylori, the bacterium responsible for most peptic ulcers. The mechanism involves compounds called proanthocyanidins, which prevent H. pylori from sticking to the stomach lining. This doesn’t kill the bacteria outright, but it reduces their ability to establish and maintain an infection.
The clinical evidence is surprisingly specific. A randomized controlled trial found that drinking cranberry juice twice daily (about 240 mL per serving, containing 44 mg of proanthocyanidins each) for eight weeks reduced H. pylori infection rates by 20% compared to placebo. Earlier trials in China showed a 14.3% decrease in infection rates after 90 days of drinking two daily servings of cranberry juice, and a study in Chilean children found a 16.9% suppression rate after just three weeks.
These aren’t cure rates, and cranberry juice won’t replace antibiotics if you have a confirmed H. pylori infection. But regular cranberry consumption could be a useful addition to your routine, particularly if you’re trying to reduce bacterial load or prevent reinfection.
Apples and Pears
Apples and pears are both rich in soluble fiber, which increases the viscosity of your digestive contents. This thicker, slower-moving material is less likely to splash acid against an ulcer site. Both fruits are well tolerated by most people with peptic ulcers, and their mild flavor profile means they rarely trigger reflux or irritation.
One important caveat: a controlled study tested pectin supplements (the specific soluble fiber abundant in apples) as a standalone treatment for preventing duodenal ulcer relapse. It didn’t work. Ulcers recurred in 85% of patients taking pectin supplements compared to 21% on standard medication. So while eating apples and pears is a smart dietary choice for comfort and general gut health, don’t rely on their fiber content as a treatment strategy.
Berries
Strawberries, blueberries, and blackberries are packed with flavonoids, a broad class of plant compounds with strong antioxidant and anti-inflammatory properties. Strawberries contain quercetin and pelargonidin, while blackberries are rich in quercetin and cyanidin. These compounds help reduce inflammation and oxidative stress, both of which play a role in ulcer development and slow healing.
Berries are also relatively low in acid compared to citrus fruits, making them a safer choice for a sensitive stomach. Blueberries in particular tend to be well tolerated. If you find that strawberries cause mild discomfort (some people do), try switching to blueberries or blackberries instead.
Melons and Papaya
Melons, including cantaloupe and honeydew, are specifically listed as allowed foods in nutritional guidelines for peptic ulcer management. They’re high in water content, low in acid, and gentle on inflamed tissue. Watermelon falls into the same category. These are good choices when you want something refreshing without risking irritation.
Papaya has a more complex profile. It contains papain, a natural enzyme that breaks down proteins. Early animal research found that papaya extract protected against experimentally induced stomach ulcers. However, papain also increases the permeability of your gut lining by breaking down the tight junctions between cells. This effect is reversible and doesn’t destroy the tissue, but for someone with an active ulcer, temporarily loosening the gut barrier may not be ideal. Ripe papaya in moderate amounts is generally fine, but it’s not the best fruit to eat in large quantities during a flare.
Fruits to Avoid During a Flare
Citrus fruits are the main category to watch. Oranges, grapefruits, lemons, and limes have high citric acid content that can directly irritate an open ulcer and trigger acid reflux. This applies to juices as well, which are often more concentrated than whole fruit. Tomatoes, while technically a fruit, are similarly acidic and best limited when symptoms are active.
Pineapple can also be problematic. It’s acidic and contains bromelain, another protein-digesting enzyme that may irritate damaged tissue. If you’re unsure about a particular fruit, a simple test is how it feels going down. Burning, sharp pain, or increased nausea after eating it is your body telling you to skip it for now.
Practical Tips for Eating Fruit With an Ulcer
Eat fruit as part of a meal rather than on an empty stomach. Food buffers acid production, so a banana with oatmeal will sit better than a banana alone first thing in the morning. Ripe fruit is generally easier to tolerate than unripe fruit (with the possible exception of green bananas, which have specific protective compounds). Cooking or baking fruit softens the fiber and reduces its potential to irritate, so baked apples or stewed pears are excellent options when raw fruit feels too harsh.
Smoothies can work well because blending breaks down the fiber mechanically, but avoid adding citrus juice or acidic fruits to the mix. A combination of banana, blueberries, and a non-dairy milk is a safe baseline. If you want to incorporate cranberries, look for unsweetened cranberry juice or cranberry supplements standardized to proanthocyanidin content, since most commercial cranberry juice cocktails are loaded with added sugar and diluted to the point of minimal benefit.

