What foods to avoid with diarrhea

Running to the toilet with diarrhea is no fun, and in some cases can be a serious health concern. Diarrhea sidelines the average U.S. adult about once a year—although if you have food sensitivities or suffer from certain conditions, you may get it more often. What can you do about it, and can any foods help or hurt? That depends, says David Katz, M.D., M.P.H., director of the Prevention Research Center at Yale University and a member of EatingWell's advisory board. He says nutrition can sometimes be the fix, but not always.

Read on for the scoop on what causes diarrhea, what to eat when you have diarrhea, what foods to avoid and what drinks can help you feel better.

Related: What the Appearance of Your Poop Can Tell You About Your Health

Acute diarrhea lasts only a few days. Food poisoning is often the culprit, although other things—the flu, parasites, even some antibiotics and other medicines—can send you racing for the nearest bathroom. If you're visiting a place where the food or water is contaminated, you may get struck with travelers' diarrhea (so long, sightseeing selfies!), even though people who live there are unaffected.

Chronic diarrhea lasts four weeks or longer. It can be a sign of something more serious, like Crohn's disease, ulcerative colitis, celiac disease or irritable bowel syndrome (IBS). If you're experiencing chronic diarrhea, talk to your health care provider (see "When to See a Doctor" below).

Besides having runny, watery poop, you may feel cramping, stomach pain or nausea. Depending on the cause, you may have a fever or chills.

Most likely, you aren't going to feel like eating much—who wants to eat after feeling trapped on the throne? With acute diarrhea, the key is getting over whatever caused the problem in the first place, which usually means waiting things out. "Food isn't the solution," Katz says

Once you are ready to try food, go easy. For years, many experts recommended the BRAT diet (bananas, rice, applesauce and toast)—all soft, bland foods once touted as easy on kids' tummies. Research shows, though, that while it probably won't hurt you, the BRAT diet won't help much, either. "There's not much evidence to support it," Katz says.

If you have chronic diarrhea, what you eat—and don't eat—can help. "Adjusting your diet will make the biggest difference in chronic diarrhea," Katz says. Cut out foods you may be sensitive to, like milk or nuts, for a while, and then gradually add them back. Your doctor may suggest keeping a "diarrhea diary" to track which foods seem to trigger your symptoms. (Learn more about starting an elimination diet.)

You may want to consider probiotics—foods with "good" bacteria that some research suggests may help prevent diarrhea. Probiotics are sometimes used to treat irritable bowel syndrome (IBS) and other chronic digestive conditions. You can find them in dairy foods like yogurt and aged cheeses, and in nondairy foods like sauerkraut, kimchi and tempeh. They're also available as supplements. Check with your doctor first, though, before trying probiotics in any form.

Related: 7 Must-Eat Fermented Foods

Once your appetite returns, be kind to your stomach!

  • Use common sense and avoid high-fiber foods like beans, raw vegetables or fresh fruits like apples or peaches—they can be hard on your system.
  • Alcohol, caffeine and dairy products can all make diarrhea worse, so nix the cocktails, coffee and ice cream while your stomach recovers.
  • Ditto for greasy or spicy foods.
  • Finally, beware of hidden culprits. Diet sodas, sugarless gum and candy made with artificial sweeteners like sorbitol may trigger an unexpected trip to the toilet.

Sip waterlots of it—to replace the fluids you're losing out the other end. How do you know if you're drinking enough? Use the pee test. In general, you should pee about every three hours, and the urine should be a pale straw color. "If you don't need to pee or if your pee is dark, you need to drink more," Katz says. Just about any food will help replace lost electrolytes, but if you don't feel like eating, he recommends drinking something with sodium and potassium, like a sports drink. Soft drinks are OK, too, as long as they're caffeine-free, although they aren't a great choice from a nutrition standpoint.

Get medical help right away if you have diarrhea along with a fever or severe stomach pain, or if you feel too sick to drink anything. You want to rule out any serious problems like diverticulitis (an inflammation or infection in the colon) or appendicitis, says Katz. Otherwise, see your doctor if you don't start to feel better in a day or two. If you have chronic diarrhea for more than three or four weeks, call your doc.

Diarrhea is no fun, but here's the good news: It usually clears up on its own in a few days. Give yourself time to rest and recover, and your poo problems will soon be, well, behind you.

If you have diarrhea, food may be the last thing on your mind. However, it's crucial to stay hydrated and get adequate nutrition during a bout of diarrhea, says Deepti Mundkur, MD, a primary care physician with her own practice in San Diego. According to the Cleveland Clinic, dehydration is one of the biggest dangers of diarrhea.

Some foods can make an upset stomach worse, so it is important to eat foods that are easy on the tummy. Boiled vegetables, low-fiber starches, lean poultry, crackers, soup, and eggs are some of the foods that are recommended for patients with diarrhea, says Mundkur.

On the other hand, foods to avoid include spicy foods, sugary foods, dairy products, and  foods with a high fat content. You should also avoid foods that give you gas.

You may have heard of the BRAT diet of bananas, rice, applesauce, and toast, which is a traditional remedy for diarrhea. It isn't a diet that you should go on long term, but can be helpful over short periods of time. 

Here are some foods you should eat when you have diarrhea, to help ease your symptoms and speed up your recovery. 

1. Low-fiber starches and cereals 

While fiber is a critical nutrient that adds bulk to stool and keeps your bowel movements regular, a low-fiber diet is recommended when you have diarrhea since it makes digestion easier and reduces the frequency of bowel movements. Mundkur says boiled rice, noodles, wheat, or oats can help, especially if you have watery stools.  

2. Boiled vegetables 

Raw vegetables can be harder to digest and can cause discomfort in the form of gas and bloating, so boiled vegetables may be easier on your system when you have diarrhea. Mundkur recommends opting for boiled vegetables like green beans, potatoes, and carrots.

3. Soup and crackers

Soup can help replenish your fluid and nutrient levels, whereas crackers are helpful since they typically have a high salt content. Diarrhea can result in considerable loss of fluid and electrolytes, which are minerals like sodium and potassium, so eating salty foods can help restore them.

4. Lean chicken or turkey

Greasy foods with a high fat content can make your diarrhea worse, so opt for low-fat meat options like skinless chicken or turkey. Mundkur recommends baking the meat and eating it unseasoned, since spices and seasonings can irritate your system. You can use dry or fresh herbs, like basil, parsley, thyme, rosemary, oregano, or cilantro to flavor the meat, says Mundkur.

5. Eggs

Cooked eggs are safe to consume when you have diarrhea. Opt for preparations that don't involve a lot of butter, cheese, or seasonings, like scrambled eggs seasoned with salt.

While the BRAT diet, consisting of bananas, rice, applesauce, and toast, was once prescribed to treat diarrhea, the International Foundation for Gastrointestinal Disorders says that this diet is not nutritionally adequately for long periods of time. However, you can eat these foods when you have a short bout of diarrhea.

If you don't have an appetite, or if you have nausea or vomiting in addition to diarrhea, Mundkur says you can stick to only liquids for a short while, until you're able to tolerate some food. Liquids are easier to digest and can help prevent bowel irritation. 

  • Water
  • Applesauce 
  • Diluted fruit juice
  • Clear soup or broth 
  • Weak, decaffeinated tea or coffee 
  • Electrolyte-rich drinks, like Gatorade or Pedialyte
  • Frozen popsicles
  • Gelatin

5 types of foods you should avoid eating if you have diarrhea

These are some foods that tend to worsen diarrhea. Mundkur recommends checking with your doctor about what foods might trigger diarrhea for you if you have it chronically (i.e. over an extended period of time or very frequently), individually, as food intolerances can lead to diarrhea. 

1. Foods high in fat

Foods that have a high fat content can make diarrhea worse, resulting in more trips to the bathroom as well as greasy and smelly stools. Mundkur says this can happen because diarrhea can sometimes temporarily affect your body's ability to absorb fat. Fat typically takes longer to digest so it slows down the movement of food through your system; however, if your body is unable to digest fat, food may pass through your system a lot faster.

"Foods with a high fat content should be avoided until gut function returns to normal after a severe bout of diarrhea," says Mundkur. Some foods to avoid include fried foods, meat dishes with added fat or a high fat content, nuts, and creamy sauces or dressings. 

It's also worth noting that the reverse can also happen sometimes — you may develop fat malabsorption, which is the inability to digest fats, and that can lead to chronic diarrhea, says Mundkur. 

2. Dairy products

According to Mundkur, you may not be able to adequate digest dairy products while you have diarrhea, and sometimes up to several weeks or months after your illness. Dairy products to avoid include milk, cheese, cream, and butter; yogurt however is the exception because it's a probiotic that can help treat diarrhea, says Mundkur. "Plain yogurt is best since the added sugars in flavored yogurt are not easy on the gut during an episode of diarrhea," she says.

3. Spicy foods

Spicy foods and seasonings can irritate your digestive system and add to your discomfort, so avoid them while you have diarrhea. Moreover, what makes spicy food so spicy going down might also make it spicy coming back out. Therefore, do your rump a favor and season your food with just salt or herbs instead, since that can help replenish your electrolyte levels. 

4. Sugary foods

Sugar can make diarrhea worse because it causes the gut to release a lot of water, resulting in loose stools. Avoid sugary foods and drinks, even those with artificial sweeteners like stevia and aspartame, like baked goods, candy, and soda when you have diarrhea.

5. Foods that cause gas

Certain foods tend to cause gas and should be avoided when you have diarrhea, as they can worsen diarrhea and add to your discomfort. These foods include:

  • Beans and legumes, like kidney beans and chickpeas, since they are high in fiber and contain certain raffinose, a complex sugar that is hard to digest
  • Vegetables like broccoli, cabbage, cauliflower, and Brussels sprouts, since they also contain raffinose
  • Chewing gum, as it can make you swallow a lot of air, leading to gas
  • Aerated drinks, like soda pop, since they are carbonated and have a lot of gas

Treating diarrhea

Most cases of diarrhea are caused by viral infections, says Mundkur. They often clear up on their own, without requiring any treatment. But you can take over-the-counter medications like Pepto-Bismol or Kaopectate for relief. 

"If vomiting and severe diarrhea limit your ability to hydrate yourself, it is time to seek care at a clinic or hospital for intravenous (IV) repletion of fluids," says Mundkur.

  • Fever
  • Dizziness
  • Yellow urine
  • Less urine than usual

If your diarrhea is caused by a bacterial infection, Mundkur says you may experience severe diarrhea, fever, and bloody stools; however, antibiotics can help treat the infection if it's bacterial. 

On the other hand, persistent blood in your stools could also be an indication of something more serious. "Sometimes colon cancer can cause diarrhea and blood in the stool, so it is important to talk to your primary care physician about whether you need a colonoscopy," says Mundkur.

Insider's takeaway 

If your diarrhea is mild,  it will likely get better on its own. You can take over-the-counter medications for relief and make it a point to get adequate nutrition and hydration to avoid dehydration. 

Spicy foods, sugary foods, dairy products, foods high in fat, and foods that cause gas can worsen your symptoms, whereas low-fiber starches, boiled vegetables, soup, crackers, lean meats, and eggs may be easier to digest. 

If you don't feel like eating or you are unable to keep food down, you can drink liquids for a few hours until you're able to eat something. It may be easier to eat small portions of food more frequently, rather than attempting to eat a large meal at one go. However, if you are unable to stomach any foods or liquids, you should seek medical attention.