Gas is air in your digestive tract. Gas leaves your body through your mouth when you burp or through your anus when you pass gas.
Flatulence is excess gas in your stomach or intestines that can cause bloating and flatus. Flatus, gas that leaves your body through your anus, can contain small amounts of sulfur. Flatus that contains more sulfur has more of an odor.
Everyone has gas. People may think that they burp or pass gas too often and that they have too much gas. Having too much gas is uncommon.
Who is more likely to get gas?
Certain conditions may cause you to have more gas or to have more symptoms when you have a normal amount of gas in your digestive tract. People who swallow more air or eat certain foods may be more likely to have more gas.
Symptoms & Causes
What are the symptoms of gas?
The most common gas symptoms include burping, passing gas, bloating, and pain or discomfort in your abdomen. Gas symptoms vary from person to person.
Burping
Burping, or belching, once in a while, especially during and after meals, is normal. If you burp a lot, you may be swallowing too much air and releasing it before the air enters your stomach.
Passing gas
Passing gas around 13 to 21 times a day is normal.1
Bloating
Bloating is a feeling of fullness or swelling in your abdomen. Bloating most often occurs during or after a meal.
Pain or discomfort in your abdomen
You may feel pain or discomfort in your abdomen when gas does not move through your intestines normally.
When should I talk with a doctor about my gas symptoms?
Gas normally enters your digestive tract when you swallow air and when bacteria in your large intestine break down certain undigested foods. You may have more gas in your digestive tract if you swallow more air or eat certain foods.
Swallowed air
Everyone swallows a small amount of air when eating and drinking. You swallow more air when you
chew gum
drink carbonated, or fizzy, drinks
eat or drink too fast
smoke
suck on hard candy
wear loose-fitting dentures
Swallowed air that doesn’t leave your stomach by burping moves into your intestines and passes through your anus.
You swallow more air when you chew gum; drink carbonated, or fizzy, drinks; or suck on hard candy.
Bacteria in your large intestine
Your stomach and small intestine don’t fully digest some of the carbohydrates—sugars, starches, and fiber—in the food you eat. Undigested carbohydrates will pass to your large intestine, which contains bacteria. These bacteria break down undigested carbohydrates and create gas in the process.
What foods, drinks, or products cause gas?
A variety of foods, drinks, and products can cause gas. See the following table for examples.
Table 1. Examples of foods, drinks, and products that can cause gas
Foods
Vegetables asparagus artichokes black beans broccoli brussels sprouts cabbage cauliflower kidney beans mushrooms navy beans onions pinto beans
Fruits apples peaches pears
Whole Grains bran whole wheat
Milk Products cheese ice cream yogurt
Packaged Foods with Lactose bread cereal salad dressing
Drinks
apple juice pear juice
carbonated drinks drinks with high-fructose corn syrup
fruit drinks (such as fruit punch) milk
Products
Sugar-free Products with Sorbitol, Mannitol, or Xylitol candies gum
Dietary Supplements and Additives certain types of fiber, such as inulin and fructo-oligosaccharide, that may be added to processed foods to replace fat or sugar fiber supplements
What conditions cause excess gas or increase gas symptoms?
Some conditions can cause you to have more gas than usual or have more symptoms when you have gas. These conditions include the following:
Small intestinal bacterial overgrowth
Small intestinal bacterial overgrowth is an increase in the number of bacteria or a change in the type of bacteria in your small intestine. These bacteria can produce extra gas and may also cause diarrhea and weight loss. Small intestinal bacterial overgrowth is most often a complication of other conditions.
IBS
Irritable bowel syndrome (IBS) is a group of symptoms—including pain or discomfort in your abdomen and changes in your bowel movement patterns—that occur together. IBS can affect how gas moves through your intestines. You may also feel bloated due to increased sensitivity to normal amounts of gas.
Problems digesting carbohydrates that can lead to gas and bloating include
lactose intolerance, a condition in which you have digestive symptoms such as bloating, gas, or diarrhea after eating or drinking milk or milk products.
dietary fructose intolerance, a condition in which you have digestive symptoms such as bloating, gas, or diarrhea after consuming foods that contain fructose.
celiac disease, an immune disorder in which you cannot tolerate gluten, a protein found in wheat, rye, barley, and some products such as lip balm and cosmetics. If you have celiac disease, gluten damages the lining of your small intestine.
Conditions that affect how gas moves through your intestines
prescription and over-the-counter medicines you take
current and past medical conditions
Your doctor may ask you to keep a diary of the food you eat and when your gas symptoms occur. Your diary may show specific foods that are causing gas. Reviewing your diary may also help your doctor find out if you have more gas or are more sensitive to normal amounts of gas.
Your doctor may ask you to keep a diary of the food you eat and when your gas symptoms occur.
listens to sounds within your abdomen using a stethoscope
taps on your abdomen to check for tenderness or pain
Treatment
How can I reduce or prevent excess gas?
To reduce or prevent excess gas and gas symptoms, your doctor may suggest the following:
Swallow less air
Your doctor may suggest that you take steps to swallow less air. For example, eat more slowly, avoid gum and hard candies, and don’t use a straw. If you wear dentures, check with your dentist to make sure they fit correctly. Swallowing less air may help ease gas symptoms, especially if you burp a lot.
Quit smoking
If you smoke, quit smoking. Your doctor can help you find ways to quit smoking. Studies show that people who get help quitting have a better chance of succeeding.
If you smoke, quit.
Change your diet
To reduce gas, your doctor may suggest you eat smaller, more frequent meals and eat less of the foods that give you gas. Learn more about changing your diet to reduce gas.
Take medicines
Some over-the-counter medicines may reduce gas or gas symptoms:
Alpha-galactosidase (Beano, Gas-Zyme 3x) contains the enzyme the body lacks to digest sugars in beans, grains, and many vegetables. You can take this enzyme just before eating to break down gas-producing sugars. Doctors recommend the enzyme for adults and for children ages 12 and older.
Simethicone (Gas-X, Mylanta Gas) can relieve gas-related bloating and pain or discomfort in your abdomen by helping gas pass through your digestive tract. Doctors may recommend simethicone for infants and children.
Lactase tablets and drops are available for people with lactose intolerance. The lactase enzyme digests the lactose in the food or drink and reduces the chances of developing symptoms such as bloating, gas, or diarrhea. Lactose-free and lactose-reduced milk and milk products are available at most supermarkets and are identical nutritionally to regular milk and milk products. Check with your doctor before using lactase products. Some people, such as children younger than age 3 and pregnant and breastfeeding women, may not be able to take these products.
You may be able to reduce gas by avoiding or eating less of the foods that give you gas. You can keep a food diary to help figure out which foods give you gas and how much of the gas-producing foods you can handle.
You may try avoiding or limiting
carbonated, or fizzy, drinks
fried and high-fat foods
high-fiber foods for a few weeks and then slowly increasing your daily fiber intake
sugar
If your doctor diagnoses you with celiac disease, your doctor will recommend a gluten-free diet. Most people with celiac disease see a big improvement in their symptoms when they follow a gluten-free diet.
If your doctor diagnoses you with lactose intolerance, your doctor may recommend limiting how much lactose you eat or drink. Many people can manage the symptoms of lactose intolerance by changing their diet.
If your doctor diagnoses you with irritable bowel syndrome, your doctor may recommend trying a special diet—called Low FODMAP or FODMAP. If you follow this diet, you avoid or eat less of certain foods—called high FODMAP foods—that contain carbohydrates that are hard to digest. Examples of high FODMAP foods include certain fruits and vegetables, dairy products, wheat and rye products, and foods that contain certain types of sweeteners.
Talk with your doctor about which changes to your diet are best.
Clinical Trials
The National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) and other components of the National Institutes of Health (NIH) conduct and support research into many diseases and conditions.
What are clinical trials and are they right for you?
Clinical trials are part of clinical research and at the heart of all medical advances. Clinical trials look at new ways to prevent, detect, or treat disease. Researchers also use clinical trials to look at other aspects of care, such as improving the quality of life for people with chronic illnesses. Find out if clinical trials are right for you.
What clinical trials are open?
Clinical trials that are currently open and are recruiting can be viewed at www.ClinicalTrials.gov.?
This content is provided as a service of the National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK), part of the National Institutes of Health. The NIDDK translates and disseminates research findings through its clearinghouses and education programs to increase knowledge and understanding about health and disease among patients, health professionals, and the public. Content produced by the NIDDK is carefully reviewed by NIDDK scientists and other experts.