9 Foods to Avoid or Limit for Bloating
Beans, onions and milk can contribute to bloating, especially if you are sensitive to their carbohydrates. These 9 foods and food groups are starting points for identifying triggers, not a list everyone needs to eliminate. The AI symptom analyzer can help you organize symptoms to discuss with a clinician; it cannot diagnose their cause. For hydration ideas, see the best drinks for bloating.
Bloating is a feeling of abdominal fullness or pressure. Some foods can contribute to gas production, while others may cause symptoms because of the way they are digested or because the gut is sensitive to normal amounts of gas. A food that bothers one person may be perfectly comfortable for another.
Which 9 foods should you consider limiting for bloating?
1. Beans and lentils
Beans and lentils contain fermentable carbohydrates called galacto-oligosaccharides. Gut bacteria break these down and produce gas, which can contribute to bloating, particularly if you eat a large portion or are not used to them.
Try a smaller portion than usual rather than eliminating them immediately. You can also rinse canned beans and pay attention to whether the portion and type make a difference; beans and lentils provide useful fiber and protein.
Evidence: A 2022 network meta-analysis of 13 randomized trials found that a diet low in fermentable carbohydrates improved overall symptoms in people with irritable bowel syndrome (IBS) compared with their habitual diet and ranked highly for reducing bloating. It tested dietary patterns, not beans alone, and does not establish that everyone with bloating needs to avoid them.
2. Onions and garlic
Onions and garlic contain fructans, carbohydrates that can be fermented by gut bacteria. They can be hard to identify as a trigger because they often appear in sauces, seasoning blends and prepared meals as well as in visible pieces.
If you suspect them, check ingredient lists and try using less in meals while keeping the rest of your usual diet reasonably consistent. Cooking changes their texture and flavor, but it does not reliably remove their fructans.
Evidence: A review of low-FODMAP diet mechanisms describes how fermentable carbohydrates can increase intestinal water and gas and cause symptoms in people with a sensitive gut. This supports a possible mechanism, but it does not prove that onions or garlic cause your bloating.
3. Milk and lactose-containing dairy
Milk and some other dairy foods contain lactose, a sugar that needs the enzyme lactase for digestion. If lactose is not adequately digested, it can reach the colon and contribute to gas, bloating and sometimes diarrhea.
If symptoms consistently follow milk or ice cream, try a smaller serving or a lactose-free equivalent and compare how you feel. Tolerance varies, and lactose-free milk is not suitable for someone with a milk allergy. If you reduce dairy, choose alternatives that provide comparable calcium and other nutrients.
Evidence: A review of lactose malabsorption and intolerance describes the link between undigested lactose and symptoms, while noting that lactose amount and individual sensitivity matter. Bloating after dairy alone does not confirm lactose intolerance.
4. Wheat and rye products
Wheat and rye products, such as some breads, cereals and pasta, contain fructans that can ferment in the gut. The amount eaten and the product’s ingredients may affect whether you notice symptoms.
If a wheat- or rye-heavy meal seems to be a trigger, consider a smaller portion or a different grain and see whether symptoms change. Do not assume that gluten is responsible: fructans and other meal ingredients are also possible contributors.
Evidence: Randomized-trial evidence for a low-FODMAP dietary pattern in IBS is relevant to fructans, but it does not establish that a particular bread or pasta causes bloating. If you think you may have celiac disease, talk with a clinician before removing gluten, because doing so can affect testing.
5. Apples and pears
Apples and pears contain fermentable sugars, including fructose and sorbitol, that can be poorly absorbed by some people. When these reach the colon, fermentation may contribute to gas and bloating.
Try a smaller serving or choose another fruit for a while if you repeatedly notice symptoms after eating them. Keep other meal components in mind too: fruit eaten with a large meal may not be the only possible trigger.
Evidence: Research on low-FODMAP diets offers indirect support for reducing fermentable sugars in some people with IBS. The cited studies do not establish that apples or pears cause bloating in everyone, and fruit does not need to be avoided as a group.
6. Sugar-free sweets containing polyols
Some sugar-free sweets, chewing gums and other products contain polyols such as sorbitol, mannitol or xylitol. These sugar alcohols can be incompletely absorbed and fermented in the gut; they can also draw water into the bowel.
Check the ingredient list if you eat these products regularly, and try a smaller amount or a product without the suspected sweetener. Notice whether other ingredients or the amount eaten also change when you make a comparison.
Evidence: Polyols are among the carbohydrates addressed by low-FODMAP diets, which have trial evidence for reducing symptoms in some people with IBS. That evidence is for the overall diet, not for avoiding every sugar-free product.
7. Cruciferous vegetables
Broccoli, cabbage and cauliflower contain carbohydrates and fiber that gut bacteria can break down, producing gas. Cauliflower also contains mannitol, a polyol that may be troublesome for some people.
If a large serving leaves you uncomfortable, try a smaller portion and increase it gradually if tolerated. Cooking can soften vegetables, but it is not a guarantee that they will no longer cause symptoms. Other vegetables may suit you better, so there is no need to remove them all.
Evidence: Fermentation provides a plausible explanation, but the studies cited here do not establish a specific portion of these vegetables that will prevent bloating. Responses differ by vegetable, meal and person.
8. Some mushrooms
Some mushrooms, including common button mushrooms, contain mannitol. For people who have difficulty tolerating this polyol, a mushroom-heavy meal may contribute to bloating as the carbohydrate moves through the gut.
If you suspect mushrooms, start by reducing the portion rather than treating every mushroom dish as a permanent problem. Sauces, onions and garlic served with mushrooms can be possible triggers too, so changing only one component at a time makes the comparison more useful.
Evidence: The connection is based on the role of fermentable polyols and evidence for a broader low-FODMAP diet in IBS. The cited trials do not show that removing mushrooms alone relieves bloating.
9. Large, high-fat or fried meals
Large, high-fat or fried meals may leave some people feeling uncomfortably full; fat can slow stomach emptying. A rich meal may also contain several potential triggers, making it difficult to know which part, if any, contributed to bloating.
If you notice a pattern, try a smaller portion or a less fatty preparation of a similar meal. This is an individual experiment, not a reason to eliminate all dietary fat, which is an important part of a balanced diet.
Evidence: The studies cited here do not establish that fried food or dietary fat causes bloating in everyone. The evidence for avoiding these meals is less direct than the IBS trial evidence for a low-FODMAP dietary pattern.
Which foods should you limit, and for how long?
Start with the food most consistently associated with your symptoms, rather than removing the entire list. Keep a simple record of what you eat, approximate portions and when bloating occurs. Record relevant changes in bowel habits too, since constipation or diarrhea may be useful information for a clinician.
Try a smaller amount or a suitable substitute, then bring the food back and observe whether the same pattern returns. Day-to-day symptoms can vary, so one uncomfortable meal does not prove that an ingredient is the cause. Keep foods you tolerate in your diet.
A low-FODMAP diet is more restrictive than testing one suspected food. For IBS, it may be considered when general dietary changes have not helped, ideally with guidance from a registered dietitian. It involves a short restriction phase followed by systematic reintroduction and a personalized long-term diet; it is not meant to be a permanent avoidance of all fermentable carbohydrates.
Who should be careful, and when should you see a doctor?
Speak with a clinician if bloating is persistent, keeps returning or is accompanied by unexplained weight loss, a change in bowel habits or blood in the stool. These symptoms need assessment rather than repeated food restrictions.
Seek urgent medical care for severe or rapidly worsening abdominal pain, repeated vomiting, or a swollen abdomen with inability to pass stool or gas. Seek prompt medical advice for black or bloody stools, or bloating with fever.
Children and people who are pregnant or breastfeeding should get professional advice before making substantial dietary restrictions. Anyone with a history of an eating disorder, an existing condition requiring a special diet, or concern about inadequate nutrition should also seek guidance. A clinician or dietitian can help investigate symptoms while protecting nutritional intake.
Try the free tool
Ai Symptom Analyzer →Frequently asked questions
Can eating quickly contribute to bloating?
Eating quickly can increase the amount of air you swallow, which may contribute to a feeling of fullness or bloating. Eating more slowly is a reasonable change to try alongside tracking food triggers.
Is bloating the same as abdominal fat?
No. Bloating is a feeling of abdominal fullness or pressure, and the abdomen may sometimes look more distended. Abdominal fat is body tissue and does not typically change noticeably over the course of a meal.
Are gas and bloating the same thing?
No. Gas is air or other gases in the digestive tract; bloating is the sensation of fullness or pressure. Some people feel bloated without producing an unusually large amount of gas.
Sources
- Efficacy of a low FODMAP diet in irritable bowel syndrome: systematic review and network meta-analysis. Gut (2022). PubMed 34376515
- The low FODMAP diet: recent advances in understanding its mechanisms and efficacy in IBS. Gut (2017). PubMed 28592442
- Update on lactose malabsorption and intolerance: pathogenesis, diagnosis and clinical management. Gut (2019). PubMed 31427404