Learn about what is typical digestive system gas, what contributes to gas, and what you can do to lessen gas or gas pains.
Update Date: 20.09.2025
Gas in your digestive symptom is part of the typical process of digestion. Getting rid of excess gas, either by burping or passing gas, called flatus, also is a typical bodily function. Gas pain can happen if gas is trapped or not moving well through your digestive system.
An increase in gas or gas pain may happen after eating foods that are more likely to produce gas. Often, simple changes in eating habits can lessen bothersome gas.
Certain digestive system disorders, such as irritable bowel syndrome or celiac disease, may cause an increase in gas or gas pain.
Symptoms associated with gas or gas pains include:
Burping is normal, particularly during or right after a meal. Most people pass gas up to 20 times a day. Therefore, while having gas may be inconvenient or embarrassing, burping and passing gas are rarely by themselves a sign of a medical problem.
Talk to a healthcare professional if your gas or gas pains won't go away or are severe enough to interfere with your ability to function well in daily life. Gas or gas pains accompanied by other symptoms may mean more-serious conditions. See your healthcare professional if you have any of these additional symptoms:
Seek immediate care if you experience:
Gas in your stomach is usually caused by swallowing air when you eat or drink. Most stomach gas is released when you burp.
Gas forms in your large intestine, called the colon, when bacteria ferment certain foods that aren't digested in your small intestine. Bacteria also consume some of that gas, but the remaining gas is released when you pass gas from your anus.
Certain high-fiber foods may cause gas, including:
While high-fiber foods increase gas production, fiber is essential for keeping your digestive tract in good working order. It also helps regulate blood sugar and cholesterol levels.
Other dietary factors that can contribute to increased gas in the digestive system include:
Medical conditions that may increase intestinal gas, bloating or gas pain include:
A healthcare professional will likely determine what's causing gas and gas pains based on:
During the physical exam, your healthcare professional may touch your stomach to determine if there is any tenderness and if anything feels out of the ordinary. Listening to the sound of your belly with a stethoscope can help determine how well your digestive tract is working. A rectal examination also may be done depending on symptoms and findings.
Depending on your exam and the presence of other symptoms — such as weight loss, blood in your stool or diarrhea — additional tests may be ordered.
If your gas pains are caused by another health problem, treating the underlying condition may offer relief. Otherwise, bothersome gas is usually treated with dietary measures, lifestyle modifications or nonprescription medicines. Although the solution isn't the same for everyone, with a little trial and error, most people are able to find some relief.
Dietary changes may help reduce the amount of gas your body produces or help gas move more quickly through your system. Keeping a diary of your diet and gas symptoms will help you and your healthcare team determine the best options for changes in your diet. You may need to eliminate some items or eat smaller portions of others.
Reducing or eliminating the following dietary factors may improve gas symptoms:
The following products may reduce gas symptoms for some people:
Making lifestyle changes may help reduce or relieve excess gas and gas pain.
If the odor from passing gas concerns you, limiting foods high in sulfur-containing compounds — such as broccoli, Brussels sprouts, cabbage, cauliflower, beer and foods high in protein — may reduce distinctive odors. Pads, underwear and cushions containing charcoal also may help absorb unpleasant odors from passing gas.
Before you see your healthcare professional be prepared to answer the following questions:
Keep a journal of what you eat and drink, how many times a day you pass gas, and any other symptoms you experience. Bring the journal to your appointment. It can help your healthcare professional determine whether there's a connection between your gas or gas pains and your diet.
© 2025 Mayo Foundation for Medical Education and Research. All rights reserved. Terms of Use