Many gastrointestinal conditions can be aggravated by foods that cause gas. Everyone reacts to foods differently, so keep track of the foods you eat and your symptoms. Share this information with your doctor if you need to.

Foods that commonly cause gas include:

    
  • Certain vegetables, such as:     
  • Asparagus
  • Broccoli
  • Brussels sprouts
  • Cabbage
  • Cauliflower
  • Corn
  • Cucumbers
  • Kohlrabi
  • Leeks
  • Onions
  • Peas
  • Peppers
  • Potatoes
  • Radishes
  • Sauerkraut
  • Turnip
  • Beans and other legumes—baked beans, garbanzo (chickpeas), kidney, lentil, lima, navy, pinto
  • Beer
  • Certain sugars: raffinose, lactose, fructose, and sorbitol (found in many fruits, vegetables, and dairy products)
  • Carbonated beverages
  • Sugar substitutes, and sugar-free candies and gums
  • Wheat and wheat bran
  • Whole grains
  • Pasta
  • Certain fruits, such as:     
  • Apricots
  • Cantaloupe and other melons
  • Peaches
  • Pears
  • Prunes
  • Raw apples
  • Milk and other dairy products, including highly fermented cheese
  • Undigestable fats such as Olestra (found in some potato chips)
  • Gas is also caused by swallowing excess air, which can be caused by rapid eating, chewing with your mouth open, gum chewing, drinking through a straw, and smoking.

    Some medications, particularly ones that lower cholesterol, are associated with increased gas production.

    Cutting gas-producing foods from your diet may decrease gas, but could also mean fewer healthy foods in your diet.

    There are prescription and over-the-counter medications that can help. Talk to your doctor about the best way to treat gas.