Foods That Cause Gas and Bloating: The Full Trigger List
Most gas and bloating comes from a small group of usual suspects: beans, dairy, cruciferous vegetables, wheat, onions and garlic, certain fruits, sugar-free anything, and carbonated drinks. The mechanism is almost always the same. Carbohydrates your small intestine cannot fully absorb arrive in the colon, where bacteria ferment them into hydrogen, methane, and carbon dioxide. The gas has to go somewhere.
A healthy person passes 500 to 1,500 mL of gas a day, and around 13 to 21 flatus events is well within normal range (Furne and Levitt, 1991). Some of the worst-feeling foods are also some of the healthiest, which is the frustrating part. Below is the full list, the science behind each one, and what to do if a food you love hates you back.
- Beans, lentils, and chickpeas contain raffinose and stachyose - oligosaccharides humans cannot digest, which colonic bacteria ferment into gas
- Cruciferous vegetables (broccoli, cauliflower, cabbage, Brussels sprouts) contain raffinose plus sulfur compounds that produce particularly smelly gas
- Dairy is a problem for about 36% of Americans with lactose malabsorption - bloating, gas, and diarrhea hit 30 minutes to 2 hours after eating
- Wheat, onion, and garlic contain fructans, which a 2018 trial showed are the actual culprit in most "gluten sensitivity" cases
- Sugar alcohols (sorbitol, mannitol, xylitol, maltitol) ferment in the colon AND pull water in osmotically - a double-hit for bloating
- Carbonated drinks deliver CO2 directly into your stomach; chewing gum and eating fast add swallowed air on top
- The fix is rarely elimination - it is identifying YOUR triggers through tracking, then adjusting portions, prep methods, or timing
How Food Becomes Gas
Two things produce intestinal gas: bacteria fermenting undigested carbs, and air you swallow. The bacterial pathway is the big one.
Your small intestine has a fixed enzyme toolkit. It can break down most starches, simple sugars, and proteins. What it cannot break down: certain short-chain carbohydrates called FODMAPs (fermentable oligosaccharides, disaccharides, monosaccharides, and polyols). These slip past the small intestine intact and arrive in the colon, where trillions of bacteria are waiting. The bacteria ferment them, and the byproducts are hydrogen, methane, carbon dioxide, and short-chain fatty acids. About 90% of the gas you pass is made up of nitrogen, oxygen, CO2, hydrogen, and methane (Harvard Health).
FODMAPs also pull water into the gut osmotically, which is why bloating often comes with a sense of fullness or distension before any gas has built up. The combination of luminal water plus fermentation gas is what stretches the gut wall and causes the visible bloat (StatPearls: Low-FODMAP Diet in Clinical Practice).
The second pathway is aerophagia - swallowed air. Drinking through straws, chewing gum, eating fast, smoking, and carbonated drinks all push extra air into the stomach. Most of it comes back up as burps. Some makes it further down (Mayo Clinic).
Beans, Lentils, and Other Legumes
The infamous one. Beans contain two oligosaccharides - raffinose and stachyose - that humans lack the enzyme (alpha-galactosidase) to break down. They reach the colon intact and get fermented by gas-producing bacteria. The NIDDK lists legumes (beans, peas, lentils) explicitly as a top dietary gas source (NIDDK).
Two things make this manageable. First, the prep matters: soaking dried beans overnight and discarding the soaking water leaches a significant portion of the oligosaccharides out before they ever reach your plate. Rinsing canned beans in a colander does a smaller version of the same thing.
Second, your gut adapts. A 2011 study at Loma Linda University found that gas symptoms from a half-cup of beans daily peaked in the first week and dropped sharply within two to three weeks as the microbiome shifted to handle the load (Winham and Hutchins, Nutrition Journal 2011). Quitting beans because they cause gas is a bit like quitting the gym because the first session is hard.
If you need them gone faster, the over-the-counter enzyme product Beano (alpha-galactosidase) does the digestion your gut cannot. Take it with the first bite, not after.
Cruciferous Vegetables
Broccoli, cauliflower, cabbage, Brussels sprouts, kale, bok choy, and collard greens. The NIDDK calls this group out by name alongside legumes (NIDDK). They contain raffinose, like beans, but they also bring sulfur compounds (glucosinolates) that the gut breaks down into hydrogen sulfide - the gas responsible for the smell of rotten eggs and the social cost of cauliflower.
Cooking helps. Raw kale and raw cabbage are notoriously gassy because the fiber is intact and the enzymes that produce sulfur compounds are still active. Light steaming, roasting, or fermenting (sauerkraut, kimchi) breaks down some of the raffinose and softens the fiber, which speeds transit through the small intestine and reduces colonic fermentation time.
Dairy
Lactose is a disaccharide that requires the enzyme lactase to split into glucose and galactose for absorption. Roughly 65% of the adult global population loses most of their lactase activity after weaning - the default mammalian state. In the U.S., about 36% of people have lactose malabsorption (NIDDK).
Undigested lactose in the colon does the standard FODMAP thing: bacteria ferment it into gas, and it pulls water in. Symptoms (bloating, gas, cramping, sometimes diarrhea) typically appear 30 minutes to 2 hours after eating dairy (Catanzaro et al., StatPearls 2024).
Not all dairy hits equally. Hard aged cheeses (cheddar, parmesan, Swiss) are nearly lactose-free because bacteria consume the lactose during aging. Yogurt and kefir contain live cultures that pre-digest some of the lactose. Milk, ice cream, soft cheeses, and cream are the problem foods. Lactase enzyme supplements (Lactaid) work if taken with the meal.
Wheat, Onion, and Garlic (the Fructan Three)
Fructans are chains of fructose molecules linked by β-bonds that human digestive enzymes cannot cleave. They pass to the colon untouched and ferment vigorously (StatPearls 2024). The biggest dietary sources are wheat, rye, barley, onions, garlic, leeks, and shallots.
This is where the "I'm gluten sensitive" conversation gets interesting. A double-blind crossover trial published in Gastroenterology in 2018 tested people with self-reported non-celiac gluten sensitivity against three challenge diets: gluten, fructan, and placebo. Fructan, not gluten, produced significantly higher GI symptom scores (Skodje et al., 2018). For most people who feel better off bread, the wheat fructans were the trigger, not the gluten protein.
Onion and garlic are sneakier because they hide in almost every restaurant dish and packaged sauce. Garlic-infused oil is a useful workaround: fructans are water-soluble, not oil-soluble, so the flavor transfers to oil while the FODMAPs stay in the discarded clove.
High-Fructose Fruits
Apples, pears, watermelon, mangoes, cherries, and dried fruit. These contain free fructose in excess of glucose, and excess fructose is poorly absorbed by the small intestine in most people (NIDDK). The unabsorbed fructose reaches the colon and ferments.
Honey and high-fructose corn syrup hit the same way. Fruit juice concentrates the problem because the fiber that slows fructose delivery is gone. A glass of apple juice can deliver more bloat-inducing fructose than two whole apples.
Bananas, citrus fruits, berries, grapes, and kiwi have a more favorable glucose-to-fructose ratio and tend to be tolerated well even by IBS patients.
Sugar Alcohols (Sorbitol, Mannitol, Xylitol, Maltitol)
Look at the label on sugar-free gum, "no sugar added" candy, protein bars, and diet ice cream. Anything ending in "-ol" is a polyol. Sorbitol, mannitol, xylitol, erythritol, and maltitol are all sugar alcohols that the small intestine absorbs poorly (NIDDK).
Polyols are particularly nasty for bloating because they hit you twice: bacteria ferment them in the colon, AND they pull water in osmotically (the same reason they are used as laxatives in higher doses). A 2016 review in Nutrients found that as little as 10 g of sorbitol or mannitol produces significant GI symptoms in healthy adults (Mäkinen, 2016). One pack of sugar-free gum can deliver that easily.
Among the polyols, erythritol is the gentlest because most of it is absorbed in the small intestine and excreted in urine before reaching colonic bacteria. Maltitol is the worst offender. Mannitol and sorbitol sit in between.
Carbonated Drinks
Soda, sparkling water, beer, kombucha, champagne. The carbonation IS carbon dioxide gas, and you are swallowing it directly into your stomach. Most of it comes back up as burps, but a meaningful fraction passes into the small intestine and contributes to bloating (Mayo Clinic).
Diet sodas double up on the problem - the CO2 plus sugar alcohols or aspartame can produce dramatic bloating in sensitive people. If you drink La Croix all day and feel distended by 3 pm, this is why.
Fatty and Fried Foods
Fat does not ferment, so it does not directly cause gas the way carbs do. What it does is slow gastric emptying. Food sits longer in your stomach, which gives you that heavy, bloated, full-after-three-bites feeling. Fried foods are the typical offender, along with rich cream sauces, fatty cuts of meat, and pastries (Mayo Clinic).
For people with gallbladder dysfunction or fat malabsorption, high-fat meals also produce greasy, floating, foul-smelling stools - a condition called steatorrhea. If you are noticing color changes alongside bloating, our stool color chart covers what each variation means.
High-Fiber Foods When You Are Not Used to Them
Fiber is universally good for the gut. But adding a lot of it at once is a guaranteed gas event. The bacteria that ferment fiber expand to match the supply, and that adaptation takes one to three weeks (Holscher, 2017).
The mistake is going from 10 g/day to 35 g/day overnight because TikTok told you to. Ramp up by 5 g/week. Drink more water. This is exactly the right way to approach it - we covered the full progression in our fibermaxxing guide. The short version: bloat now is the cost of better digestion later.
The Air You Swallow
Not technically a "food," but the swallowed-air pathway accounts for a real chunk of upper GI bloating. Habits that increase aerophagia (Mayo Clinic):
- Chewing gum (constant swallowing)
- Drinking through straws
- Eating fast or talking while eating
- Smoking and vaping
- Loose-fitting dentures
- Drinking very hot or very cold beverages quickly
If you are bloated mostly in the upper abdomen and you burp a lot, this is likely the dominant driver.
What About "Healthy" Foods That Bloat You
The cruel irony: many of the foods that cause the most gas are some of the best things you can eat. Beans, lentils, broccoli, garlic, apples, onions, whole wheat - these are the staples of a Mediterranean-style diet that reduces cardiovascular disease, supports the microbiome, and is associated with longer life.
Eliminating them is the wrong move for most people. The right move is identifying which specific ones bother you, in what quantities, and prepared which ways. That is what a low-FODMAP elimination protocol is designed to do - and our low-FODMAP diet guide walks through how to do it without ending up on a sad, restricted long-term diet.
When Gas Is a Symptom of Something Else
Most gas and bloating is food-driven and benign. But persistent symptoms can also signal:
- Irritable bowel syndrome (IBS): Bloating affects an estimated 66 to 90% of IBS patients (Lacy and Cangemi, 2023). If your bloating tracks with stress and bowel habit changes, see our guide to signs of IBS.
- SIBO (small intestinal bacterial overgrowth): Bacterial fermentation happens in the small intestine instead of the colon, producing gas almost immediately after eating. Around 36.7% of IBS patients test positive (Chen et al., 2018).
- Celiac disease: Affects ~1% of the U.S. population. Causes bloating, gas, and diarrhea after wheat, barley, or rye. Requires a blood test before going gluten-free.
- Gastroparesis: Delayed stomach emptying causes early fullness and bloating after small meals.
- Ovarian cancer: Persistent new-onset bloating that does not resolve, especially in women over 50, deserves a workup (CDC).
See a gastroenterologist if bloating is severe, persistent for more than 2 weeks, comes with weight loss, blood in stool, vomiting, or wakes you at night.
How to Find Your Actual Triggers
The reason food-trigger lists feel useless is that the list is everyone's list. Your list is shorter. Almost nobody reacts to every FODMAP family. Most people have two or three specific categories that drive the bulk of their symptoms.
The only reliable way to find yours is to track. Log what you ate, when you ate it, and what your gut did in the 12-24 hours after. After two to four weeks, patterns emerge - the apple-and-cashew combo, the garlic in restaurant dressings, the lactose dose that crosses your threshold. Memory will lie to you here; data will not. We went into this in detail in our IBS food triggers guide.
Once you have a working list, you do not need to avoid those foods forever. You need to know your dose, your prep method, and your timing - and you need to stop being surprised when you exceed any of them.
Number Two lets you log meals and bowel movements side by side. After a few weeks of data, the trigger foods stop being a mystery.
Download for iOS - Free