Our Services
Medical Information
Helpful Resources
Published on: 9/13/2026
Beans, lentils, and other legumes are the biggest gas producers, followed by cruciferous vegetables like broccoli, cabbage, cauliflower, and Brussels sprouts, plus onions, garlic, dairy for anyone lactose intolerant, wheat and other high-fiber grains, carbonated drinks, and sugar alcohols such as sorbitol and xylitol found in sugar-free gum and candy. These foods contain fermentable carbohydrates (raffinose, fructans, lactose, and resistant starch) that gut bacteria break down into hydrogen, methane, and carbon dioxide. Which ones affect you most depends on your gut bacteria, digestive enzymes, and any underlying conditions like IBS, SIBO, or celiac disease, so persistent gas paired with bloating, pain, diarrhea, or weight loss deserves a closer look. There are several important factors to consider, including how to test foods one at a time and which symptoms signal something more than diet, so see below to understand more.
If constant gas is disrupting your daily life and you are not sure whether it is your diet or something else, a free, instant online symptom check can help you sort likely causes from red flags in minutes and point you toward the right next step.
Last reviewed for medical accuracy: 09/12/2026
Farting is a normal part of digestion, but if you’re noticing constant gas—sometimes multiple times an hour—it can be uncomfortable or embarrassing. Most of the time, diet is the main driver of excessive farting. Understanding which foods produce the most gas can help you make simple swaps or adjust portions to keep things moving smoothly.
When you eat, undigested carbohydrates reach your large intestine, where resident bacteria ferment them. This fermentation releases gases like hydrogen, methane and carbon dioxide—collectively experienced as farts. Some foods resist digestion more than others, so they tend to cause more gas production.
Below are the categories of foods most commonly linked to constant farting, along with why they cause gas and tips to enjoy them with fewer side effects.
Beans and Legumes
Cruciferous Vegetables
Whole Grains
Dairy Products
Certain Fruits
Onions and Garlic
Sugar Alcohols
Carbonated Beverages
Fatty and Fried Foods
Even if you love some of the above foods, you can often reduce gas without cutting them out completely:
• Gradual introduction
– Increase fiber-rich foods slowly over several weeks.
– This gives gut bacteria time to adapt and produce fewer gases.
• Optimal cooking methods
– Soaking, sprouting, fermenting and cooking thoroughly can pre-break complex carbs.
– Pressure-cooking beans and lentils drastically cuts down on oligosaccharides.
• Portion control
– Instead of a giant broccoli casserole, try a half-cup serving.
– Smaller amounts mean less substrate for gas-producing bacteria.
• Enzyme supplements
– α-Galactosidase (e.g., Beano®) helps digest oligosaccharides in beans and crucifers.
– Lactase pills assist those with lactose intolerance.
• Probiotics and prebiotics
– Certain strains (Bifidobacterium, Lactobacillus) may improve overall digestion.
– Prebiotic fibers feed healthy bacteria, but introduce them slowly to prevent more gas.
• Mindful eating
– Chew thoroughly and eat slowly to minimize swallowed air.
– Avoid talking while chewing or using straws with carbonated drinks.
• Regular exercise
– A 20-minute walk after meals can help move gas through the digestive tract more quickly.
Most dietary gas is harmless, but constant or severe farting—especially if coupled with:
• Abdominal pain or bloating that doesn’t improve
• Unexplained weight loss
• Blood in stool
• Alternating diarrhea and constipation
may signal an underlying condition like irritable bowel syndrome (IBS), small intestinal bacterial overgrowth (SIBO) or malabsorption disorders. If you’re concerned, you might consider a free, online symptom check, using the doctor approved Ubie Symptom Checker.
Always speak to a doctor if you experience anything that could be serious or life-threatening.
• Farting results from bacterial fermentation of undigested carbs in the colon.
• Beans, cruciferous veggies, whole grains, dairy, certain fruits, onions, sugar alcohols and fizzy drinks top the list of gas-producers.
• Cooking methods, enzyme supplements and mindful eating can help you cut down on constant farting.
• If symptoms become severe or persist alongside worrying signs, speak to a doctor.
By tweaking portions, cooking styles and meal composition, you can still enjoy your favorite foods without turning every hour into “Fart O’Clock.” Adjust slowly, pay attention to your body’s signals, and don’t hesitate to reach out for professional medical advice when needed.
(References)
* Levitt MD. Intestinal gas. Postgrad Med. 1975 Jan;57(1):77-81. doi: 10.1080/00325481.1975.11713944. PMID: 1109499.
* Danzl DF. Flatology. J Emerg Med. 1992 Jan-Feb;10(1):79-88. doi: 10.1016/0736-4679(92)90015-l. PMID: 1629596.
* Fardy J, Sullivan S. Gastrointestinal gas. CMAJ. 1988 Dec 15;139(12):1137-42. PMID: 3058280; PMCID: PMC1268474.
* Levitt MD. Intestinal gas. Proc Nutr Soc. 1985 Feb;44(1):145-6. doi: 10.1079/pns19850026. PMID: 3983125.
* León Barúa R. [Flatulence]. Rev Gastroenterol Peru. 2002 Jul-Sep;22(3):234-42. PMID: 12378218.
* KLOTZ AP. IRRITABLE COLON. JAMA. 1964 Nov 16;190:694. PMID: 14215532.
* Rubio-Tapia A, Hill ID, Kelly CP, Calderwood AH, Murray JA, American College of Gastroenterology. ACG clinical guidelines: diagnosis and management of celiac disease. Am J Gastroenterol. 2013 May;108(5):656-76; quiz 677. doi: 10.1038/ajg.2013.79. Epub 2013 Apr 23. PMID: 23609613; PMCID: PMC3706994.
* Leis R, de Castro MJ, de Lamas C, Picáns R, Couce ML. Effects of Prebiotic and Probiotic Supplementation on Lactase Deficiency and Lactose Intolerance: A Systematic Review of Controlled Trials. Nutrients. 2020 May 20;12(5). doi: 10.3390/nu12051487. Epub 2020 May 20. PMID: 32443748; PMCID: PMC7284493.
* Serra J. Management of bloating. Neurogastroenterol Motil. 2022 Mar;34(3):e14333. doi: 10.1111/nmo.14333. Epub 2022 Feb 10. PMID: 35143108.
* Hsu YC, Szu SY. Effects of Gum Chewing on Recovery From Postoperative Ileus: A Randomized Clinical Trail. J Nurs Res. 2022 Oct 1;30(5):e233. doi: 10.1097/jnr.0000000000000510. Epub 2022 Oct 1. PMID: 35951432.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.