What Are Gassy Foods? Types, Triggers, and Tips

Gassy foods are those containing carbohydrates your small intestine can’t fully break down, leaving them to ferment in your large intestine where bacteria produce hydrogen, methane, and carbon dioxide. The major categories include beans and lentils, cruciferous vegetables, dairy products, high-fructose fruits, whole grains, carbonated drinks, and sugar-free products sweetened with sugar alcohols. Passing gas 14 to 23 times a day is completely normal, but certain foods can push you well beyond that range.

Beans and Lentils

Beans are the most well-known gas producers, and the reason is straightforward. They’re rich in a family of sugars called raffinose oligosaccharides. Your body lacks the specific enzyme needed to break these sugars down, so they pass through your stomach and small intestine completely intact. When they reach your large intestine, bacteria feast on them and release hydrogen, methane, and CO2 as byproducts.

Black beans, kidney beans, navy beans, chickpeas, and lentils all contain significant amounts of these sugars. The good news is that preparation matters enormously. Soaking dried beans before cooking, then discarding the soaking water, reduces raffinose content by about 25% and another related sugar, verbascose, by roughly 42%. Canned beans that have been sitting in liquid undergo a similar process. Starting with small portions and gradually increasing your intake also gives your gut bacteria time to adjust, which tends to reduce symptoms over a few weeks.

Cruciferous Vegetables

Broccoli, cauliflower, cabbage, Brussels sprouts, and bok choy belong to the cruciferous family and are among the most reliably gas-producing vegetables. Like beans, they contain raffinose sugars that bypass digestion and ferment in the colon. They also contain sulfur compounds, which don’t necessarily increase the volume of gas but are responsible for making it smell noticeably worse.

Cooking these vegetables breaks down some of their complex carbohydrates and makes them easier to digest than eating them raw. Steaming tends to preserve more nutrients than boiling while still softening the fibers enough to reduce their gas-producing potential.

Dairy Products

Milk, ice cream, soft cheeses, and other dairy products cause gas in people who don’t produce enough lactase, the enzyme that breaks down lactose (milk sugar). Globally, 65% to 70% of the population has some degree of lactose intolerance, making this one of the most common dietary causes of gas worldwide. People of East Asian, West African, Arab, Jewish, Greek, and Italian descent are more likely to be affected.

When undigested lactose reaches the colon, bacteria ferment it the same way they ferment the sugars in beans, producing gas, bloating, and sometimes cramping or diarrhea. Hard aged cheeses like cheddar and Parmesan contain very little lactose and are usually well tolerated. Yogurt is partially pre-digested by its bacterial cultures and causes fewer symptoms for most people. Lactose-free milk has the enzyme added during manufacturing, so it’s nutritionally identical but won’t cause gas.

Fructose-Heavy Fruits and Sweeteners

Fructose is a natural sugar found in fruits, honey, and agave syrup. It’s also added to many soft drinks and processed foods as high-fructose corn syrup. Your small intestine can only absorb a limited amount of fructose at one time. When you exceed that capacity, the excess travels to the colon and ferments.

Fruits highest in fructose relative to glucose (the ratio matters for absorption) include apples, pears, mangoes, and watermelon. Dried fruits concentrate the sugar, so a handful of dried apricots delivers more fructose in one sitting than eating a fresh apricot or two. Fruit juices can also be a hidden source because you’re consuming the sugar from multiple pieces of fruit without the fiber that slows absorption.

Sugar Alcohols in Sugar-Free Products

Sugar-free gums, candies, protein bars, and diet foods often contain sugar alcohols like sorbitol, xylitol, mannitol, and maltitol. These sweeteners are only partially absorbed in the small intestine, so a significant portion reaches the colon and ferments. The effects are dose-dependent. Most people tolerate about 10 grams of sorbitol per day with only mild bloating or flatulence, but 20 grams can trigger abdominal pain and diarrhea. For context, a single stick of sugar-free gum contains about 1 to 2 grams of sorbitol, so chewing several pieces throughout the day adds up quickly.

People with irritable bowel syndrome are more sensitive to sugar alcohols and may react at lower doses. Combining sugar alcohols with other poorly absorbed carbohydrates in the same meal amplifies the effect. Of all the sugar alcohols, erythritol is the best tolerated because most of it is absorbed in the small intestine before reaching the colon.

Whole Grains and Bran

Whole wheat, oats, and bran are high in fiber, which is the broad category behind most gas-producing foods. Soluble fiber (found in oats, barley, and the flesh of fruits) dissolves in water and is highly fermentable by gut bacteria. Insoluble fiber (found in wheat bran, vegetable skins, and whole grain husks) is less fermentable but still contributes to gas, especially when you increase your intake suddenly.

The fermentation of soluble fiber produces short-chain fatty acids that are actually beneficial for gut health, lowering intestinal pH and supporting the lining of the colon. So the gas from high-fiber foods is, in a sense, a side effect of something good happening. If you’re adding more fiber to your diet, increasing by about 5 grams per week rather than all at once gives your microbiome time to adapt and typically reduces the bloating and gas that come with a sudden switch.

Carbonated Drinks

Soda, sparkling water, beer, and other carbonated beverages introduce carbon dioxide directly into your digestive tract. Some of that gas escapes as burping, but whatever passes beyond the stomach can contribute to flatulence. Beer is a double hit because it’s both carbonated and contains fermentable carbohydrates from the grain used in brewing. Drinking through a straw or gulping beverages quickly also increases the amount of air you swallow, compounding the effect.

Onions, Garlic, and Other Common Triggers

Onions and garlic contain fructans, a type of carbohydrate that humans can’t digest. Like raffinose in beans and lactose in milk, fructans pass through to the colon intact and get fermented. Leeks, shallots, and the white parts of spring onions are particularly high in fructans. Artichokes and asparagus also contain them. Cooking reduces the fructan content somewhat, and the green tops of spring onions are low in fructans and generally well tolerated.

Why Some People Are Gassier Than Others

The composition of your gut microbiome plays a major role. People whose intestinal bacteria produce more methane tend to experience more bloating, while those with more hydrogen-producing bacteria may pass gas more frequently but with less discomfort. Your microbiome shifts over time based on what you eat regularly, which is why people who eat beans daily often report less gas than someone eating them for the first time in months.

How quickly food moves through your digestive tract also matters. Slower transit gives bacteria more time to ferment carbohydrates, producing more gas. Stress, hormonal changes, and physical activity levels all influence transit time. Eating quickly and not chewing thoroughly means larger food particles reach the colon, giving bacteria more material to work with. Simply eating more slowly and chewing well can make a noticeable difference for some people.

Practical Ways to Reduce Gas

You don’t need to eliminate gassy foods entirely. Most of them are nutritious, and the fermentation process that produces gas also feeds beneficial gut bacteria. A few targeted strategies can help:

  • Soak and rinse dried beans before cooking. Discarding the soaking water removes a meaningful portion of the indigestible sugars, cutting raffinose by about 25%.
  • Cook vegetables rather than eating them raw. Heat breaks down some of the complex carbohydrates that cause fermentation.
  • Increase fiber gradually. A sudden jump from a low-fiber to a high-fiber diet is one of the most common causes of temporary excessive gas.
  • Watch sugar-free products. Check labels for sorbitol, mannitol, xylitol, and maltitol, especially if you’re consuming multiple sugar-free items per day.
  • Try lactose-free alternatives if dairy consistently causes problems. Hard cheeses and yogurt are naturally lower in lactose than milk or ice cream.
  • Space out high-gas foods rather than combining several in one meal. A meal with beans, broccoli, and onions will produce significantly more gas than any of those foods eaten alone.