Locations:
Search IconSearch

What To Eat (and What To Avoid) When You Have IBS

A low-FODMAP diet or gluten-free diet could help you manage your symptoms, but only with professional guidance

An array of fresh foods on table, with half overlayed with an oversized question mark

When you have irritable bowel syndrome (IBS), knowing what to eat — and just as importantly, what not to eat — can be challenging. But the relationship between your gut and certain foods can be incredibly complicated. It’s just not as simple as “eat this, avoid that.”

Advertisement

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

So, what is the best diet for irritable bowel syndrome? The answer to that question isn’t as cut-and-dry as you might like. And it all depends on ... well, you.

What foods trigger IBS?

When you have IBS, cutting out your trigger foods is often the ticket to feeling better. But it can be difficult to figure out what those triggers are.

“Not all irritable bowel syndrome patients are the same,” says gastroenterologist Christine Lee, MD. “So, we can’t impose what works for one person onto another person. Everyone who lives with this condition is uniquely different.”

Instead, Dr. Lee says that the best way forward is to figure out your “why” — not just what your triggers are but why they trigger you. And that’s a uniquely personal journey for everyone.

Foods to limit and avoid

IBS diets aren’t one-size-fits-all, so it’s about figuring out what foods trigger your IBS symptoms. And nailing down the right food choices can play a huge role in minimizing and otherwise managing your symptoms.

Registered dietitian Julia Zumpano, RD, LD, says these foods are common IBS triggers:

  • Beans. Often called the “musical fruit,” legumes like baked beans, chickpeas, lentils and soybeans contain high amounts of indigestible saccharides. You may need to avoid them or eat them in very small quantities.
  • Cruciferous vegetables. Leafy greens, broccoli, Brussels sprouts and cabbage may cause gas and stomach pain, especially if eaten raw.
  • Dairy products. Dairy milk and other dairy products can lead to constipation or diarrhea in some people.
  • High-fructose fruits. “Fruit contains fructose, a sugar that can be avoided for symptom management in some people,” Zumpano shares. Fructose is high in apples and pears, and somewhat high in watermelon, stone fruits and fruit juice.
  • Caffeine. “For some people, a warm cup of coffee may help you poop,” Dr. Lee says, “but in other people, it can actually cause constipation or diarrhea.”
  • Carbonated drinks. Does seltzer make you feel bloated and gassy? Anything with bubbles could exacerbate your stomach issues.

Advertisement

Pay attention to how you feel after eating these foods. If they seem to cause symptoms, you’ll know to scale back or cut them out altogether.

Other foods are best to avoid or significantly limit altogether, Zumpano notes. “There are some foods that we know to definitely decrease healthy gut bacteria and promote the growth of bad bacteria,” she explains. “These foods can wreak havoc on the gut, especially in people who have IBS.” These foods include:

  • Alcoholic beverages. Alcohol irritates the gut, which can cause IBS flare-ups.
  • Greasy, fatty and fried foods. Fast food and other ultra-processed foods can do a number on your insides. “These foods take much more time to process through your gut,” Dr. Lee explains, “which slows everything down. And when things slow down, there’s opportunity for bad bacteria to overgrow.”
  • Artificial sweeteners. Your gut can’t properly absorb artificial sweeteners, which often leads to gas and diarrhea — and there are other major health risks associated with sugar alcohols like erythritol, too.

This doesn’t mean you can never eat a fast-food burger again or that you have to forever forego cocktails with a friend. But consume them sparingly. “If you indulge in these food groups, do it only on occasion and always in moderation,” Dr. Lee urges.

Diet plans that may help you manage IBS

Though there’s no “IBS diet,” two eating styles are often recommended to determine which foods trigger your symptoms:

But it’s critical that you only try these types of elimination diets with the help of a trained healthcare provider. On your own, you risk serious vitamin and mineral deficiencies.

Dr. Lee and Zumpano explain more.

Low-FODMAP diet

FODMAP stands for “fermentable oligo-, di-, and monosaccharides and polyols” — a type of fermentable carbohydrate and sugar that your body may not be able to digest or absorb well.

The low-FODMAP diet is a short-term elimination diet that temporarily restricts these foods to relieve your symptoms, give your digestive system a rest and offer a chance to identify specific foods that may trigger your IBS.

“You eliminate every possible FODMAP from your diet, then slowly add each group back in to see which you could be reacting to,” Zumpano explains. “A dietitian will help you build your own eating plan based on which fermentable sugars you react to most.”

Studies show that about 75% of people with IBS who try the low-FODMAP diet see some relief from their symptoms. But you should never try this intense elimination diet on your own.

Advertisement

“This process can be daunting, so it’s best to work with a registered dietitian to help walk you through each step,” she adds. “Their professional guidance can help you identify, eliminate and reintroduce high-FODMAP foods.”

Plus, there are a lot of high-FODMAP foods, and there’s no simple breakdown across food groups. For example, some veggies, like cauliflower, are high-FODMAP, while others, including broccoli, are low-FODMAP.

The point of the low-FODMAP diet isn’t to cut out these foods forever, just long enough to figure out which foods you react to. “The full elimination phase of the low-FODMAP diet should only be followed for a short time,” Zumpano reinforces. Yet another reason to work with a dietitian to be sure you get it right.

Gluten-free diet

Gluten is a protein found in wheat and other grains. A gluten-free diet is prescribed to people who have celiac disease, an autoimmune disorder, but it may help relieve IBS symptoms, too.

One study found that a gluten-free diet could help relieve IBS-D (IBS with frequent diarrhea). Plus, IBS also often overlaps with gluten intolerance, or non-celiac gluten sensitivity.

The full list of grains to avoid is long, encompassing popular ingredients like wheat and rye, for starters. So, going gluten-free is a dietary overhaul best managed with professional help.

Advertisement

“A dietitian will guide you through an elimination diet to see whether gluten triggers your gastrointestinal symptoms,” Zumpano says.

Can going dairy-free help?

About half the population is born with low levels of lactase, an enzyme that metabolizes dietary lactose. Lactose, a natural sugar found in milk, is a common IBS trigger. Most people can handle small amounts of it, but if you eat more than your intestines can handle, you’ll experience digestive issues.

“If you suspect that dairy triggers you, try cutting it out for a week or two to see whether your symptoms decrease,” Zumpano suggests. “Then, add small servings of dairy back into your diet in very small portions to see what your threshold is.”

Plus, she says that when it comes to IBS symptoms, you may find that certain types of dairy foods lead to more digestive issues than others. Milk and ice cream tend to have more negative effects, but some people can tolerate small amounts of cheese, yogurt or kefir.

How to choose the right foods when you have IBS

Before you consider a low-FODMAP diet or a gluten-free diet, try turning toward general healthy eating habits.

“Focus first on cutting out processed foods and snack foods, and on increasing fibrous foods,” Zumpano advises. “See if your symptoms decrease that way before you start eliminating food groups.”

Advertisement

As you make tweaks to your diet, keep track of the changes you make and how they seem to affect you. “Keep a food diary to log your symptoms,” she recommends.

Zumpano provides tips, swaps and substitutes you may want to try.

Get enough fiber

Fiber plays an important role in digestion, but most people don’t eat enough of it.

“Every time you eat, look at your plate and say, ‘What’s on here that’s a good source of fiber?’” Zumpano recommends. “How can I add some?

Dietary fiber comes from plants, so lots of high-fiber foods can be easily incorporated into your diet. One way to add extra fiber is by sprinkling ground flaxseed over cereal, salad or just about anything else.

But introduce more fiber into your diet slowly, as consuming too much too fast can make stomach symptoms worse. And drink plenty of water, too.

“If you increase your fiber intake, you need more water,” Zumpano reiterates. “Otherwise, you can become constipated — or more constipated, if that’s a symptom you’re already experiencing.”

Try low-lactose or lactose-free dairy

Even if dairy seems to trigger your IBS, you may find that you can handle low-lactose and lactose-free options, like lactose-free milk, milk alternatives (like oat milk, rice milk, soy milk) and products made with them, like yogurt and cheese.

But speaking of cheese, some are naturally lower in lactose (low-lactose) than others. High-lactose cheeses include fresh mozzarella, burrata, feta and ricotta. But you may find you can better tolerate options like:

  • Aged cheddar
  • Blue
  • Brie
  • Camembert
  • Gouda
  • Muenster
  • Parmesan
  • Swiss

As for butter? Swap in extra-virgin olive oil instead.

Choose lower-fructose fruits

Fruits with lower levels of fructose include:

Eat lower-fructose vegetables

Certain vegetables may cause gas and abnormal bowel habits. You may find that these veggies, all from the low-FODMAP list, are easier on your stomach:

Swap beans for other options

While there aren’t really one-to-one substitutes for beans, you can try foods like:

Stay hydrated

Water is a key player in digestion and helps keep things moving through your intestines.

“Water softens your stool,” Zumpano explains. “Because a lot of foods pull water into your gut, you need to be drinking enough of it that it can be pulled in to soften and absorb soluble fibers and help create a good consistency to your stool.”

Keep track of the changes you make

If you’ve been trying to make swaps or cuts to relieve your symptoms, again, it’s important to track your changes. This is where that food diary can really help.

“If you’ve been eliminating entire food groups and not finding relief, it’s important to seek help,” adds Zumpano. “A dietitian can help you pinpoint which foods to reintroduce foods slowly.”

Before starting an IBS diet, try this

“It breaks my heart to see people who are on very restrictive diets for an infinite amount of time,” Dr. Lee empathizes. “That doesn’t cure you of anything. It just tells you to avoid certain foods for the rest of your life.” Plus, IBS triggers aren’t always food-related. Other factors, like stress and medications, can also play a huge role.

That’s also why it’s best to see a healthcare provider who can help you get to the bottom of your symptoms. They’ll likely ask many questions and may run a few tests to be sure you’re not dealing with another condition, such as:

If you’re diagnosed with IBS, your provider will work with you to identify your triggers. From there, you’ll work on adjusting your diet — and maybe even re-incorporating foods you thought you couldn’t eat.

Because it’s such a nuanced process, Zumpano reiterates that it’s critical not to go it alone: “Working with a registered dietitian can help you make the best food choices and maintain a balanced diet.”

Learn more about our editorial process.

Related Articles

Smiling, relaxing person in a yoga pose on an exercise mat in living room
December 5, 2024/Digestive
9 Common IBS Triggers and What To Do About Them

Triggers can range from the foods you eat and the medications you take to how often you exercise and how stressed you are

Person stopped on bridge during workout, wearing arm band and earbuds, to drink from water bottle
September 6, 2024/Digestive
Gut Reaction: Home Remedies To Help Manage Your IBS

Changes in eating, exercise and sleep habits often can help reduce symptoms

Teen walking into bathroom at home
September 4, 2024/Children's Health
Kids and Teens Deal With IBS, Too

Pediatric IBS treatment involves making dietary adjustments, getting mental health support and — in some cases — taking prescription medication

Illustration of the colon, large intesitine, small intestine and colon in the body with a pain icon above.
August 30, 2023/Digestive
8 Signs That Irritable Bowel Syndrome’s Causing Your Digestive Troubles

Symptoms of IBS usually include abdominal pain, coupled with bloating and more

woman suffering from IBS
October 15, 2020/Digestive
How to Manage Irritable Bowel Syndrome With Your Brain

Behavioral medicine techniques can help ease symptoms

woman suffering with IBS
September 25, 2020/Digestive
IBS: 5 Tips to Control Symptoms When You Travel

You don’t have to limit travel with proper planning

Sliced cantaloupe with rinds on wooden platter
April 11, 2025/Nutrition
4 Health Benefits of Cantaloupe

This melon boosts your immune system and provides a wealth of antioxidants for eye health

view of papaya fruit, with one half cut open
April 10, 2025/Nutrition
6 Reasons To Eat More Papaya

Bite into a slice of papaya to enjoy a taste of the tropics and disease-fighting nutrients

Trending Topics

Person in bed sleeping on their side, covers off
Breathing Problems? Try These Sleep Positions

If you’re feeling short of breath, sleep can be tough — propping yourself up or sleeping on your side may help

A couple looking at skyline, with one person slightly behind the other, head bent down
What Is Anxious Attachment Style — and Do You Have It?

If you fear the unknown or find yourself needing reassurance often, you may identify with this attachment style

Glasses and bottle of yellow-colored prebiotic soda, with mint, lemon and ginger garnish
Are Prebiotic Sodas Good for You?

If you’re looking to boost your gut health, it’s better to get fiber from whole foods

Ad