The biggest gas producers are beans, cruciferous vegetables (broccoli, cabbage, cauliflower), dairy products, certain fruits, and sugar-free foods containing sugar alcohols. Most healthy adults pass gas up to 25 times a day, and the volume and smell depend almost entirely on what you eat.
Gas forms when bacteria in your large intestine ferment carbohydrates your body couldn’t fully digest or absorb higher up in the gut. No human cell can produce the hydrogen and methane that make up most intestinal gas. It’s all bacterial. The smell comes from trace sulfur-containing gases, which is why high-protein and sulfur-rich foods tend to produce the most offensive results.
Beans and Legumes
Beans are the most well-known gas producers for good reason. They contain complex sugars called oligosaccharides (particularly raffinose) that humans lack the enzyme to break down. These sugars pass intact through your stomach and small intestine, arriving in the colon where bacteria feast on them and release hydrogen, methane, and carbon dioxide in the process. Lentils, chickpeas, black beans, kidney beans, and split peas all fall into this category.
Soaking dried beans overnight and discarding the soaking water before cooking reduces some of these sugars. You can also take an enzyme supplement containing alpha-galactosidase (the active ingredient in products like Beano) before eating. In clinical testing, this enzyme significantly reduced both hydrogen production and the severity of flatulence symptoms when taken with a high-bean meal.
Cruciferous Vegetables
Broccoli, Brussels sprouts, cabbage, cauliflower, and kale are packed with fiber and also contain raffinose, the same sugar that makes beans gassy. On top of that, these vegetables are rich in sulfur compounds. That means they don’t just produce more gas; they produce smellier gas. Cooking these vegetables breaks down some of the fiber and makes them easier to digest, which is why raw broccoli tends to cause more trouble than steamed.
Onions, Garlic, and Alliums
Onions and garlic contain fructans, a type of carbohydrate that ferments readily in the colon. They’re also sulfur-rich foods, so they contribute disproportionately to odor. Even in small amounts used as seasoning, onions can trigger noticeable gas in people who are sensitive. Leeks, shallots, and the white parts of spring onions have similar effects.
Dairy Products
Milk, ice cream, soft cheese, and other dairy products cause significant gas in people who don’t produce enough lactase, the enzyme that breaks down lactose (milk sugar). This is extremely common: the majority of adults worldwide have some degree of lactose malabsorption. The threshold for symptoms is roughly 12 to 18 grams of lactose, which is the amount in about 8 to 12 ounces of milk. Hard aged cheeses like cheddar and Parmesan contain very little lactose and rarely cause problems, while a large bowl of ice cream or a milkshake almost certainly will.
If dairy gives you gas, you can try lactose-free versions of milk and yogurt, or take a lactase enzyme tablet before eating. Some people tolerate yogurt better than milk because the bacterial cultures in yogurt have already partially broken down the lactose.
High-Fructose Fruits
Not all fruits are equal when it comes to gas. The ones that cause the most trouble have more fructose than glucose, because excess fructose is harder for your small intestine to absorb. The leftover fructose travels to your colon and ferments. Apples, pears, mangos, watermelon, grapes, and dried fruits like raisins and dates are the worst offenders. Fruit juice concentrates the fructose without the structure of whole fruit, making it especially likely to cause symptoms.
Bananas and mangos have similarly high fructose levels, but mangos have less glucose to help with absorption, so they typically cause more gas. To minimize problems, UVA Health recommends sticking to one or two servings of fruit per day and keeping each serving to about half a cup of cut fruit or one medium piece.
Whole Grains and High-Fiber Foods
Whole wheat bread, bran cereal, oats, and other high-fiber foods are healthy but undeniably gassy. Soluble fiber (found in oats, barley, and many fruits) dissolves in water and forms a gel that bacteria in the colon ferment actively. Insoluble fiber (found in wheat bran and vegetable skins) passes through more intact but still contributes to gas production.
If you’re increasing your fiber intake, doing it gradually over two to three weeks gives your gut bacteria time to adjust. People who jump from a low-fiber to a high-fiber diet overnight tend to experience the worst bloating and gas.
Sugar-Free and Diet Foods
Sugar alcohols like sorbitol, xylitol, mannitol, and erythritol are used in sugar-free gum, mints, protein bars, and diet candies. Your small intestine absorbs these poorly, so they end up in the colon where bacteria ferment them just like any other undigested carbohydrate. At doses above 40 to 50 grams per day, xylitol commonly causes bloating, rumbling intestinal sounds, and increased gas. But many people notice symptoms at much lower amounts, especially with sorbitol, which is one of the least well-absorbed sugar alcohols. A few sticks of sugar-free gum throughout the day can be enough to cause noticeable flatulence.
Meat, Eggs, and High-Protein Foods
Protein-rich foods don’t produce as much total gas volume as carbohydrate-heavy foods, but they produce the worst-smelling gas. Dietary protein from meat is a major substrate for sulfide production by bacteria in the large intestine. The sulfur-containing amino acids in eggs, red meat, and poultry break down into hydrogen sulfide, the compound responsible for a rotten-egg smell. So while a steak dinner might not make you gassy in terms of frequency, each episode is more likely to clear a room.
Carbonated Drinks
Sparkling water, soda, and beer introduce carbon dioxide directly into your digestive system. However, most of this gas gets released through belching rather than flatulence. The carbon dioxide warms up in your stomach and expands, triggering the belch reflex. Research shows there’s no clear evidence that the carbon dioxide from carbonated drinks actually reaches the lower digestive tract in meaningful amounts. Symptoms of gastric discomfort tend to appear only when you drink more than about 300 ml (roughly 10 ounces) in one sitting. So carbonated drinks are more of a burping issue than a farting issue.
That said, sodas sweetened with high-fructose corn syrup can cause lower intestinal gas through fructose malabsorption, not because of the bubbles.
Why Some People Are Gassier Than Others
The composition of your gut bacteria varies enormously from person to person. Someone whose colon is populated with more methane-producing organisms will produce different amounts and types of gas than someone with a different bacterial mix, even eating the same meal. Genetics also play a role in enzyme production: your ability to digest lactose, fructose, and certain starches is partly inherited.
Eating speed matters too. Swallowing air while eating quickly, talking during meals, or chewing gum adds nitrogen and oxygen to your digestive tract. This swallowed air accounts for a portion of daily gas that has nothing to do with food choices. Eating slowly and chewing with your mouth closed reduces this source noticeably.
Reducing Gas Without Cutting Foods Out
You don’t necessarily have to avoid every food on this list. Cooking vegetables thoroughly, soaking beans, increasing fiber gradually, and keeping fruit portions moderate all reduce gas production without eliminating nutritious foods from your diet. Enzyme supplements can help with specific triggers: lactase for dairy, alpha-galactosidase for beans and cruciferous vegetables. Pairing high-fructose fruits with foods that slow digestion can also improve absorption and reduce what reaches the colon.
Keeping a simple food diary for a week or two is the most reliable way to identify your personal triggers. Gas production is highly individual, and the foods that bother you most may not be the ones you’d expect.

