Foods That Cause Gas and Bloating: A Full List

The most common foods that cause gas and bloating are beans, cruciferous vegetables like broccoli and cabbage, dairy products, certain fruits, whole grains, and sugar-free products containing sugar alcohols. All of these share something in common: they contain carbohydrates that your small intestine can’t fully break down, so bacteria in your large intestine ferment them instead, producing hydrogen, carbon dioxide, and methane. More than 99% of intestinal gas is made up of these three gases.

The specific carbohydrates responsible go by names like raffinose, lactose, fructose, and sorbitol, but you don’t need to memorize the chemistry. What matters is knowing which foods contain them and why some bother you more than others.

Beans and Legumes

Beans are the most well-known gas producers, and for good reason. They’re loaded with a complex sugar called raffinose, and humans simply don’t produce the enzyme needed to break it down. Because your body can’t digest raffinose in the upper digestive tract, it passes intact into the large intestine, where bacteria feast on it and release gas as a byproduct. This is true of all legumes: black beans, kidney beans, lentils, chickpeas, and peas.

The good news is that preparation makes a real difference. Soaking dried beans before cooking and then discarding the soaking water reduces raffinose content by about 25%, with some related sugars dropping even more. Canned beans that have been sitting in liquid offer a similar benefit if you drain and rinse them. Sprouting beans before cooking can reduce gas-causing sugars further. You can also build tolerance gradually. Starting with small portions and increasing over a couple of weeks gives your gut bacteria time to adjust.

Cruciferous Vegetables

Broccoli, Brussels sprouts, cabbage, cauliflower, and kale all contain smaller amounts of the same raffinose found in beans, plus a good dose of fiber. Together, these make cruciferous vegetables a common trigger for bloating. Asparagus falls into this category too.

Cooking these vegetables helps. Raw broccoli and cabbage tend to cause more gas than steamed or roasted versions, because heat begins breaking down some of the tough fibers and complex sugars before they reach your gut. If you notice bloating after salads loaded with raw cruciferous veggies, try switching to cooked preparations and see if that changes things.

Dairy Products

Milk, soft cheese, ice cream, and cream-based foods contain lactose, a sugar that requires a specific enzyme to digest. About 68% of the world’s adult population has some degree of lactose malabsorption, meaning their bodies don’t produce enough of that enzyme to handle dairy efficiently. The undigested lactose ferments in the colon, producing gas, bloating, cramping, and sometimes diarrhea.

Prevalence varies dramatically by region. In western, southern, and northern Europe, roughly 28% of people have lactose malabsorption. In the Middle East, it’s closer to 70%. If dairy consistently makes you bloated, you likely fall somewhere on the malabsorption spectrum. Hard aged cheeses like cheddar and Parmesan contain very little lactose and are usually well tolerated. Yogurt is often easier to digest than milk because the bacterial cultures have already broken down some of the lactose.

High-Fructose Fruits

Fructose, the natural sugar in fruit, can cause bloating when your intestine doesn’t absorb it well. This happens more with fruits that have a high ratio of fructose relative to glucose. Apples, pears, and watermelon are the biggest offenders. Fruit juices concentrate the problem because you’re consuming the fructose from multiple servings in one glass, without the fiber that slows digestion.

Not all fruit is equally problematic. Bananas, blueberries, strawberries, oranges, and grapes tend to be easier on the gut. If you love apples but hate the aftermath, eating a smaller portion or pairing it with other food can reduce symptoms.

Sugar-Free Products

Sugar-free gum, candy, protein bars, and diet drinks often contain sugar alcohols: sorbitol, xylitol, mannitol, erythritol, maltitol, and isomalt. These sweeteners are absorbed slowly from the intestine, and whatever isn’t absorbed draws water into the bowel through osmosis and gets fermented by bacteria. The result is gas, bloating, and in larger amounts, diarrhea.

The effect depends on the type and amount. Erythritol is the best tolerated because its small molecular size allows more of it to be absorbed before reaching the colon. Sorbitol and maltitol tend to cause the most trouble. People who chew several pieces of sugar-free gum a day or eat multiple sugar-free snacks often don’t realize these are the source of their symptoms. Checking ingredient labels for anything ending in “-ol” or listed as “sugar alcohol” can help you identify the culprit.

Whole Grains and Starches

Whole wheat, oats, and corn contain both fiber and starches that can produce gas during digestion. Raffinose is present in whole grains too, though in smaller amounts than beans. White rice is a notable exception: it’s the only starchy food that doesn’t typically cause gas because it’s almost completely absorbed in the small intestine.

Fiber deserves special mention here. The recommended daily intake for adults is 25 to 38 grams, but most people eat far less than that. When you suddenly increase your fiber intake, whether from whole grains, vegetables, or supplements, your gut bacteria ramp up fermentation before they’ve had time to adapt. This is why people who start a “healthy eating” kick often feel more bloated, not less. Increasing fiber gradually over about ten days gives your digestive system time to adjust without the uncomfortable side effects.

Carbonated Drinks and Onions

Carbonated water, soda, and beer introduce carbon dioxide directly into your digestive tract. Some of that gas gets released through burping, but the rest travels further down and contributes to bloating. Drinking through a straw or gulping quickly makes it worse because you swallow extra air on top of the carbonation.

Onions and garlic are also frequent triggers. They contain a type of fermentable carbohydrate that’s poorly absorbed even in people with healthy digestion. Cooked onions may be slightly easier to tolerate than raw, but for people who are particularly sensitive, even small amounts in sauces or dressings can cause noticeable bloating.

When Symptoms Actually Appear

One of the trickiest parts of identifying your trigger foods is timing. Gas and bloating from fermentation don’t happen immediately after eating. Food takes anywhere from 12 to 48 hours to move completely through a healthy digestive tract, and fermentation happens in the large intestine, which is near the end of that journey. So the bloating you feel after dinner might actually be caused by what you ate at lunch, or even the previous evening.

This delay is why keeping a food diary for a week or two is more useful than trying to guess in the moment. Write down what you eat and when symptoms appear. Patterns usually become clear within a few days, especially for major triggers like dairy or beans.

Why Some People React More Than Others

Everyone produces intestinal gas. The average person passes gas 13 to 21 times per day. But the same meal can cause misery for one person and nothing for another, and the difference comes down to three things: your gut bacteria composition, enzyme levels, and how sensitive your intestinal nerves are to stretching.

People with irritable bowel syndrome, for instance, often have a heightened sensitivity to normal amounts of gas. Their intestines aren’t producing more gas than anyone else’s, but their nervous system registers it as painful distension. For these individuals, a group of fermentable carbohydrates collectively called FODMAPs (fermentable oligosaccharides, disaccharides, monosaccharides, and polyols) are the most evidence-based dietary approach. A low-FODMAP diet temporarily removes high-fermentation foods, then reintroduces them one category at a time to identify personal triggers.

For most people without a diagnosed condition, the fix is simpler: identify the one or two biggest offenders through observation, adjust portions or preparation, and increase fiber slowly rather than all at once.