Most people pass gas between 13 and 21 times a day, so some flatulence is completely normal. Excessive gas, the kind that causes bloating, discomfort, or embarrassment, usually comes down to what you eat, how you eat, or the bacteria living in your gut. The good news is that simple changes can make a noticeable difference within a few weeks.
Where the Gas Actually Comes From
Your body produces intestinal gas through two main routes. The first is swallowed air. Every time you eat, drink, or swallow saliva, several milliliters of air travel down into your stomach. Most of this gets burped back up, but some moves into the intestines.
The second source is far more productive: bacterial fermentation in your large intestine. When certain carbohydrates aren’t fully digested or absorbed in the small intestine, bacteria in the colon feed on them and produce hydrogen, methane, and carbon dioxide as byproducts. This is the primary driver of flatulence, and it’s why diet is the single biggest lever you can pull.
Foods Most Likely to Cause Gas
Certain short-chain carbohydrates are poorly absorbed in the small intestine, which means they arrive in the colon intact and become fuel for gas-producing bacteria. The most common culprits include beans and lentils, wheat-based products like bread and cereal, dairy (milk, yogurt, ice cream), and specific fruits and vegetables. Apples, cherries, pears, and peaches are frequent offenders on the fruit side. Onions, garlic, asparagus, and artichokes top the vegetable list.
You don’t necessarily need to eliminate all of these permanently. Many people benefit from a temporary elimination approach: remove the likely triggers for two to three weeks, then reintroduce them one at a time to identify which specific foods cause problems for you. This is the core principle behind a low-FODMAP diet, which Johns Hopkins Medicine recommends for people with irritable bowel syndrome or small intestinal bacterial overgrowth.
Carbonated drinks also contribute directly by delivering carbon dioxide into your digestive tract. Cutting back on sparkling water, soda, and beer can reduce both bloating and belching.
Slow Down How You Eat
Swallowed air adds up faster than most people realize. Eating quickly, talking during meals, chewing gum, sucking on hard candies, and drinking through straws all increase the amount of air entering your stomach. Smoking is another significant source.
A few practical fixes: chew each bite slowly and swallow before taking the next one. Sip from a glass rather than a straw. Save conversation for after the meal rather than between bites. If you chew gum regularly, try dropping it for a week to see if your symptoms improve.
Increase Fiber Gradually
Fiber is one of the trickiest factors because it’s genuinely good for digestive health, yet adding it too fast is one of the most common causes of sudden gas problems. When fiber has been largely absent from your diet, the bacteria in your gut need time to adjust to the new food source. Dumping a large amount of beans, whole grains, or fiber supplements into your routine all at once creates a temporary spike in fermentation.
The solution is a slow ramp-up. Research from UCLA Health found that people who added beans to their diet experienced increased gas initially but returned to normal levels of gas production within three to four weeks. Start with small portions of high-fiber foods and increase gradually over that timeframe, giving your gut microbiome time to adapt.
Over-the-Counter Options That Help
Two types of products are worth trying, and they work in completely different ways.
Digestive Enzyme Supplements
Products containing the enzyme alpha-galactosidase (sold under brand names like Beano) break down the complex carbohydrates in beans, vegetables, and grains before they reach the colon, preventing bacteria from fermenting them into gas. Timing matters: take the supplement right before your first bite or within 30 minutes of starting a meal. Taking it hours later won’t help because the food has already moved past the point where the enzyme can act on it.
If dairy is your trigger, a lactase supplement works on the same principle, breaking down milk sugar before it reaches gas-producing bacteria.
Simethicone
Simethicone (found in Gas-X and similar products) doesn’t prevent gas from forming. Instead, it works on gas that’s already trapped by combining smaller bubbles into larger ones that are easier to pass. It’s taken after meals and at bedtime, and it’s generally well tolerated with very few side effects. It’s most useful for the pressure and bloating sensation rather than reducing the total amount of gas your body produces.
Probiotics for Longer-Term Relief
Because so much gas production depends on which bacteria populate your gut, probiotics can shift the balance over time. A large systematic review published in The Lancet analyzed 14 different probiotic types and found that nine showed significant efficacy for at least one IBS symptom, including bloating and abdominal pain. Not all strains performed equally, though. Specific strains like Bifidobacterium infantis 35624 showed measurable improvements in bloating scores compared to placebo at medium doses.
Probiotics aren’t a quick fix. Most studies measure outcomes over four to eight weeks, so give any probiotic supplement at least a month before deciding whether it’s working. Look for products that list specific strain names and numbers on the label rather than just a genus and species, since efficacy varies at the strain level.
When Gas Signals Something Else
Excessive gas on its own is rarely dangerous, but certain accompanying symptoms point to conditions that need medical evaluation. Pay attention if your gas comes with unintentional weight loss, blood in the stool, persistent diarrhea or constipation, vomiting, or heartburn. These combinations can indicate conditions like celiac disease, inflammatory bowel disease, or bacterial overgrowth that require specific treatment beyond dietary changes.
Gas that’s severe, doesn’t respond to the strategies above after several weeks, or represents a sudden change from your baseline is also worth discussing with a healthcare provider. In many cases, a simple breath test or food diary review can identify the underlying cause and point toward a targeted solution.

