Several common food groups are known to cause bloating, and most of them do it through one of three mechanisms: fermentation by gut bacteria, water retention, or physical gas introduction. The biggest culprits include beans, cruciferous vegetables, dairy, certain fruits, high-sodium foods, carbonated drinks, and products containing sugar alcohols. Understanding why each one triggers bloating can help you figure out which foods are behind your discomfort and how to manage them.
Beans and Legumes
Beans are the most notorious bloating food for good reason. They contain complex carbohydrates called alpha-galactosides, a type of non-absorbable fiber that your body can’t break down on its own. These sugars pass through your small intestine intact and arrive in your colon, where bacteria ferment them rapidly and produce gas as a byproduct.
Soaking dried beans overnight and discarding the water before cooking can reduce some of these compounds. Over-the-counter enzyme supplements containing alpha-galactosidase (the active ingredient in products like Beano) can also help by breaking down these sugars before they reach your colon. Lentils and chickpeas tend to cause less gas than kidney beans or black beans, so switching varieties is another option.
Cruciferous Vegetables
Broccoli, cabbage, Brussels sprouts, cauliflower, and kale all contain raffinose, a complex sugar your body struggles to break down. Like the sugars in beans, raffinose travels to the large intestine undigested, where bacteria ferment it and release gas. These vegetables are also high in fiber, which compounds the effect if you’re eating large portions or aren’t used to a high-fiber diet.
Cooking cruciferous vegetables makes them easier to digest than eating them raw. Steaming in particular softens the plant cell walls and can reduce the amount of raffinose that reaches your colon intact. Starting with smaller portions and gradually increasing your intake gives your gut bacteria time to adjust.
Dairy Products
An estimated 68% of adults worldwide have some degree of lactose malabsorption, meaning they don’t produce enough of the enzyme needed to digest the sugar in milk. In people of European descent, the rate is lower (around 28%), while in other populations it can be significantly higher. When undigested lactose reaches the large intestine, bacteria ferment it the same way they ferment the sugars in beans, producing gas, bloating, and sometimes diarrhea.
The severity varies widely. Some people can handle a splash of milk in coffee but not a bowl of ice cream. Hard cheeses like cheddar and Parmesan contain very little lactose and rarely cause problems. Yogurt is often better tolerated than milk because the bacterial cultures used in fermentation have already broken down some of the lactose. Lactose-free milk and enzyme supplements are effective alternatives for people who react to standard dairy.
High-Fructose Fruits
Not all fruits cause bloating equally. The key factor is the ratio of fructose to glucose. When a fruit contains more fructose than glucose, the excess fructose is poorly absorbed in the small intestine and ends up being fermented in the colon. Apples, pears, mangoes, and watermelon are common offenders because they have a high fructose-to-glucose ratio.
Research from Monash University, which developed the low-FODMAP diet, has shown that adding glucose to high-fructose foods doesn’t improve absorption or reduce symptoms, so pairing these fruits with other foods won’t help. The better approach is choosing lower-fructose alternatives. Bananas, blueberries, strawberries, oranges, and grapes tend to have a more balanced sugar ratio and are less likely to cause problems.
Onions, Garlic, and Wheat
These three staples are high in fructans, a type of carbohydrate chain that humans can’t break down. Your small intestine draws in extra water to help move these undigested molecules through to the large intestine, and once they arrive, bacteria ferment them aggressively. The combination of extra water and gas production is what creates that uncomfortable, distended feeling.
Onions and garlic are particularly problematic because they show up in so many prepared foods, sauces, and seasonings. For people who are sensitive, even small amounts can trigger symptoms. Cooking doesn’t break down fructans the way it helps with raffinose in cruciferous vegetables. The green tops of spring onions are a lower-fructan alternative to onion bulbs, and garlic-infused oil (where the garlic pieces are removed) can add flavor without the fructans, since they don’t dissolve in fat.
Carbonated Drinks
This one is straightforward. Carbonated beverages introduce carbon dioxide gas directly into your stomach, physically stretching it and creating a feeling of fullness and bloating. Some of this gas gets released through burping, but the rest moves through your digestive tract. Sparkling water, soda, beer, and kombucha all have this effect.
Drinking through a straw or gulping quickly makes it worse because you swallow additional air on top of the carbonation. If carbonated drinks consistently bother you, switching to still water or non-carbonated beverages is the simplest fix.
Sugar Alcohols in “Sugar-Free” Products
Sugar alcohols like xylitol, sorbitol, maltitol, and erythritol are common in sugar-free gum, candy, protein bars, and diet foods. They’re poorly absorbed in the small intestine, and when they reach the colon, they draw in water through osmosis and get fermented by bacteria. The result is gas, bloating, and in higher doses, diarrhea.
Not all sugar alcohols are equally problematic. Erythritol is the best tolerated: healthy adults can consume up to 35 grams without symptoms, and even at 50 grams the effects are relatively mild. Xylitol is more aggressive, with 35 to 50 grams causing significant bloating, nausea, and watery stools in studies. Sorbitol causes loose stools at around 40 grams per day. Maltitol has the highest threshold, with most people tolerating up to about 90 grams before experiencing diarrhea. Check ingredient labels on sugar-free products, because it’s easy to consume more than you realize when snacking throughout the day.
High-Sodium Foods
Salty foods cause a different type of bloating that has nothing to do with gas. Research from Johns Hopkins found that higher sodium intake directly increases gastrointestinal bloating. Salt causes water retention throughout your body, including in your abdomen, and there’s evidence it may also alter your gut microbiome in ways that increase bacterial gas production.
Processed foods, restaurant meals, canned soups, deli meats, and salty snacks are the most common sources of excess sodium. The bloating from salt tends to feel different from gas-related bloating: it’s more of a puffiness or heaviness rather than sharp pressure. Drinking more water and reducing sodium intake for a day or two typically resolves it.
Fiber Supplements and Fortified Foods
Fiber is healthy, but increasing your intake too quickly is one of the most common causes of bloating. This is especially true for foods with added fiber ingredients like chicory root (often listed as inulin), cellulose, and pectin. Chicory root fiber in particular is a highly fermentable prebiotic that gut bacteria love, and it shows up in everything from protein bars to high-fiber cereals and ice cream alternatives.
If you’re increasing fiber in your diet, the general guidance is to do it gradually over several weeks and drink plenty of water alongside it. Your gut bacteria population adjusts over time, and the same amount of fiber that causes significant bloating in week one may not bother you at all by week four. Checking ingredient labels for chicory root fiber or inulin can help you identify unexpected sources of fermentable fiber in packaged foods.
Why the Same Foods Affect People Differently
Your individual gut microbiome, enzyme production, and intestinal sensitivity all play a role in which foods bother you. Two people can eat the same meal and have completely different experiences. People with irritable bowel syndrome are especially susceptible because their intestines are more sensitive to the normal stretching that gas and water cause. For them, even modest amounts of fermentation that a less sensitive gut would ignore can trigger pain and visible distension.
Keeping a simple food diary for two to three weeks is one of the most effective ways to identify your personal triggers. Write down what you eat and when bloating occurs. Patterns usually emerge quickly. A low-FODMAP elimination diet, ideally guided by a dietitian, takes this a step further by systematically removing and reintroducing fermentable carbohydrates to pinpoint exactly which categories cause your symptoms.

