According to the National Institute of Diabetes and Digestive and Kidney Diseases, most foods that contain carbohydrates can cause gas, however, fats and proteins cause little gas. Foods that cause gas include the following: Raffinose. A complex sugar found in beans, cabbage, Brussels sprouts, broccoli, asparagus, other vegetables, and whole grains.

A complex sugar found in beans, cabbage, Brussels sprouts, broccoli, asparagus, other vegetables, and whole grains. Lactose. A natural sugar found in milk and milk products, such as cheese, ice cream, and processed foods, such as bread, cereal, and salad dressing. Gas after eating these foods may mean you have lactose intolerance.

A natural sugar found in milk and milk products, such as cheese, ice cream, and processed foods, such as bread, cereal, and salad dressing. Gas after eating these foods may mean you have lactose intolerance. Fructose. A sugar found in onions, artichokes, pears, and wheat. Fructose is also used as a sweetener in some soft drinks and fruit drinks.

A sugar found in onions, artichokes, pears, and wheat. Fructose is also used as a sweetener in some soft drinks and fruit drinks. Sorbitol. A sugar found naturally in fruits, including apples, pears, peaches, and prunes. Sorbitol is also used as an artificial sweetener in many dietetic foods and sugar-free candies and gums.

A sugar found naturally in fruits, including apples, pears, peaches, and prunes. Sorbitol is also used as an artificial sweetener in many dietetic foods and sugar-free candies and gums. Starches. Most starches, including potatoes, corn, noodles, and wheat produce gas as they are broken down in the large intestine. (Rice is the only starch that does not cause gas.)

Most starches, including potatoes, corn, noodles, and wheat produce gas as they are broken down in the large intestine. (Rice is the only starch that does not cause gas.) Soluble fiber. Fiber that dissolves easily in water and takes on a soft, gel-like texture in the intestines; is found in oat bran, beans, peas, and most fruits.

Fiber that dissolves easily in water and takes on a soft, gel-like texture in the intestines; is found in oat bran, beans, peas, and most fruits. Insoluble fiber. Fiber, such as that found in wheat bran and some vegetables, which passes essentially unchanged through the intestines and produces little gas.