8 Foods That Can Give You Gas

If you're looking to avoid gas, keep these foods off your plate

Some people are surprised to learn that everybody has gas. The creation of intestinal gas is part of the normal digestive process. The amount may vary from person to person, but no one is immune.

Yet, many people feel that gas is embarrassing and is something to hide. What's more, it can be uncomfortable. For people with inflammatory bowel disease (IBD), gas and bloating during flare-ups are a common problem.

While there's no way to get rid of intestinal gas completely, avoiding or cutting back on foods that cause gas may help relieve some discomfort. As always, be sure to check with a physician before cutting a food group out of your diet entirely.



Barbecue baked beans
Jacob Snavely/Photolibrary/Getty Images

Most people know that beans tend to cause more gas than other foods. This is because beans contain oligosaccharides, including raffinose. These are large sugar molecules that cannot be broken down or digested in the small intestine. The sugar then passes undigested into the colon, where it is fermented by your "good" bacteria, and gas is produced as a byproduct.

You can avoid gas from beans by taking an enzyme supplement such as Beano that breaks down the oligosaccharides in beans.



Fresh Mushrooms
James Tse/Getty Images

Mushrooms, like beans, contain the oligosaccharide sugar raffinose. Eating mushrooms can cause gas because raffinose is not fully digested in the small intestine, but instead undergoes fermentation in the large intestine. The gas produced by fermentation will then exit as intestinal gas.


Milk and Milk Products

Sasta Fotu/EyeEm/Getty Images

If you're one of the many adults who are lactose intolerant, dairy products can cause a significant amount of gas and bloating. People who are lactose intolerant lack the enzyme lactase, which is necessary to break down lactose (milk sugar). This results in gas and bloating, among other symptoms.

Besides milk itself, dairy products such as ice cream, cheese, and yogurt contain lactose. There may be dairy ingredients in other products.

If you avoid dairy completely, you will want to find other food sources for your daily calcium intake.

Note that lactose intolerance is different than a true milk allergy. People with a milk allergy should avoid milk in any form, at all times.



Whole Wheat Version of Harvest Bread

Wheat is not often thought of as a food that causes gas. However, the starch in wheat creates gas when it is broken down in the large intestine by your good bacteria. Whole wheat and bran, in particular, may be the culprits.

Wheat also contains fructose, a natural sugar that is can be found in fruit. Any undigested fructose from wheat may ferment in the large intestine and lead to gas.


Fruit and Fruit Juice

Fruit Bowl

Westend61 / Getty Images

Apples, apricots, cherries, peaches, pears, plums, and prunes are especially well-known for causing excess gas. Apple juice, pear juice, and fruit drinks are also culprits. The reason is that fruit (like wheat) contains fructose.

If you ingest more than your body can digest, the remaining fructose is broken down by fermentation. A byproduct of fermentation in the large intestine is gas.


Cruciferous Vegetables

Cabbage in a basket

Diana Miller/Cultura/Getty Images 

Broccoli, cabbage, cauliflower, Brussels sprouts, and their relatives are cruciferous vegetables. These healthy vegetables are also notorious for causing gas. The fiber in them is not completely digested in the small intestine. When the good bacteria in the large intestine go to work digesting it, gas is created as a result.

Eating large amounts of these vegetables will cause more gas. Some people find that eating small amounts and increasing the amount slowly over time may help reduce the amount of gas.

Other vegetables that often cause gas include asparagus, artichokes, and onions.


Sugar-Free Sweeteners

Close-Up Of Sugar And Sweetener Packets In Container At Cafe
Sharon Pruitt / EyeEm / Getty Images

Many foods labeled as "sugar-free" or "diet" often contain sweeteners such as xylitol, mannitol, sorbitol, or erythritol. These are naturally-occurring sugar alcohols that are added to foods and drinks to make them sweeter.

When these sugars are broken down by bacteria in the large intestine, gas results. If you're trying to avoid these sugars, it's important to read food labels closely.


Drinks with High-Fructose Corn Syrup

Cola in Glass
Jose Luis Pelaez/The Image Bank/Getty Images

High-fructose corn syrup can produce gas as the fructose is acted on in the gut. Many sweetened drinks and sodas are made with high-fructose corn syrup instead of sugar.

The effects can be even worse if it's in a carbonated drink, as that causes you to introduce additional gas into your intestinal tract. If you don't burp it out, it will come out the other end.

Was this page helpful?
Article Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Fan PH, Zang MT, Xing J. Oligosaccharides composition in eight food legumes species as detected by high-resolution mass spectrometry. J Sci Food Agric. 2015;95(11):2228-36. doi:10.1002/jsfa.6940

  2. Hess J, Wang Q, Gould T, Slavin J. Impact of Agaricus bisporus Mushroom Consumption on Gut Health Markers in Healthy Adults. Nutrients. 2018;10(10). doi:10.3390/nu10101402

  3. Deng Y, Misselwitz B, Dai N, Fox M. Lactose Intolerance in Adults: Biological Mechanism and Dietary Management. Nutrients. 2015;7(9):8020-35. doi:10.3390/nu7095380

  4. Mäkinen KK. Gastrointestinal Disturbances Associated with the Consumption of Sugar Alcohols with Special Consideration of Xylitol: Scientific Review and Instructions for Dentists and Other Health-Care Professionals. Int J Dent. 2016;2016:5967907. doi:10.1155/2016/5967907

  5. Cozma-petruţ A, Loghin F, Miere D, Dumitraşcu DL. Diet in irritable bowel syndrome: What to recommend, not what to forbid to patients! World J Gastroenterol. 2017;23(21):3771-3783. doi:10.3748/wjg.v23.i21.3771

  6. Ruiz-ojeda FJ, Plaza-díaz J, Sáez-lara MJ, Gil A. Effects of Sweeteners on the Gut Microbiota: A Review of Experimental Studies and Clinical Trials. Adv Nutr. 2019;10(suppl_1):S31-S48. doi:10.1093/advances/nmy037

  7. Kregiel D. Health safety of soft drinks: contents, containers, and microorganisms. Biomed Res Int. 2015;2015:128697. doi:10.1155/2015/128697

Additional Reading