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.
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
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
Ba DM, Ssentongo P, Beelman RB, et al. Higher mushroom consumption is associated with lower risk of cancer: A systematic review and meta-analysis of observational studies. Adv Nutr. 2021 Mar 16:nmab015. doi:10.1093/advances/nmab015
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
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
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
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
Kregiel D. Health safety of soft drinks: contents, containers, and microorganisms. Biomed Res Int. 2015;2015:128697. doi:10.1155/2015/128697
International Foundation for Gastrointestinal Disorders (IFFGD). Foods That May Cause Gas.
Cleveland Clinic. Foods That Help Reduce Bloating.
Sullivan S.N. Functional Abdominal Bloating with Distention. ISRN Obstetrics and Gynecology. 2012;721820:5. doi:10.5402/2012/721820
Gibson P, Shepherd S. Evidence-based dietary management of functional gastrointestinal symptoms: The FODMAP approach. J Gastroenterol Hepatol. 2010;25(2):252-258. doi:10.1111/j.1440-1746.2009.06149.x
International Foundation for Functional Gastrointestinal Disorders. Gas and Bloating.
National Institute of Diabetes and Digestive and Kidney Diseases. Symptoms & Causes of Gas in the Digestive Tract.
- Belching (Burping)
- Passing gas (flatus)
- Abdominal cramping
- A full feeling in the abdomen (bloating)
- Swollen abdomen from internal pressure (distention)
Burping is a normal part of digestion, especially after meals. Passing gas 15-20 times a day is also normal. Â Burping and passing gas may cause embarrassment, but rarely indicate a medical problem.
What Causes Gas & Bloating?
There are two main causes of gas in the digestive tract (esophagus, stomach, small intestine, large intestine).
- Digestion and fermentation of foods – Your digestive tract contains beneficial bacteria that break down food and nutrients.  In your large intestine, gas is formed during the fermentation process of carbohydrates like fiber and sugar.
- Swallowing Air – Everyone swallows some air while eating and drinking. Drinking or eating quickly, smoking, chewing gum, or even loose dentures can cause some to swallow more air. Â The medical term for swallowing air is aerophagia.
Foods That Cause Gas
Most foods with carbohydrates can cause gas while protein and fats cause little gas.
Sugars such as lactose, fructose, raffinose, stachyose, verbascoce, and sorbitol can cause gas.
High Fiber Foods- Beans (legumes)
- Vegetables
- Fruits
- Whole grains
Even though high-fiber foods can increase gas, fiber is critical for a healthy digestive tract.
Other Dietary ConsiderationsCarbonated beverages, fiber supplements, and artificial sweeteners can also cause excess gas in the digestive system.
Medical Conditions that Cause Gas
Some medical conditions can increase intestinal gas, gas pains, or bloating including:
- Intestinal diseases – chronic intestinal diseases like Crohn’s disease, ulcerative colitis, and diverticulitis can cause excess gas.
- Overgrowth of bacteria – A change or increase in small intestine bacteria may cause excess gas, weight loss, or diarrhea.
- Food intolerance – some food intolerances can cause excess intestinal gas. Â This is caused by an inability to properly break down the sugar in dairy products (lactose intolerance) or gluten (celiac disease).
- Constipation – It may be difficult to pass gas when experiencing constipation.
Diagnosing Gas, Gas Pains, and Bloating
Even though gas and bloating are common, a medical evaluation may sometimes be necessary. If you experience blood in the stool, diarrhea, fevers, anemia, or weight loss, you should talk to a doctor.
Medical History & Physical ExamFirst, your doctor will review your medical history and ask questions about your symptoms and dietary habits.
The doctor may also examine your abdomen for tenderness or anything that feels abnormal. Â A stethoscope may be used to help the doctor determine how well the digestive tract is working.
The results of these preliminary tests will help determine the next level of diagnosis if necessary.
Additional Tests for Gas, Gas Pains, and Bloating- Breath tests – Breath tests can help determine problems of malabsorption or intestinal bacteria overgrowth.
- Colonoscopy – In patients 50 or older, or who have a family history of colorectal cancer, the possibility of colon cancer may be considered.
- Imaging – If chronic belching is a problem, x-rays may be used to inspect the small intestine, stomach, and esophagus. This is known as an upper GI series
Treatment for Gas, Gas Pains, and Bloating
If your gas and gas pains are caused by an underlying condition, treatment for that condition may provide relief. Usually, gas can be treated through lifestyle modifications, dietary changes, and over-the-counter medications.
Dietary ConsiderationsNot everyone has the same reaction to all foods. Â Keeping a food diary can help you determine which foods cause increases in gas and bloating. Â Eliminating or reducing certain foods may be necessary to reduce your symptoms.
High-Fiber FoodsFoods that can cause gas due to high fiber include whole wheat, bran, prunes, peaches, apples, pears, asparagus, artichokes, cauliflower, cabbage, Brussels sprouts, broccoli, onions, and beans.  You may try avoiding high-fiber foods for a week or two and gradually start to eat them again. You should visit a doctor or dietitian to make sure you’re getting enough fiber.
DairySome people do not easily digest lactose, the sugar found in dairy products. Â Reducing or eliminating dairy products could help you reduce symptoms of gas and bloating. There are often lactose-free options for some products like milk.
You may try eliminating sugar substitutes or trying a different type.
Fatty/Fried FoodFat in your digestive tract can slow down digestion, allowing food to ferment longer and produce gas. Reducing fat in your diet may help lessen symptoms.
Carbonated BeveragesSoda, beer, sparkling water, or other carbonated drinks can increase the amount of gas in your digestive tract.
Fiber SupplementsSome fiber supplements could cause an increase in gas and bloating. Â Visit with your doctor about what types of fiber supplements might be right for you.
WaterDrink more water throughout the day and with meals. Â This will reduce the chances of constipation.
Over-The-Counter Medications for Gas
Beano, BeanAssist – Â these alpha-galactosidase medications aid in the digestion of carbohydrates often found in vegetables and beans. These supplements are taken right before you eat.
Lactaid, Digest Dairy Plus – Lactase supplements aid the digestive process of lactose, the sugar in dairy products. They will help reduce symptoms in people who are lactose intolerant. If you are breastfeeding or pregnant, talk to your doctor before using lactase supplements.
Gas-X, Mylanta Gas Minis – Simethicone can break down gas bubbles making it easier for gas to pass through the digestive tract. However, there is minimal evidence showing it reduces symptoms.
Actidose-Aqua, CharoCaps – Activated charcoal, taken before and after a meal, may reduce symptoms. Research has not proven these claims. Activated charcoal could also interfere with the absorption of medications. Â It can also stain your clothing and the inside of your mouth.
Prescription Medications for Gas
For those with more serious, underlying conditions like irritable bowel syndrome, your doctor may prescribe prescription medications.
Lifestyle Changes to Reduce Gas
Some lifestyle adjustments can help reduce gas, gas pains, and bloating.
- Eat smaller portions – Many healthy foods can also cause gas. Â Eating smaller portions may help reduce excess gas.
- Chew completely and slow down – If you eat too fast, it could cause gas. Â Tip: put down your fork between each bite.
- Avoid
- drinking through straws
- chewing gum
- sucking on hard candies
- Secure dentures properly – If dentures are loose, they can cause you to swallow excess air when eating and drinking.
- Don’t smoke – Smoking can increase the amount of air you swallow.
- Get regular exercise – exercising most days will help reduce the risk of constipation, which blocks gas from exiting your colon.