Search IconSearch

What To Eat (and Avoid) When You Have an Upset Stomach

Different symptoms call for different menus

berries, fruit and vegetables with fiber

Eating is often the last thing you feel like doing when you have an upset stomach, but it might be what you need. Reaching for the right snack could help ease your discomfort.


Cleveland Clinic is a non-profit academic medical center. Advertising on our site helps support our mission. We do not endorse non-Cleveland Clinic products or services. Policy

But making the right food choice when your tummy is topsy-turvy often depends on your symptoms and what’s causing them. Different issues such as nausea, constipation, cramping or diarrhea call for different food solutions.

So, what should you eat and not eat when your stomach doesn’t feel tip-top? Gastroenterologist Christine Lee, MD, has some suggestions.

What to eat for an upset stomach

“Upset stomach” is an umbrella term that covers all types of abdominal discomfort and changes in bowel movements. But different symptoms require different foods:

For constipation: vegetables, fruits and whole grains

Constipation (when you can’t have a bowel movement) is frustrating. But it can also cause a chain reaction in your gut.

“Constipation almost always goes hand in hand with bloating and gas, which result from all the pressure that builds up,” Dr. Lee explains. “To relieve all three symptoms, stick with foods that help you go.”

When you need help going, fiber is your best friend. Soluble fiber breaks down in the digestive tract and acts as a natural stool softener. This helps bowel movements along and eases constipation.

Foods high in soluble fiber include:

  • Vegetables, especially green beans, carrots and broccoli.
  • Fruits, such as Bing cherries, berries, apples and pears.
  • Prune or apple juice, which also helps with hydration.
  • Quinoa, which is technically a seed.
  • Whole grains, such as oatmeal, whole-wheat bread and bran cereal.

Food also can include insoluble fiber that moves through your digestive tract without breaking down. It is found in foods like leafy greens, dried fruit and nuts.

Avoid foods that are overly processed and low in fiber, such as:

  • Fast food.
  • Frozen meals.
  • Packaged snacks.

For diarrhea: bananas, rice, applesauce and toast

When foods seem to move right through you, it isn’t easy to imagine that eating more would help. But the BRAT diet involves easily digested foods that are gentle on your GI tract. BRAT is an acronym for:

  • Bananas.
  • Rice (white).
  • Applesauce.
  • Toast (white).

“The BRAT diet is especially helpful if diarrhea happens while traveling,” Dr. Lee notes. “If you do not have access to medicine or medical care near you, you can seek out these and gentle foods to ease an upset stomach.”

Sticking to the BRAT diet for a day or two may help relieve diarrhea, even if the cause is food poisoning or stomach flu. But because a wide variety of foods is important for healthy living, it’s not a diet you should adopt full-time.

To avoid making diarrhea worse, stay away from:

  • Acidic fruits.
  • Alcohol.
  • Caffeine.
  • Dairy products.
  • Fried or spicy food.
  • Sugar.


For nausea/vomiting: sports drinks and ginger

Nausea is a common symptom associated with many conditions — some more serious than others. If your nausea is ongoing and you don’t know why, get checked out by a healthcare provider.

“The treatment for different causes of nausea can vary greatly,” Dr. Lee says. “Sometimes, it’s better to give your stomach a rest. Other times, we recommend oral hydration with a sports drink or electrolyte drink.”

But if you can pinpoint the cause of your nausea (like pregnancy or cancer treatment), you can cautiously eat something to help settle your stomach. Start with the BRAT diet, as it’s bland.

A natural food for an upset stomach — specifically pregnancy-related nausea and vomiting — may be ginger. Researchers found that pregnant people experienced five times less nausea and vomiting by eating a small amount (less than 1 gram) of ginger every day for four days.

“The best thing you can do is listen to your body,” Dr. Lee advises. “Your body will clue you in and help you out if you truly can’t keep anything down. If you try to take a sip of a sports drink and it immediately causes nausea, your body is telling you that you can’t tolerate it. That’s when you know you need to get to your healthcare provider.”

For cramps: beans, prune juice and whole grains

Stomach cramping and sharp pains can be signs of another issue, such as bowel problems, approaching menstruation or an acute condition like appendicitis.

If you get cramps every month before your period, consider keeping a log. You might be able to ward them off by making small changes to your diet before cramping sets in.

“Be proactive if you always get stomach pain around the time your period arrives,” Dr. Lee advises. A high-fiber, low-fat diet can lower inflammation and levels of estrogen (the hormone responsible for menstrual cramping).

When you’re expecting cramps, choose foods such as:

  • Beans.
  • Fruit.
  • Metamucil® (or other products containing psyllium husk).
  • Prune juice.
  • Vegetables.
  • Whole grains.

Try to avoid:

  • Animal products.
  • Fatty and processed foods.
  • Refined grains.

Dr. Lee recommends seeking urgent care if you have alarming symptoms in addition to cramping and pain, or if the pain is sharp and increasing in frequency, intensity or duration.

“When in doubt, check it out,” she says. “No one knows your body better than you. Don’t accept that any ongoing stomach upset is just your new norm. Whether you see your primary care provider or a GI provider, we can check it out and treat the issue.”

Stomach issue
Foods to eat
Vegetables. Fruits. Prune juice. Apple juice. Quinoa. Whole grains.
Foods to avoid
Fast food. Frozen meals. Packaged snacks.
Foods to eat
Bananas. Rice (white). Applesauce. Toast (white).
Foods to avoid
Acidic fruits. Alcohol. Caffeine. Dairy products. Fried/spicy food. Sugar.
Nausea and vomiting
Foods to eat
Sports drinks. Electrolyte drinks. Ginger.
Foods to avoid
Non-bland food.
Foods to eat
Beans. Fruit. Metamucil. Prune juice. Vegetables. Whole grains.
Foods to avoid
Animal products. Fatty food. Processed food. Refined grains.

Learn more about our editorial process.

Related Articles

Assorted whole-grain foods, fruits, vegetables and nuts
June 21, 2024/Nutrition
Eating for Energy: Foods That Fight Fatigue

What’s on your plate can either help power you through your day or put you in nap mode

Person standing in front of oversized nutrition label, reading it
June 19, 2024/Nutrition
What Can You Learn From a Nutrition Label?

Information on serving size, calories and nutrients can help you make healthy choices

Piles of sugar alcohol
June 17, 2024/Nutrition
What You Should Know About Sugar Alcohols

Often labeled as ‘diabetes-friendly’ or ‘calorie-free,’ these sugar substitutes warrant caution

Person prepping mason jars with meals
June 14, 2024/Nutrition
Should You Eat the Same Thing Every Day? Learn the Pros and Cons

Repeating your meals can help simplify meal planning and counting calories, but it could also lead to boredom and nutritional deficiencies

Person looking in fridge, filled with salad, milk, berries, veggies, juice
June 12, 2024/Wellness
Power Up: 10 Ways To Boost Your Energy Naturally

Making certain food and lifestyle choices can help keep your battery full

Shirataki Miracle noodles on chopsticks and in red bowl
May 20, 2024/Nutrition
4 Reasons To Give Shirataki (Miracle) Noodles a Try

Fiber-rich shirataki noodles may improve blood sugar, aid in digestion and help with weight loss

Assorted healthy foods spread out over a table and cutting boards
May 20, 2024/Digestive
What To Eat When You Have Diverticular Disease

Reducing inflammation is key when you’re in a flare-up, but so is having a preventive nutritional plan in place when you’re not

Healthcare provider talking with patient with overweight in office
May 17, 2024/Weight Loss
The HCG Diet Is Ineffective and Unsafe

The U.S. FDA prohibits HCG use without a prescription — and the hormone isn’t approved for weight loss at all

Trending Topics

Female and friend jogging outside
How To Increase Your Metabolism for Weight Loss

Focus on your body’s metabolic set point by eating healthy foods, making exercise a part of your routine and reducing stress

stovetop with stainless steel cookware and glassware
5 Ways Forever Chemicals (PFAS) May Affect Your Health

PFAS chemicals may make life easier — but they aren’t always so easy on the human body

jar of rice water and brush, with rice scattered around table
Could Rice Water Be the Secret To Healthier Hair?

While there’s little risk in trying this hair care treatment, there isn’t much science to back up the claims