A banana is one of the better foods you can reach for when your stomach is off. It’s easy to digest, replaces electrolytes lost from vomiting or diarrhea, and contains compounds that can help firm up loose stools and protect your stomach lining. There are some nuances worth knowing, though, especially around ripeness and certain digestive conditions.
Why Bananas Settle Your Stomach
Bananas work through several mechanisms at once, which is why they’ve been a go-to remedy for decades. They contain pectin, a type of soluble fiber that improves the permeability of the small intestine and reduces fluid loss during diarrhea. In a clinical study of children with persistent diarrhea, green banana and pectin both improved small intestinal function beyond just bulking up stool. Pectin also feeds beneficial bacteria in the colon, producing short-chain fatty acids that help the gut lining repair itself.
Bananas are also naturally low in acid, which matters when your stomach already feels irritated. Animal studies have found that compounds in green bananas, including pectin and a fat called phosphatidylcholine, can strengthen the protective mucus layer that lines the stomach wall. This is the same layer that shields your stomach from its own digestive acid, so reinforcing it can ease that raw, burning feeling that often comes with an upset stomach.
A medium banana also delivers about 450 mg of potassium. When you’ve been vomiting or dealing with diarrhea, potassium is one of the key electrolytes your body loses. Replacing it matters for muscle function and hydration. One banana won’t fully restore what’s been depleted during a serious bout of stomach illness, but it’s a meaningful contribution alongside other fluids.
Bananas and Nausea
If your upset stomach is more nausea than diarrhea, bananas may still help. They’re bland enough that they’re unlikely to trigger further nausea, and they contain vitamin B6, which is a well-established treatment for nausea, particularly morning sickness during pregnancy. The typical therapeutic dose of B6 for nausea is 10 to 25 mg taken three times a day. A single banana provides roughly 0.4 mg of B6, so it’s not delivering a medicinal dose on its own. Still, the combination of gentle calories, easy digestibility, and a small B6 contribution makes bananas a practical choice when you can’t keep much else down.
Ripeness Matters More Than You’d Think
Green and ripe bananas behave quite differently in your digestive system. Green (unripe) bananas contain the highest concentration of resistant starch of almost any unprocessed food. Resistant starch passes through your small intestine without being digested, then ferments in the colon where it acts as a prebiotic, feeding healthy gut bacteria. This is particularly useful for diarrhea because it slows things down and helps the gut recover.
As a banana ripens, that resistant starch converts into simple sugars like glucose, fructose, and sucrose. A ripe banana is softer and sweeter, which makes it easier to eat when you’re feeling rough, but it offers less of the starch-related benefit. For diarrhea specifically, a slightly green or just-firm banana is the better pick. For general nausea or when you just need something gentle and palatable, a regular ripe banana works fine.
One Caution for IBS
If you have irritable bowel syndrome, ripeness becomes even more important. Monash University, the leading authority on FODMAPs (the fermentable sugars that trigger IBS symptoms), has tested bananas at different stages. A firm, less-ripe banana is rated low in FODMAPs and is generally safe. A ripe banana, however, is rated high in fructans, a type of FODMAP that can cause bloating, gas, and cramping in sensitive people. If you have IBS and want to eat a ripe banana during a flare-up, keeping the serving to about one-third of a banana keeps the fructan load in the low range.
If you already tolerate ripe bananas without issues, there’s no reason to avoid them. FODMAP sensitivity varies widely from person to person.
The BRAT Diet: Helpful but Limited
Bananas are the “B” in the BRAT diet (bananas, rice, applesauce, toast), which has been recommended for stomach bugs, food poisoning, and traveler’s diarrhea for decades. These four foods share a common profile: they’re bland, low in fiber relative to other whole foods, and unlikely to irritate an already inflamed gut.
That said, no studies have actually compared the BRAT diet to other approaches. Harvard Health notes that while it’s reasonable to follow a BRAT-style eating pattern for a day or two, there’s no need to restrict yourself to only those four foods. Once you can tolerate bland food, you can gradually add other easy options like plain chicken, cooked vegetables, or broth. The goal is to eat what you can keep down while avoiding greasy, spicy, or high-fiber foods that could make things worse.
How to Eat a Banana When Your Stomach Is Upset
A single medium banana is about 110 calories with 28 grams of carbohydrate, 3 grams of fiber, and virtually no fat. That’s a manageable amount of food when your appetite is low. If even a whole banana feels like too much, eating half is perfectly fine. The key is not to force food when you’re actively vomiting. Wait until you can keep liquids down, then try a few bites.
Mashing the banana can make it even easier to digest, since you’re doing some of the mechanical breakdown your stomach would otherwise handle. Pairing it with small sips of water or an electrolyte drink helps with rehydration. Avoid combining it with dairy if you’re dealing with diarrhea, as lactose can be harder to digest during a stomach illness even if you’re not normally lactose intolerant.
For most people with a standard stomach bug or food poisoning, a banana is a safe, genuinely helpful food to start with. It won’t cure whatever is causing your symptoms, but it provides easy energy, replaces lost potassium, and contains compounds that actively support your gut’s recovery.

