What Causes Bloating? Gas, Food Intolerance & More

Bloating happens when gas builds up in your digestive tract or when your gut retains extra fluid, creating that uncomfortable pressure or visible swelling in your abdomen. Nearly 18% of adults worldwide experience it at least once a week, with rates ranging from 11% in East Asia to 20% in Latin America. The causes span from everyday habits to underlying digestive conditions, and most of them come down to a few core mechanisms.

How Gas Builds Up in Your Gut

Your large intestine is home to trillions of bacteria that feed on whatever food residues your small intestine didn’t fully absorb. As these bacteria ferment those leftovers, they produce hydrogen, methane, and carbon dioxide. A portion of the hydrogen gets absorbed into your bloodstream and leaves through your breath, but the rest accumulates in your gut.

Normally, your intestines are efficient at moving this gas through and out. But when something disrupts that clearance, gas gets trapped. In people prone to bloating, the reflexes that push gas along are impaired: the gut doesn’t respond as strongly to distension, and certain signals (particularly from dietary fats) actually slow transit further. The result is retained gas, abdominal pressure, and sometimes visible swelling.

Fermentable Carbohydrates and Water Retention

Certain carbohydrates are poorly absorbed in the small intestine, and they’re the biggest fuel source for gas-producing bacteria. These are collectively known as FODMAPs, a group that includes specific sugars found in fruits, dairy, wheat, onions, garlic, and many processed foods. They share three properties: your small intestine absorbs them poorly, they’re small enough to pull water into the gut through osmosis, and bacteria ferment them rapidly once they reach the colon.

MRI imaging has shown that consuming fructose, fructans (found in wheat and onions), or sugar alcohols like mannitol (common in sugar-free products) substantially increases the water content in the small intestine compared to plain glucose. This extra fluid stretches the intestinal walls before the carbohydrates even reach the colon, where fermentation then adds gas on top of the distension. It’s a two-hit process: water first, then gas.

Food Intolerances

Lactose intolerance and fructose malabsorption are among the most common triggers. In both cases, the underlying problem is the same: a sugar that should be absorbed in the small intestine passes through to the colon instead.

With lactose intolerance, your body doesn’t produce enough of the enzyme that breaks down milk sugar. With fructose malabsorption, the transporter proteins in your intestinal lining can’t keep up with the amount of fructose you’ve consumed. Some people simply have lower expression of these transporters and can’t ramp up production the way others can. Once these unabsorbed sugars hit the colon, bacteria ferment them into hydrogen, methane, and carbon dioxide. The unabsorbed sugars also draw excess water into the colon, affecting stool consistency and gut motility alongside the bloating itself.

Fructans, found in wheat, onions, and garlic, present a slightly different situation. Humans lack the enzymes to break fructans down at all, so they always pass into the colon. For most people, moderate amounts cause no problems. But for those with sensitive guts, even small quantities trigger significant gas and fluid accumulation.

Swallowed Air

Not all bloating gas comes from fermentation. You swallow small amounts of air every time you eat, drink, or speak, but certain habits dramatically increase the volume. Eating too fast, talking while eating, chewing gum, sucking on hard candy, using straws, drinking carbonated beverages, and smoking all force extra air into the stomach. This condition, called aerophagia, fills the upper digestive tract with gas that has nowhere to go but down or back up.

This type of bloating tends to feel different from fermentation-related bloating. It’s often concentrated higher in the abdomen and more closely tied to meals or specific behaviors. The fix is usually straightforward: slow down, skip the straw, and cut back on carbonation.

Too Much Fiber, Too Fast

Fiber is essential for digestive health, with recommended daily intakes of 22 to 34 grams depending on age and sex. But ramping up your fiber intake quickly is one of the most reliable ways to trigger bloating. Adding a big salad habit, switching to whole grains overnight, or starting a fiber supplement can overwhelm your gut bacteria with sudden fermentable material.

The practical guideline is to increase fiber by no more than 5 grams per week until you reach your goal. That gives your gut microbiome time to adjust its bacterial populations and enzyme production to handle the new workload without producing excess gas.

Slow Gut Motility

When food and gas move through your digestive tract too slowly, everything accumulates. In conditions involving delayed stomach emptying, bloating is one of the most common and bothersome symptoms. Interestingly, research shows the severity of bloating in these patients doesn’t always match how delayed their stomach emptying actually is. Instead, bloating correlates more strongly with symptoms further down the tract, like lower abdominal pain and constipation, suggesting the problem involves sluggish movement throughout the entire gut, not just the stomach.

Constipation-predominant irritable bowel syndrome follows a similar pattern: prolonged transit time through both the small intestine and colon leads to bloating with visible distension. When stool and gas sit in the colon longer, bacteria have more time to ferment residues, and gas has more time to accumulate.

IBS and Bacterial Overgrowth

Irritable bowel syndrome is one of the most common conditions associated with chronic bloating, alongside irregular bowel habits and abdominal pain. What makes IBS-related bloating distinct is that it often isn’t about producing more gas than normal. Studies using gas infusion tests have found that people with IBS don’t necessarily produce more gas than healthy controls, but their guts handle it differently. The reflexes that normally move gas through the intestines are impaired, and their intestinal walls are more sensitive to even normal amounts of distension.

Small intestinal bacterial overgrowth, or SIBO, is a related but separate condition where bacteria that normally live in the colon colonize the small intestine in excessive numbers. These misplaced bacteria ferment food earlier in the digestive process, producing gas in a part of the gut that isn’t designed to handle it. Symptoms overlap heavily with IBS, including bloating, abdominal pain, flatulence, and loose stools. SIBO is diagnosed through breath tests that measure hydrogen production after consuming a sugar solution.

Hormonal Shifts During the Menstrual Cycle

Many people notice bloating in the days before and during their period, and it’s long been attributed to progesterone slowing the gut or causing fluid retention. The reality is more nuanced. A year-long prospective study tracking fluid retention across menstrual cycles found that premenstrual fluid retention was similar whether or not a cycle included ovulation (and therefore whether or not progesterone levels were elevated). The researchers found no significant relationship between progesterone levels and fluid retention scores, or between estrogen levels and fluid retention.

This doesn’t mean period-related bloating isn’t real. It clearly is. But the mechanism is likely more complex than a simple hormonal explanation, potentially involving changes in gut sensitivity, shifts in the gut microbiome across the cycle, or inflammatory signaling rather than a direct effect of progesterone on fluid balance.

Warning Signs That Need Attention

Most bloating is uncomfortable but harmless. However, bloating paired with unintentional weight loss or unexplained anemia can signal a malabsorptive condition like celiac disease or something more serious. These combinations typically prompt testing for celiac disease through blood work and, if needed, biopsies of the small intestine. Bloating that’s new, persistent, progressively worsening, or accompanied by vomiting, blood in the stool, or severe pain sits in a different category than the everyday post-meal discomfort most people experience.