8 Foods to Avoid or Limit for IBS
Onions and garlic, wheat-based foods, and lactose-containing milk are common foods to limit for IBS, although triggers and tolerated portions vary. You do not necessarily need to avoid these foods permanently. For drink choices, see the best drinks for IBS.
What are 8 foods to limit for IBS?
These eight food groups are possible triggers, not a mandatory avoidance list. The ai symptom analyzer can help you organize symptoms to discuss with a clinician, but it cannot diagnose IBS or rule out another condition.
Several foods on this list contain FODMAPs: carbohydrates that may be poorly absorbed, draw water into the bowel or be fermented by gut bacteria. A meta-analysis of 13 randomized trials found that a low-FODMAP diet improved overall IBS symptoms compared with a habitual diet. The trials assessed a whole diet, however, not the effect of avoiding each individual food below.
1. Onions and garlic
Onions and garlic contain fructans, FODMAPs that can be fermented in the gut and contribute to gas, bloating and pain. They are also common ingredients in sauces, stocks and seasoning mixes, so they may be difficult to spot in a meal.
If they appear to bother you, try meals seasoned with herbs or the green tops of scallions instead. Commercial garlic-infused oil without garlic pieces can provide flavor without the fructans, which do not dissolve in oil. Evidence: Low-FODMAP diets have randomized-trial support, but those trials do not establish that avoiding onions or garlic alone will help every person with IBS.
2. Wheat- and rye-based foods
Bread, pasta and cereals made with wheat or rye can contain fructans. The amount eaten matters: having symptoms after a large serving does not necessarily mean you cannot tolerate a smaller one.
If these foods seem troublesome, consider trying rice, oats or potatoes as alternatives, while keeping meals varied. Gluten-free products are not automatically low in FODMAPs; check for added ingredients such as inulin or onion. Evidence: The evidence supports the low-FODMAP dietary approach rather than universal wheat avoidance, and fructans rather than gluten may be the relevant trigger for some people.
Do not start a gluten-free diet before discussing celiac disease testing with a clinician, because removing gluten can affect test results. IBS and celiac disease are different conditions and need different care.
3. Milk and other lactose-containing dairy
Milk and some soft dairy products contain lactose, a sugar that can cause gas, bloating or diarrhea when it is not adequately digested. Lactose intolerance can occur alongside IBS, but symptoms after dairy do not by themselves confirm lactose intolerance.
If you suspect a problem, try lactose-free milk or yogurt, or discuss testing with a clinician. Many hard cheeses contain less lactose than milk; tolerance varies, so you may not need to exclude all dairy. Evidence: Lactose restriction is one component of a low-FODMAP diet, but the diet trials do not show that everyone with IBS needs to avoid dairy.
4. Beans and lentils
Beans and lentils contain galacto-oligosaccharides, carbohydrates that gut bacteria ferment. They can cause gas and bloating, although they also provide useful fiber and protein.
If a large serving causes symptoms, try a smaller portion rather than automatically eliminating them. Drained and rinsed canned lentils may be easier to tolerate than larger portions of other legumes, and a dietitian can help you find an amount that works for you. Evidence: Low-FODMAP trials support reducing fermentable carbohydrates as part of a structured diet; they do not establish a universal safe portion of beans or lentils for IBS.
5. Apples and pears
Apples and pears can contain excess fructose and the polyol sorbitol. These carbohydrates may draw water into the bowel or be fermented, contributing to bloating, discomfort or loose stools in susceptible people.
If you notice a pattern, try a different fruit, such as an orange or kiwi, and compare your symptoms. You do not have to remove all fruit: keep portions and the rest of the meal in mind when judging what you tolerate. Evidence: The low-FODMAP diet has clinical-trial support, but those studies do not prove that apples or pears trigger symptoms in every person with IBS.
6. Cauliflower and mushrooms
Cauliflower and some mushrooms contain the polyol mannitol, which may be poorly absorbed and contribute to bloating or diarrhea. Sensitivity and the amount eaten both affect whether symptoms occur.
If these vegetables appear to be a problem, try carrots or cucumbers while you assess your tolerance. Keep other vegetables in your meals rather than cutting out the whole food group. Evidence: The case for limiting mannitol-containing foods comes mainly from studies of the overall low-FODMAP diet, not from strong trials of cauliflower or mushrooms alone.
7. Sugar-free sweets and gum with polyols
Some sugar-free sweets and gum contain sorbitol, mannitol or xylitol. These sweeteners can draw water into the bowel and be fermented, potentially causing gas or loose stools, particularly when eaten in larger amounts.
Read ingredient lists if these products seem to trigger symptoms, and try reducing them or choosing products without polyol sweeteners. Evidence: Polyol restriction is part of the low-FODMAP approach supported by trials, but an individual response to a particular sweetener cannot be assumed from those trials.
8. Fried and very fatty foods
Some people with IBS report discomfort or an urgent bowel movement after a very fatty meal. Fat can stimulate gut activity, but fatty foods are not necessarily high in FODMAPs, and reactions differ from person to person.
If fried food seems to be a trigger, try a smaller portion or a baked or grilled version and note whether symptoms change. There is no need to remove all fat from your diet. Evidence: Support for a low-FODMAP diet does not establish that avoiding fried or fatty food will improve IBS; use your own symptom pattern and professional advice to guide changes.
What foods may be easier to eat with IBS?
There is no single best menu for everyone with IBS. Depending on your tolerance, meals built around foods such as rice, potatoes, oats, eggs, fish, carrots and lactose-free dairy can offer alternatives without excluding entire food groups. Choose replacements that fit your nutritional needs, preferences and any other medical conditions.
Fiber tolerance also varies. Avoiding every food that causes gas can make it harder to get enough fiber and maintain a varied diet; a dietitian can help you adjust fiber sources without making unnecessary restrictions.
How should you limit foods without overrestricting?
Start by recording what you eat, approximate portions, symptoms and relevant factors such as stress or medications. A symptom after a meal does not prove that one ingredient caused it, so look for a repeated pattern rather than drawing conclusions from a single episode.
Discuss persistent symptoms with a clinician, especially if IBS has not been diagnosed. If a low-FODMAP diet is appropriate, a registered dietitian can guide a short, defined restriction phase, followed by structured reintroduction and a personalized long-term diet. The aim is to identify tolerable foods and amounts, not to keep all FODMAP foods out indefinitely.
A 2024 review of dietary management notes that restrictive diets can be difficult to follow and may affect nutrition, quality of life and eating-disorder risk. If a restriction does not help, discuss stopping it and trying another approach rather than continually removing more foods.
Who should be careful, and when should you see a doctor?
Seek medical advice for new, persistent or changing bowel symptoms, even if you suspect IBS. Contact a clinician promptly for unexplained weight loss, fever, symptoms that wake you from sleep, anemia, rectal bleeding, or a family history of colorectal cancer, inflammatory bowel disease or celiac disease.
Seek emergency care for heavy rectal bleeding, black or tarry stools, severe or worsening abdominal pain, fainting, or severe dehydration. Do not assume these warning signs are caused by IBS or try to manage them with diet alone.
Children, pregnant people, anyone who is underweight or at risk of malnutrition, and anyone with a current or past eating disorder should get professional guidance before restricting foods. Tell your clinician about medicines and supplements you take, since these can affect bowel habits; do not stop prescribed medication without their advice.
Try the free tool
Ai Symptom Analyzer →Frequently asked questions
Does cooking onions make them low in FODMAPs?
Cooking does not reliably remove the fructans in onions. If onions trigger symptoms, consider their presence in cooked dishes as well as raw foods.
Do IBS food symptoms always start immediately after eating?
No. Symptoms may appear later, which can make a trigger difficult to identify. A food and symptom record can help you discuss patterns with a clinician.
Can IBS food tolerances change over time?
Yes. A food that bothers you at one time may be tolerated later or in a different portion. Reintroducing foods with professional guidance can help prevent unnecessary long-term restrictions.
Sources
- Efficacy of a low FODMAP diet in irritable bowel syndrome: systematic review and network meta-analysis. Gut (2022). PubMed 34376515
- Dietary management of irritable bowel syndrome: considerations, challenges, and solutions. The lancet. Gastroenterology & hepatology (2024). PubMed 39521003