Several foods can help firm up loose stools and speed recovery from diarrhea, but the goal isn’t to restrict your diet to a handful of bland items. It’s to eat a balanced mix of easy-to-digest foods that replace lost nutrients while giving your gut time to heal.
Why the BRAT Diet Isn’t Enough
You’ve probably heard of the BRAT diet: bananas, rice, applesauce, and toast. These foods are gentle on the stomach, and they do belong on your plate during a bout of diarrhea. But nutrition experts at the University of Virginia School of Medicine have noted that relying on a single restrictive diet like BRAT “can impair nutritional recovery and in fact lead to severe malnutrition.” Your body is losing water, electrolytes, and calories at a faster rate than normal, so it needs more than four foods can provide.
The current recommendation is to return to a balanced, age-appropriate diet as quickly as you can tolerate it, rather than starving your gut or limiting yourself to clear liquids for days. The foods below are a starting point, not the entire menu.
Foods That Help Firm Up Stool
Soluble fiber is the key ingredient to look for. Unlike insoluble fiber (the rough, scratchy kind in raw vegetables and bran), soluble fiber absorbs water in your intestines and forms a gel-like consistency that slows everything down. This increases the viscosity of your intestinal contents, which helps bulk up watery stool.
Pectin, a type of soluble fiber found in fruits, is especially useful. Applesauce, ripe bananas, and cooked carrots are all high in pectin. Citrus fruits contain pectin too, though their acidity can irritate some people’s stomachs during active diarrhea, so cooked or low-acid options are safer bets.
Other good choices:
- White rice and plain pasta: Low in fiber and easy to digest. Brown rice has too much insoluble fiber for this purpose.
- Oatmeal: High in soluble fiber and gentle enough for most people.
- Potatoes (without the skin): Starchy and binding. Mashed or boiled works best.
- White toast or crackers: Simple starches that absorb excess fluid in the gut.
- Lean chicken or fish: Protein helps your body recover without the heavy fat load that can worsen symptoms.
Replacing Lost Electrolytes Through Food
Diarrhea drains sodium and potassium fast. Low potassium can leave you feeling weak, dizzy, or crampy on top of everything else. Rather than relying solely on sports drinks, you can get these minerals from food.
Bananas are the classic potassium source, and they’re easy on a sensitive stomach. Potatoes and sweet potatoes (peeled and cooked soft) are also potassium-rich. Once you’re tolerating solid food well, cooked lentils, yogurt, and salmon provide potassium along with protein. For sodium, salty broths, soups, crackers, and pretzels all help replenish what you’ve lost.
Bone broth deserves a special mention. It delivers sodium, potassium, magnesium, and zinc in an easily absorbed liquid form. Research has documented that amino acids found in bone broth, particularly glutamine and glycine, support intestinal barrier function and help reduce inflammation in the gut lining. Chicken, beef, or vegetable broth all work, though bone broth has the edge for gut repair.
Probiotic Foods for Faster Recovery
Certain beneficial bacteria can shorten how long diarrhea lasts. A meta-analysis of studies in children with acute diarrhea found that the yeast strain Saccharomyces boulardii was particularly effective at reducing the duration of illness. Bifidobacterium strains also performed well, outperforming Lactobacillus in several measures.
You can get these organisms from food. Plain yogurt with live active cultures is the most accessible option and is typically well tolerated even during diarrhea (more on dairy below). Kefir, miso soup, and fermented vegetables like sauerkraut also contain beneficial bacteria, though fermented foods with a lot of acidity may be better saved for later in your recovery.
What to Avoid Until You’re Better
Some foods actively pull water into the intestines, making diarrhea worse. The biggest culprits are sugar alcohols: sorbitol, mannitol, xylitol, and maltitol. These are found in sugar-free gum, diet candies, and many “sugar-free” processed foods. Even 5 to 20 grams of sorbitol per day can cause gas, bloating, and urgency, and doses above 20 grams reliably trigger diarrhea on their own. Sorbitol also occurs naturally in apples, pears, peaches, prunes, apricots, and raisins, so while applesauce in small amounts is fine, eating large quantities of these fruits can backfire.
Other foods to hold off on:
- Greasy or fried foods: High fat speeds up intestinal contractions.
- Raw vegetables and salads: Insoluble fiber is hard to digest and can increase stool volume.
- Coffee and alcohol: Both stimulate the gut and promote fluid loss.
- Spicy foods: Capsaicin irritates the intestinal lining and can accelerate transit time.
- Carbonated drinks: The gas can worsen bloating and cramping.
The Dairy Question
You may have heard to avoid all dairy during diarrhea, but the reality is more nuanced. A stomach bug or other intestinal infection can temporarily damage the cells that produce lactase, the enzyme you need to digest milk sugar. This creates a short-term lactose intolerance that can last up to eight weeks after the initial illness, even in people who normally handle dairy just fine.
If milk, ice cream, or soft cheese seems to make things worse, that temporary enzyme loss is likely the reason. Yogurt is often tolerated because the bacterial cultures partially break down lactose during fermentation. Hard cheeses like cheddar and parmesan contain very little lactose and are usually safe. If you do need to cut out dairy, your gut’s ability to produce lactase typically rebuilds within about eight weeks.
How to Transition Back to Normal Eating
There’s no strict timeline, but a practical approach is to follow your symptoms. Start with clear liquids like broth, diluted juice, and water when diarrhea is at its worst. As soon as you can keep those down without cramping, add in the bland, binding foods listed above: rice, toast, bananas, boiled potatoes, plain chicken. Eat small amounts frequently rather than three large meals.
Within a day or two, as stools start to firm up, gradually reintroduce cooked vegetables, eggs, and other proteins. Save raw produce, whole grains, high-fat foods, and dairy (if it bothers you) for last. Most people with a typical stomach bug can return to their normal diet within three to five days. If you’re still having watery stools after a week, or you notice blood, fever, or signs of dehydration like dark urine and dizziness, that warrants medical attention.

