Everyone passes gas. It is a normal part of digestion. Most people do it 13 to 21 times a day. But when it happens often, smells strong, or causes bloating and discomfort, it can feel embarrassing. The good news is that most excess gas comes from everyday habits and food choices. You can change those. This guide explains what causes flatulence and offers practical, evidence-based tips to reduce it.
What Actually Causes Flatulence?
Gas in your digestive tract comes from two sources: swallowed air and the breakdown of food by bacteria in your colon. Swallowing air happens when you eat fast, drink through a straw, chew gum, or suck on hard candy. That air has to come out somehow.
The larger source is fermentation. Your small intestine cannot digest certain carbohydrates completely. These undigested carbs travel to the large intestine. There, bacteria ferment them and produce gas. This is a normal process. It only becomes a problem when the gas volume is high enough to cause bloating, pain, or excessive flatulence.
Certain foods are more likely to ferment. These are often healthy foods like beans, broccoli, cabbage, and onions. The issue is not that these foods are bad. The issue is that your gut bacteria produce gas when they break them down.
How To Prevent Flatulence: The Food Changes That Work
The most effective way to reduce gas is to change what you eat. You do not need to cut out all gas-producing foods. You need to identify which ones affect you most and adjust how you eat them.
Common gas-producing foods include:
- Beans and lentils
- Broccoli, cabbage, cauliflower, and Brussels sprouts
- Onions and garlic
- Apples, pears, and watermelon
- Whole grains like wheat and oats
- Carbonated drinks like soda and beer
- Sugar-free gum and candies containing sugar alcohols
This does not mean you must avoid these foods forever. Some people tolerate them in small portions. Others do better when the food is cooked well. Soaking dried beans overnight and discarding the water before cooking reduces the gas-producing compounds significantly.
Dairy is another common culprit. If you are lactose intolerant, your body does not produce enough lactase, the enzyme needed to digest lactose. Undigested lactose ferments in the colon and produces gas. If dairy causes bloating for you, try lactose-free milk or take a lactase enzyme supplement before eating dairy products.
Why Eating Speed and Habits Matter
How you eat matters as much as what you eat. When you eat quickly, you swallow more air. That air accumulates in your stomach and intestines. Slowing down is a simple fix that works.
Try these habit changes:
- Eat smaller meals more frequently instead of large ones
- Chew food thoroughly before swallowing
- Avoid talking while chewing
- Do not drink through a straw
- Avoid carbonated beverages
- Do not chew gum or suck on hard candy
These changes reduce the amount of air you swallow. Swallowed air is a major contributor to belching but also adds to overall gas pressure in the gut. Reducing it helps both belching and flatulence.
Physical activity after meals also helps. A short walk stimulates intestinal motility. That means food moves through your digestive tract faster, giving bacteria less time to ferment it. You do not need intense exercise. A 10 to 15 minute walk after a meal can make a noticeable difference.
Over-the-Counter Products: What Works and What Does Not
Several over-the-counter products claim to reduce gas. Some have better evidence than others.
Simethicone is the active ingredient in products like Gas-X. It works by breaking up gas bubbles in the digestive tract so they can pass more easily. Some people find it helpful for bloating and pressure. Clinical evidence for its effectiveness is mixed, but it is generally safe to try.
Alpha-galactosidase is the enzyme in products like Beano. It helps break down the complex carbohydrates in beans and certain vegetables before they reach the colon. Research shows it reduces gas production when taken right before eating those foods. It works specifically for bean and vegetable gas, not for all types of flatulence.
Lactase supplements help people with lactose intolerance digest dairy. They are effective when taken before consuming milk, cheese, or ice cream. They do nothing for gas caused by other foods.
Activated charcoal is sometimes marketed for gas. Some small studies suggest it may reduce odor, but evidence for reducing gas volume is limited. It can interfere with medication absorption, so talk to a pharmacist before using it regularly.
Probiotics are a more complicated story. Some research suggests certain strains like Bifidobacterium lactis may reduce bloating and gas in people with irritable bowel syndrome. But results vary widely between products and individuals. Probiotics are not a quick fix. If you try one, give it several weeks and pay attention to whether your symptoms actually improve.
When Flatulence Signals a Digestive Condition
Occasional gas is normal. But excessive flatulence can be a sign of an underlying condition. If you have persistent gas along with other symptoms, it is worth talking to a doctor.
Conditions that cause excess gas include:
- Irritable bowel syndrome (IBS)
- Lactose intolerance
- Celiac disease
- Small intestinal bacterial overgrowth (SIBO)
- Exocrine pancreatic insufficiency
Pay attention to accompanying symptoms. Weight loss, persistent diarrhea, severe abdominal pain, blood in the stool, or gas that gets progressively worse over weeks warrant medical evaluation. These are not normal and should not be dismissed.
If you suspect a food intolerance, a food diary can help. Write down everything you eat and when you experience gas. After two weeks, look for patterns. This is more reliable than guessing. If you suspect celiac disease, do not cut out gluten before seeing a doctor. Gluten must be in your diet for the testing to be accurate.
Lifestyle Factors That Influence Gas Production
Stress affects your digestive system directly. The gut has its own nervous system, often called the enteric nervous system. Stress can slow or speed up digestion, change gut bacteria composition, and increase sensitivity to bloating. Managing stress will not cure gas, but it can reduce how much discomfort you feel.
Smoking is another contributor. Smokers swallow more air, and smoking irritates the digestive tract. Quitting smoking improves many aspects of digestive health, including excessive gas.
Sleep also matters. Poor sleep is linked to changes in gut motility and increased visceral sensitivity. This means you may feel more bloated even at the same gas volume. Prioritizing consistent sleep is a reasonable part of a gas reduction plan.
Frequently Asked Questions
What foods cause the most gas?
Beans, lentils, broccoli, cabbage, onions, and carbonated drinks are the most common gas producers. Sugar-free products with sugar alcohols also cause gas in many people.
Is it normal to pass gas 20 times a day?
Yes, passing gas 13 to 21 times per day is considered normal. More than that with bloating or discomfort may warrant dietary changes or medical evaluation.
Does drinking more water help reduce flatulence?
Staying hydrated helps digestion run smoothly, but water does not directly reduce gas production. It may help prevent constipation, which can worsen bloating.
Can probiotics reduce flatulence?
Some research suggests certain probiotic strains reduce bloating in people with IBS, but results vary. Evidence for reducing gas in healthy people is limited.

