Bloating happens when gas builds up in your digestive tract, when your body holds onto extra water, or when your stomach empties too slowly. Sometimes it’s all three at once. The cause is usually something you ate, how you ate it, or a hormonal shift, but persistent bloating can also signal a digestive condition worth investigating.
Gas From Bacterial Fermentation
The most common source of bloating is gas produced by bacteria in your gut. Your large intestine is home to trillions of microbes, and when they break down carbohydrates your small intestine didn’t fully absorb, they release hydrogen and carbon dioxide as byproducts. Some of that hydrogen gets consumed by other microbes that convert it into methane or hydrogen sulfide, which is what gives gas its smell.
How much gas you produce depends partly on what you eat and partly on which bacteria dominate your gut. Two people can eat the same meal and experience very different levels of bloating. People whose gut bacteria are better at consuming hydrogen tend to produce less overall gas, but they may produce more methane instead, which slows gut transit and can lead to constipation and a different kind of uncomfortable fullness.
Foods That Ferment Quickly
Certain short-chain carbohydrates are poorly absorbed in the small intestine. They pass largely intact into the colon, where bacteria ferment them rapidly and produce a burst of gas. These carbohydrates also draw water into the intestine through osmosis, which stretches the gut wall and adds to that swollen feeling. The main culprits fall into a few categories:
- Oligosaccharides: found in wheat, rye, onions, garlic, and legumes like chickpeas and lentils
- Lactose: the sugar in milk, yogurt, and soft cheeses, especially problematic if you don’t produce enough of the enzyme that breaks it down
- Fructose: found in high concentrations in honey, apples, pears, and high-fructose corn syrup
- Polyols: sugar alcohols like sorbitol and mannitol, common in “sugar-free” gum, mints, and stone fruits like cherries and plums
You don’t need to avoid all of these permanently. Most people react to some more than others. Keeping a food diary for two to three weeks, noting what you ate and when bloating hits, is often enough to identify your personal triggers.
Fiber: Helpful but Tricky
Fiber has a complicated relationship with bloating. Insoluble fiber (found in whole grains, nuts, and vegetable skins) moves through your system largely intact and generally doesn’t cause much gas. Soluble fermentable fibers, like inulin and fructooligosaccharides, are a different story. They’re common in processed “high fiber” foods, protein bars, and supplements, and gut bacteria ferment them enthusiastically. If you suddenly increase your fiber intake, your gut bacteria get a feast they’re not accustomed to, and the gas output spikes.
The fix isn’t to avoid fiber. It’s to increase it gradually over a few weeks, giving your gut microbiome time to adjust. Starting with an extra serving or two per day and building from there prevents the worst of it.
Swallowed Air
Not all bloating gas comes from fermentation. A surprising amount comes from air you swallow without realizing it, a phenomenon called aerophagia. Common habits that increase swallowed air include eating too fast, talking while eating, chewing gum, sucking on hard candy, drinking through a straw, and drinking carbonated beverages. Smoking is another contributor.
This type of bloating tends to concentrate in the upper abdomen and often comes with frequent belching. The fixes are straightforward: chew slowly, put your fork down between bites, take sips from a glass instead of a straw, and save conversation for after the meal rather than during it. These sound minor, but for people whose bloating is primarily from swallowed air, they can make a noticeable difference within days.
Salt and Water Retention
Bloating doesn’t always involve gas. A high-sodium meal can cause your body to hold onto extra water, leaving you feeling puffy and heavy, particularly around the abdomen. The mechanism is straightforward: when you eat a lot of salt, the sodium concentration in your blood rises slightly. Your brain responds by triggering thirst and releasing a hormone that tells your kidneys to retain water. This restores sodium concentration to normal, but it also expands the volume of fluid outside your cells.
Restaurant meals, processed foods, canned soups, and soy sauce are common offenders. The water retention is temporary. Once your sodium intake drops back to normal levels, your kidneys release the excess fluid over the next day or two. Drinking more water actually helps this process along rather than making it worse, because it helps your kidneys flush sodium more efficiently.
Hormonal Bloating During Your Cycle
Many women experience bloating in the days before their period, and the cause is hormonal rather than dietary. Both estrogen and progesterone affect how your body handles fluids. Estrogen increases the volume of fluid in your blood vessels by keeping more protein (and therefore more water) inside them. Progesterone expands fluid volume more broadly, increasing the total amount of water your body holds in and around tissues.
When estrogen and progesterone are both elevated in the luteal phase (the roughly two weeks between ovulation and your period), the combined effect on fluid retention is at its peak. The overall change in total body water is mild, but it’s enough to cause noticeable abdominal puffiness, breast tenderness, and a general feeling of being swollen. This type of bloating resolves on its own once your period starts and hormone levels drop. Reducing sodium intake during that window can help take the edge off.
Slow Stomach Emptying
Your stomach normally moves about 90% of a meal into your small intestine within four hours. When that process slows down significantly, food sits in the stomach longer than it should, causing bloating, nausea, and a feeling of fullness after just a few bites. This condition, called gastroparesis, can result from nerve damage (often related to diabetes), certain medications, or sometimes no identifiable cause at all.
The bloating from slow emptying feels different from gas-related bloating. It’s concentrated higher up, directly under the ribs, and tends to worsen after meals rather than building throughout the day. If you consistently feel uncomfortably full long after eating small portions, or if nausea accompanies the bloating, that pattern is worth mentioning to your doctor.
IBS and Bacterial Overgrowth
Irritable bowel syndrome is one of the most common causes of chronic bloating. It involves abdominal pain or discomfort alongside irregular bowel habits, and bloating is a hallmark symptom. The bloating in IBS often worsens throughout the day and improves overnight.
A related but distinct condition is small intestinal bacterial overgrowth, or SIBO, where bacteria that normally live in the colon migrate into the small intestine and begin fermenting food earlier in the digestive process. The symptoms overlap heavily with IBS: bloating, gas, abdominal pain, and loose stools. SIBO is more common in people with diarrhea-predominant IBS, in women, in older adults, and in people who take acid-suppressing medications long term. When methane-producing bacteria are involved, constipation tends to dominate instead of diarrhea, because methane slows gut transit.
Breath tests can help distinguish SIBO from other causes, though they’re imperfect. If standard dietary changes don’t resolve chronic bloating, testing for SIBO is a reasonable next step.
When Bloating Signals Something Serious
Most bloating is benign, but certain patterns warrant attention. Persistent bloating that doesn’t come and go with meals or your cycle, especially when paired with pelvic pain, feeling full quickly, frequent urination, unexplained weight loss, or abdominal swelling that keeps getting worse, can be an early sign of ovarian cancer. These symptoms are common in everyday life, which is what makes them easy to dismiss. The key distinction is persistence: if you’re experiencing them more than 12 times a month and they represent a change from your normal, bring them up with your doctor.

