What to Eat and Avoid When You Have Diarrhea

When you have diarrhea, the best approach is to keep eating a balanced but gentle diet rather than restricting yourself to a handful of bland foods. The old advice to stick strictly to bananas, rice, applesauce, and toast (the BRAT diet) has fallen out of favor because it lacks enough protein, fat, and micronutrients to support recovery. The American Academy of Pediatrics now recommends prompt refeeding with age-appropriate foods during acute diarrhea, not prolonged dietary restriction.

That said, some foods are clearly easier on an irritated gut than others, and a few can actively help firm up your stool and replace what your body is losing.

Foods That Help Firm Your Stool

Soluble fiber is your best friend during a bout of diarrhea. It absorbs water in the gut and adds bulk to loose stool, helping it solidify. Good sources include oats, bananas, applesauce, white rice, carrots, and peeled potatoes. These foods are also easy to digest, which matters when your intestines are already working overtime.

Plain white rice and oatmeal are particularly useful starting points because they’re filling, mild, and rich in soluble fiber. Bananas pull double duty: they provide soluble fiber and are one of the best food sources of potassium, an electrolyte you lose rapidly through watery stool. Cooked carrots and peeled baked potatoes round out the list of gentle, stool-firming options.

What to Drink

Replacing lost fluids is just as important as choosing the right foods. Diarrhea drains water, sodium, and potassium from your body quickly, and dehydration is the main danger for both children and adults. Water alone won’t replace everything you’re losing. Broth-based soups are a practical choice because they deliver both fluid and sodium. Diluted sports drinks can also help when you’re recovering from significant fluid loss.

Sip fluids steadily throughout the day rather than drinking large amounts at once, which can trigger more cramping. Avoid alcohol, coffee, and sugary drinks, all of which can pull more water into the intestines and make things worse.

Replacing Lost Electrolytes Through Food

Your body needs more electrolytes than usual when you’re recovering from diarrhea. Potassium-rich foods that are also gentle on the stomach include bananas, potatoes, and avocados. For sodium, salted crackers, pretzels, and broth work well. If you can tolerate dairy, milk provides both potassium and some sodium.

You don’t need to overthink the electrolyte math. If you’re eating a variety of the gentle foods listed here and sipping broth or a sports drink, you’re covering the basics.

Yogurt and Probiotics

Plain yogurt is one of the few dairy products that can actually help during diarrhea rather than aggravate it. Yogurt contains live bacterial cultures that support the balance of microbes in your gut, and several specific strains have been shown to shorten the duration of diarrhea episodes. For the strongest effect, look for yogurt with at least 10 billion colony-forming units (CFUs) per serving. Kefir, a fermented milk drink, offers similar benefits.

If you’re lactose intolerant, yogurt is often still tolerable because the fermentation process breaks down much of the lactose. But if dairy consistently worsens your symptoms, a probiotic supplement is an alternative.

Foods to Avoid Until You Recover

Some foods are likely to make diarrhea worse or extend it. Greasy, fried, and high-fat foods are harder to digest and can speed up intestinal contractions. Dairy products other than yogurt can be problematic because diarrhea sometimes temporarily reduces your ability to digest lactose. Raw vegetables, whole nuts, seeds, and high-fiber whole grains (like bran cereal) add insoluble fiber, which speeds stool through the gut rather than firming it up.

Sugar alcohols found in sugar-free gum, candy, and some protein bars (listed as sorbitol, mannitol, or xylitol on labels) have a well-known laxative effect and should be avoided entirely. Spicy foods, caffeine, and carbonated drinks can also irritate the gut lining and worsen cramping.

How Quickly to Return to Normal Eating

You don’t need to wait long before reintroducing your regular diet. A Cochrane review of clinical trials found no evidence that eating normal foods early, within 12 hours of starting rehydration, increases the risk of complications, vomiting, or prolonged diarrhea compared to waiting 20 to 48 hours. In other words, once your appetite starts returning and symptoms are easing, you can begin adding back more complex meals.

Start by layering in lean proteins like baked chicken, eggs, or fish. Then gradually reintroduce cooked vegetables, healthy fats, and whole grains over the next day or two. If a particular food triggers a return of loose stools, back off and try again the following day. Most people are eating normally again within three to four days of symptom improvement.

A Practical Meal Plan for the First Day or Two

  • Breakfast: Plain oatmeal made with water, a banana, and a cup of broth or diluted sports drink.
  • Lunch: White rice with baked chicken breast, cooked carrots, and water or herbal tea.
  • Snack: Plain yogurt with applesauce, salted crackers.
  • Dinner: Chicken noodle soup (broth-based), a peeled baked potato with a small amount of salt, and toast.

Eating smaller, more frequent meals tends to be easier on the gut than three large ones. If your appetite is low, even just nibbling on crackers and sipping broth throughout the day keeps some fuel and electrolytes coming in.

Warning Signs That Need Medical Attention

Most diarrhea resolves on its own within a few days, but certain symptoms signal that you need more than dietary management. For adults, contact a doctor if diarrhea persists for more than two days without improvement, if you notice blood or black color in your stool, if you develop a fever above 102°F, or if you experience signs of dehydration like excessive thirst, very dark urine, dizziness, or little to no urination.

For children, the timeline is shorter. Seek medical attention if a child’s diarrhea doesn’t improve within 24 hours, if there are no wet diapers for three or more hours, or if the child becomes unusually sleepy or unresponsive. Sunken eyes, cheeks, or abdomen, and skin that stays pinched rather than flattening back, are signs of significant dehydration that require prompt care.