Stomach bloating happens when gas builds up in your digestive tract, when your body retains extra fluid, or when food moves through your gut slower than it should. Sometimes it’s all three at once. The cause is usually something you ate, how you ate it, or a hormonal shift, though persistent bloating can point to an underlying digestive condition worth investigating.
How Gas Builds Up in Your Gut
Most intestinal gas is made up of odorless vapors: carbon dioxide, oxygen, nitrogen, hydrogen, and sometimes methane. The smell, when there is one, comes from sulfur-containing gases released by bacteria in your large intestine. These bacteria are normal and healthy. They break down food that your small intestine couldn’t fully digest or absorb, and that fermentation process is what produces the gas that inflates your belly.
About one-third of people also produce methane during this process, which can slow intestinal transit and make bloating feel worse. The more undigested material that reaches your colon, the more fuel those bacteria have to work with, and the more gas they produce.
Foods That Trigger Fermentation
Certain short-chain carbohydrates, often grouped under the term FODMAPs, are especially prone to causing bloating. These carbohydrates move slowly through the small intestine, drawing water in as they go. When they reach the large intestine, gut bacteria ferment them rapidly, producing a burst of gas. This combination of extra water and gas is what creates that tight, swollen feeling after a meal.
Common high-FODMAP foods include onions, garlic, wheat, beans, lentils, apples, pears, and certain dairy products. Not everyone reacts to the same foods. Your individual gut bacteria determine which carbohydrates get fermented aggressively and which pass through without much fuss. This is why your friend can eat a bowl of lentils without issue while you feel like a balloon.
Lactose and Other Intolerances
Roughly 65 percent of the global population has a reduced ability to digest lactose after infancy. If you’re one of them, the lactose in milk, cheese, or ice cream passes undigested into your colon, where bacteria ferment it and produce gas. The undigested sugar also pulls water into your intestine through osmosis, compounding the bloating with cramping and sometimes diarrhea.
Lactose isn’t the only culprit. Fructose (found in honey, some fruits, and high-fructose corn syrup) and sugar alcohols (sorbitol, mannitol, xylitol, common in sugar-free gum and candy) follow the same pattern. If your body can’t absorb them efficiently, they become bacterial fuel in the colon.
Swallowing Too Much Air
Your stomach can fill with air before bacteria even get involved. This is called aerophagia, and it’s surprisingly common. Habits that increase air swallowing include eating too fast, talking while eating, chewing gum, sucking on hard candy, drinking through straws, and drinking carbonated beverages. Smoking also contributes.
To put it in perspective, belching up to about 10 times an hour is considered normal. People with significant aerophagia can belch up to 120 times an hour. Most of this swallowed air either comes back up as burps or passes through your digestive tract, stretching your stomach and intestines along the way.
Sodium and Water Retention
Bloating isn’t always about gas. A high-salt meal can make your abdomen feel puffy and distended through fluid retention. Research from Johns Hopkins found that higher salt intake directly increases gastrointestinal bloating. The exact mechanism is still being studied, but salt causes your body to hold onto water, and there’s evidence it may also alter your gut bacteria in ways that increase sulfur gas production. This is why you might wake up feeling bloated the morning after a salty restaurant meal, even if the food itself wasn’t particularly gas-producing.
Hormonal Shifts and “PMS Belly”
If you menstruate, you’ve likely noticed that bloating gets worse in the week or so before your period. Progesterone, which rises during the second half of your cycle, slows digestion. Food sits in your gut longer, giving bacteria more time to ferment it. This leads to constipation, gas, and that characteristic puffiness sometimes called “PMS belly.”
Estrogen has the opposite effect, speeding up digestion, which is why some women experience looser stools at other points in their cycle. The constant push and pull between these two hormones makes the intestinal muscles prone to spasms, causing pain and an unpredictable alternation between constipation and diarrhea. This hormonal effect on gut motility is one reason bloating can feel cyclical and hard to pin on any single food.
Slow Stomach Emptying
Your stomach normally grinds food into small particles and releases them into the small intestine at a controlled pace. In gastroparesis, the nerves that control stomach muscles (particularly the vagus nerve) are damaged or dysfunctional, and the stomach doesn’t empty properly. Food sits in the stomach far longer than it should, causing upper abdominal bloating, nausea, and a feeling of fullness after just a few bites.
Gastroparesis is most commonly associated with diabetes, though it can also develop after surgery, with certain medications, or without an identifiable cause. The bloating it produces tends to be concentrated in the upper abdomen and worsens as the day goes on, since each meal adds to what’s already sitting there from the last one.
Small Intestinal Bacterial Overgrowth
Your small intestine normally hosts relatively few bacteria compared to your colon. When bacterial populations in the small intestine grow too large or shift in composition, a condition called SIBO can develop. These misplaced bacteria start fermenting food earlier in the digestive process than they should, producing gas in the small intestine rather than the colon. The result is bloating, abdominal pain, and often diarrhea. More severe cases can interfere with nutrient absorption, leading to deficiencies in vitamins like B-12.
SIBO is notoriously tricky to diagnose because the definition itself lacks precision in the medical community. Sampling bacteria from the small intestine is difficult, and breath tests used for screening have limitations. If you’ve tried dietary changes without relief and your bloating comes with persistent diarrhea or unexplained nutritional deficiencies, SIBO is worth discussing with a gastroenterologist.
When Bloating Signals Something Serious
Most bloating is harmless, even when it’s uncomfortable. But certain patterns warrant medical attention. Unintentional weight loss alongside bloating is a red flag. So is blood in your stool, persistent constipation or diarrhea that tracks with the bloating, or a feeling of incomplete bowel movements. Fluid buildup in the abdomen, which feels different from gas (it’s heavier, doesn’t shift as easily, and doesn’t improve with passing gas), can indicate liver disease or other serious conditions.
Though uncommon, chronic bloating can occasionally be a symptom of bowel obstruction, ovarian cancer, or chronic lung disease. The key distinction is bloating that’s new, progressive, and accompanied by other changes in your body. Bloating that comes and goes with meals and menstrual cycles, while annoying, is almost always benign.
Practical Ways to Reduce Bloating
Start with the simplest fixes. Eat slower, chew thoroughly, and cut back on carbonated drinks, gum, and straws. These changes alone can significantly reduce the amount of air reaching your stomach. If you suspect a food trigger, try reducing high-FODMAP foods for two to three weeks, then reintroduce them one category at a time to identify which ones bother you specifically.
Watching your sodium intake helps with fluid-related bloating. Most processed and restaurant foods are loaded with salt, so cooking at home for a few days can be a revealing experiment. For hormonal bloating, light physical activity and staying hydrated in the luteal phase (the two weeks before your period) can help keep things moving through your gut, partially counteracting progesterone’s slowdown effect.
If these adjustments don’t help after a few weeks, that’s useful information in itself. It suggests something beyond diet and habits is involved, whether that’s a motility issue, bacterial overgrowth, or a food intolerance you haven’t identified yet.