Doctors Note Logo

Published on: 9/13/2026

Which foods cause the most constant farting?

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

answer background

Explanation

Which Foods Cause the Most Constant Farting?

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.

Why Foods Make You Fart

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.

Top Gas-Producing Foods

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.

  1. Beans and Legumes

    • Why they cause gas: Contain oligosaccharides (raffinose and stachyose), complex sugars our small intestine can’t fully break down.
    • Common culprits: Kidney beans, black beans, lentils, chickpeas.
    • Tip: Soak dried beans overnight and rinse before cooking. Start with small servings and increase gradually.
  2. Cruciferous Vegetables

    • Why they cause gas: High in raffinose and sulfur-containing compounds that bacteria love to ferment.
    • Common culprits: Broccoli, cauliflower, cabbage, Brussels sprouts.
    • Tip: Lightly steaming or roasting can break down fibers and reduce gas production.
  3. Whole Grains

    • Why they cause gas: Rich in fiber (cellulose, hemicellulose) and resistant starches that reach the colon intact.
    • Common culprits: Whole wheat, barley, rye, brown rice.
    • Tip: Introduce whole grains slowly. Opt for sprouted-grain bread, which may be easier to digest.
  4. Dairy Products

    • Why they cause gas: Lactose intolerance affects up to 65% of adults worldwide. Undigested lactose ferments in the colon.
    • Common culprits: Milk, ice cream, soft cheeses, yogurt (less so if live cultures are present).
    • Tip: Try lactose-free dairy or take lactase enzyme supplements before consuming dairy.
  5. Certain Fruits

    • Why they cause gas: Fructose and sorbitol are poorly absorbed sugars.
    • Common culprits: Apples, pears, cherries, peaches, prunes.
    • Tip: Eat fruit in moderation, pair with protein or fat (e.g., nut butter) to slow absorption.
  6. Onions and Garlic

    • Why they cause gas: Contain fructans, a type of soluble fiber that ferments quickly.
    • Common culprits: Raw onions, garlic, leeks, shallots.
    • Tip: Cook or sauté them well—heat breaks down some fructans and reduces gas.
  7. Sugar Alcohols

    • Why they cause gas: Sorbitol, mannitol and xylitol are not fully absorbed and draw water into the colon.
    • Common culprits: Sugar-free gum, mints, “diet” candies, some protein bars.
    • Tip: Check labels for sorbitol or xylitol and limit intake to small amounts.
  8. Carbonated Beverages

    • Why they cause gas: Swallowed air (aerophagia) and dissolved carbon dioxide release gas in the stomach and intestines.
    • Common culprits: Soda, sparkling water, beer.
    • Tip: Sip slowly or switch to still water.
  9. Fatty and Fried Foods

    • Why they cause gas: High-fat meals slow stomach emptying, allowing more time for fermentation lower in the gut.
    • Common culprits: Fries, deep-fried snacks, heavy sauces.
    • Tip: Choose lean proteins and cook with small amounts of healthy fats (olive oil, avocado).

Strategies to Reduce Constant Farting

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.

When to Seek Medical Advice

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.

Key Takeaways

• 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.

Thinking about asking ChatGPT?Ask me instead

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

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.