Excess stomach gas comes from two sources: air you swallow and gas produced by bacteria fermenting food in your large intestine. The second source is far more productive and is usually the reason you feel bloated, uncomfortable, or like you’re passing gas more than normal. The good news is that most causes are dietary or behavioral, not medical.
How Much Gas Is Actually Normal
There’s no firm medical consensus on what “normal” looks like. Older medical literature often cited about 14 gas-passing events per day, but a 2026 study that used wearable sensors in participants’ underwear found the real average was closer to 32 times per day. Individual results ranged from 4 to 59 times daily. So if you feel like you’re gassy, you might simply be more aware of something that’s well within the typical range. The more useful signal isn’t frequency alone but whether your gas comes with pain, bloating, or a sudden change from your personal baseline.
Where the Gas Comes From
Five gases make up over 99% of flatulence: nitrogen, oxygen, carbon dioxide, hydrogen, and methane. Nitrogen and oxygen come mainly from swallowed air. Hydrogen and methane are produced exclusively by bacteria in your colon as they ferment carbohydrates that weren’t fully digested or absorbed in your small intestine. Fruits, vegetables, and legumes contain certain complex sugars that your body can’t break down on its own, so they pass intact into the large intestine where bacteria feast on them and release gas as a byproduct.
Foods That Cause the Most Gas
A group of short-chain carbohydrates collectively called FODMAPs are the most common dietary triggers. They ferment rapidly in the gut and draw in extra water, producing both gas and bloating. The major categories:
- Fructans and GOS: found in wheat, rye, onions, garlic, and legumes like beans and lentils
- Lactose: found in milk, soft cheeses, and yogurt
- Excess fructose: found in honey, apples, and foods with high-fructose corn syrup
- Sugar alcohols (sorbitol and mannitol): found in some fruits and vegetables and used as artificial sweeteners in sugar-free gum and candy
You don’t need to avoid all of these. Most people are sensitive to one or two categories, not all of them. Keeping a simple food diary for a week or two can help you spot which foods consistently precede your worst gas episodes.
Swallowed Air Adds Up Fast
You swallow small amounts of air every time you eat, drink, or swallow saliva. But certain habits push that volume much higher, a condition sometimes called aerophagia. Eating too fast, talking while eating, chewing gum, sucking on hard candy, drinking through straws, and drinking carbonated beverages all increase how much air enters your stomach. Smoking does too.
Stress and anxiety can also play a role. Heightened anxiety sometimes creates a nervous swallowing tic that pulls in extra air without you realizing it. People who use CPAP machines for sleep apnea sometimes experience this as well, since the machine delivers pressurized air that can accumulate in the gut overnight. If your gas is mostly burping and upper-belly bloating rather than flatulence, swallowed air is a likely contributor.
Enzyme Deficiencies and Malabsorption
Sometimes the problem isn’t what you eat but how well your body processes it. Lactose intolerance is the most familiar example: your small intestine doesn’t produce enough of the enzyme needed to break down the sugar in dairy, so it arrives in your colon intact and ferments. Fructose malabsorption works similarly, with fructose passing unabsorbed into the large intestine. Both produce the same cluster of symptoms: gas, bloating, abdominal pain, and sometimes diarrhea after meals.
These two conditions overlap more than you might expect. Research published in the American Journal of Gastroenterology found that up to half of people with lactose malabsorption also malabsorb fructose. If cutting out dairy helped but didn’t fully solve your gas problem, fructose-heavy foods like apples, honey, and high-fructose corn syrup could be the other half of the equation. Breath tests ordered through a doctor can confirm either condition.
When Bacteria Are in the Wrong Place
Your large intestine is supposed to be teeming with bacteria. Your small intestine, by contrast, normally keeps bacterial counts very low, maintained by the muscular contractions that move food along, stomach acid, and a valve between the small and large intestine. When that system breaks down, bacteria can overpopulate the small intestine, a condition called small intestinal bacterial overgrowth (SIBO). Those bacteria start fermenting food earlier in the digestive process than they should, producing excess hydrogen or methane gas.
The hallmark symptoms of SIBO are bloating, excess flatulence, abdominal discomfort, and often diarrhea. It’s diagnosed with a breath test that measures spikes in hydrogen or methane after you drink a sugar solution. SIBO is worth considering if your gas is persistent, started after abdominal surgery or an illness, or comes alongside unexplained diarrhea or fatty stools.
Fiber: The Double-Edged Fix
Fiber is essential for gut health, but adding too much too quickly is one of the most common causes of sudden, dramatic gassiness. If you recently started eating more whole grains, beans, or vegetables, or began taking a fiber supplement, your gut bacteria are adjusting to a flood of new fermentable material.
Michigan Medicine recommends increasing fiber by just 5 grams per day, holding at that level for two weeks before adding another 5 grams. This gradual approach gives your gut microbiome time to adapt without the painful bloating that comes from a sudden jump. Drinking enough water matters too. A high-fiber diet without adequate fluid can cause constipation, which traps gas and makes bloating worse.
Over-the-Counter Options
Two types of products dominate the pharmacy shelf, and they work in completely different ways. Products containing simethicone (like Gas-X) are anti-foaming agents. They break up gas bubbles that have already formed in your gut, making them easier to pass. They won’t prevent gas from being produced, but they can relieve the pressure and discomfort you feel right now.
Products containing alpha-galactosidase (like Beano) take a preventive approach. They supply a digestive enzyme that breaks down the complex sugars in beans, broccoli, and other high-fiber foods before they reach your colon, reducing the amount of material available for bacteria to ferment. You take them with your first bite of a problem food, not after symptoms start.
Probiotics are a third option. A strain called Lactobacillus rhamnosus GG (sold as Culturelle) has shown measurable reductions in bloating, gas, and abdominal discomfort in clinical studies. Probiotics work slowly, though. You’ll typically need several weeks of daily use before noticing a difference.
Practical Steps to Reduce Gas
Start with the simplest changes. Eat more slowly, chew with your mouth closed, and cut back on carbonated drinks, gum, and hard candy. These alone can meaningfully reduce swallowed air.
Next, look at your diet. If you suspect a specific food group, try eliminating it for two to three weeks and see if symptoms improve. Dairy and high-fructose foods are the easiest to test because they’re straightforward to identify and remove. If you’ve recently increased your fiber intake, slow down the pace rather than abandoning fiber altogether.
If none of that helps, or if your gas comes with weight loss, blood in your stool, persistent diarrhea, or a sudden change in your digestive patterns, those are signs that something beyond diet is going on. Conditions like SIBO, inflammatory bowel disease, or celiac disease can all drive excessive gas and are diagnosable with specific tests.

