What foods commonly produce gas?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: October 9, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

Foods That Commonly Produce Gas

The most common gas-producing foods include cauliflower, legumes (beans), and foods high in FODMAPs (Fermentable Oligo-, Di- and Mono-saccharides And Polyols), which should be limited in individuals experiencing excessive flatulence and abdominal discomfort. 1

Gas-Producing Foods by Category

Vegetables

  • Cruciferous vegetables (cauliflower, broccoli, cabbage, brussels sprouts) 1
  • Onions and garlic 1
  • Artichokes 1

Legumes

  • Beans (all varieties) 1, 2
  • Lentils 2
  • Chickpeas 2

Carbohydrates with Fermentable Components

  • Foods containing raffinose-type oligosaccharides (found in legumes) 2
  • Foods high in resistant starch 1
  • Wheat products (bread, pasta) 1, 3

Dairy Products

  • Regular milk and dairy products containing lactose 1
  • Some cheeses 1

Fruits

  • Apples 1
  • Pears 1
  • Stone fruits (peaches, plums) 1
  • Watermelon 1

Sweeteners and Additives

  • Sugar alcohols (sorbitol, mannitol, xylitol) 1
  • Fructose (in high amounts) 1
  • Artificial sweeteners 1

Mechanism of Gas Production

Gas in the digestive tract primarily comes from two sources:

  • Swallowed air: Can be increased by eating too quickly, chewing gum, drinking carbonated beverages, or using straws 1
  • Bacterial fermentation: Occurs when undigested or partially digested carbohydrates reach the colon where bacteria ferment them, producing gases 4, 5

The primary gas-producing mechanism involves fermentation of carbohydrates that are not fully digested in the small intestine. These carbohydrates reach the colon where gut bacteria ferment them, producing hydrogen, carbon dioxide, and in some people, methane 4, 6.

Factors That Increase Gas Production

  • Eating habits: Eating quickly, not chewing thoroughly 1
  • Carbonated beverages: Directly introduce gas into the digestive system 1
  • Chewing gum: Increases air swallowing and should be avoided 1
  • Rate of fermentation: Rapidly fermentable fibers can generate more abdominal symptoms than slowly fermentable ones 4

Dietary Approaches to Reduce Gas

General Recommendations

  • Eat slowly and chew food thoroughly 1
  • Avoid carbonated beverages 1
  • Avoid chewing gum 1
  • Separate liquids from solids during meals 1

Specific Dietary Modifications

  • Low-FODMAP diet: Can reduce gas-related symptoms, particularly in individuals with irritable bowel syndrome (IBS) 1, 3
  • Low-flatulogenic diet: Restricting foods low in fermentable residues has been shown to reduce the number of gas evacuations by 54% 5
  • Lactose reduction: Using low-lactose or lactose-free dairy products if lactose intolerance is suspected 1

Special Considerations

Individual Variation

  • Gas production varies significantly between individuals due to differences in gut microbiome composition 1, 4
  • Some people may have heightened visceral sensitivity, making them more aware of normal amounts of intestinal gas 4

Medical Conditions

  • Individuals with IBS often experience more severe symptoms from gas-producing foods 1, 4
  • Those who have undergone bariatric surgery may have increased sensitivity to gas-producing foods 1

Potential Remedies

  • Enzyme supplements like alpha-galactosidase can help break down certain gas-producing carbohydrates 6
  • Probiotics may help modify gut bacteria to reduce gas production 4
  • Activated charcoal has shown some benefit in reducing gas symptoms 6

Caution with Restrictive Diets

  • Long-term restrictive diets (like low-FODMAP) may negatively impact the gut microbiome 3
  • Overly restrictive diets may lead to nutritional deficiencies in fiber, calcium, iron, zinc, folate, and vitamins B and D 3
  • Reintroduction of tolerated foods is recommended after initial elimination phases 1

References

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Research

Intestinal gas: has diet anything to do in the absence of a demonstrable malabsorption state?

Current opinion in clinical nutrition and metabolic care, 2012

Research

Intestinal Gas.

Current treatment options in gastroenterology, 2001

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.