Stomach bloating happens when gas builds up in your digestive tract or when your body retains extra fluid in the abdomen. The causes range from everyday habits like eating too fast to underlying conditions that affect how your gut processes food. Most bloating is temporary and tied to something you ate or drank, but persistent or worsening bloating can signal something that needs attention.
Foods That Ferment in Your Gut
The most common cause of bloating is fermentation. When certain carbohydrates reach your large intestine undigested, gut bacteria feed on them and produce hydrogen or methane gas as a byproduct. The foods most likely to trigger this process fall into a category called FODMAPs, which stands for fermentable oligosaccharides, disaccharides, monosaccharides, and polyols. In plain terms, these are specific types of sugars and fibers your small intestine has trouble absorbing.
High-FODMAP foods include onions, garlic, beans, lentils, many wheat products, apples, watermelon, and stone fruits like peaches and plums. Even a ripe banana is higher in fermentable sugars than a green one. Processed meats also tend to be high in FODMAPs due to added ingredients. For most people, eating these foods causes mild, temporary gas. For others, the byproducts of fermentation trigger chronic bloating, abdominal pain, and visible swelling of the belly.
If you notice bloating consistently after meals, keeping a food diary for a week or two can help you spot patterns. A structured low-FODMAP elimination diet, ideally guided by a dietitian, involves removing high-FODMAP foods for several weeks and then reintroducing them one group at a time to identify your specific triggers.
Lactose and Fructose Intolerance
About 68% of the global population has some degree of lactose malabsorption after infancy, according to the National Institutes of Health. If you lack enough of the enzyme that breaks down lactose (the sugar in milk, cheese, yogurt, and ice cream), that undigested sugar ferments in your colon and produces gas, bloating, and often diarrhea. The severity varies widely. Some people can handle a splash of milk in coffee but not a bowl of cereal with milk.
Fructose malabsorption works similarly. Your small intestine can only absorb a limited amount of fruit sugar at once. When you exceed that threshold, the excess fructose travels to the colon and ferments. Clinical breath tests for fructose malabsorption use a 35-gram fructose drink, with breath samples collected every 15 to 20 minutes over four hours to measure gas production. Symptoms sometimes appear during that window but can also be delayed, which is why fructose intolerance is easy to miss if you’re not tracking what you eat carefully.
Swallowing Too Much Air
Not all bloating comes from food fermentation. A surprisingly common cause is simply swallowing excess air, a habit called aerophagia. You don’t notice it happening, but the air accumulates in your stomach and intestines, causing that tight, inflated feeling. Behaviors that increase air swallowing include:
- Eating too fast or talking while eating
- Chewing gum or sucking on hard candy
- Drinking through straws
- Carbonated beverages (the dissolved carbon dioxide releases gas in your stomach)
- Smoking
If your bloating tends to happen throughout the day rather than after specific meals, swallowed air may be a bigger factor than food intolerance. Slowing down at meals and cutting back on gum or sparkling water for a few days is a simple way to test this.
Hormonal Changes During Your Menstrual Cycle
Many women experience noticeable bloating in the week before their period, sometimes called “PMS belly.” This happens because progesterone, which peaks during the luteal phase (the roughly two weeks between ovulation and your period), slows down digestion. Food moves through your intestines more sluggishly, giving bacteria more time to ferment it and produce gas. The result is constipation, gas, and abdominal swelling.
Estrogen has the opposite effect, speeding up digestion and sometimes causing looser stools when its levels rise. The constant push and pull between these two hormones makes the intestinal muscles prone to spasms, which can cause pain and alternating bouts of constipation and diarrhea, especially in the days leading up to menstruation. This type of bloating is cyclical and predictable, which helps distinguish it from food-related causes.
Bacterial and Methane Overgrowth
Your small intestine normally contains relatively few bacteria compared to your colon. When bacteria colonize the small intestine in excessive numbers, a condition called small intestinal bacterial overgrowth (SIBO), they ferment food earlier in the digestive process than they should, producing large amounts of hydrogen gas. This leads to bloating, cramping, and often diarrhea. SIBO is diagnosed with a breath test: a rise in exhaled hydrogen of at least 20 parts per million above baseline within 90 minutes of drinking a glucose or lactulose solution is considered positive.
A related condition involves overgrowth of methane-producing organisms called archaea, particularly a species called Methanobrevibacter smithii. These organisms consume hydrogen produced by other gut bacteria and convert it to methane. When they proliferate excessively, a condition now called intestinal methanogen overgrowth (IMO), patients tend to experience constipation (often severe), bloating, flatulence, and abdominal pain. Research from Cedars-Sinai has confirmed that people with high methane levels report significantly more GI symptoms across the board. A methane concentration of 10 ppm or higher at any point during a breath test indicates methanogenic overgrowth.
Gastroparesis and Slow Stomach Emptying
Gastroparesis is a condition where the stomach muscles don’t contract properly, so food empties into the small intestine too slowly or sometimes not at all. When food sits undigested in the stomach for extended periods, the stomach swells and feels full, tight, and distended. The bloating from gastroparesis typically centers in the upper abdomen and worsens after eating, even small meals.
Gastroparesis is more common in people with diabetes, as long-term high blood sugar can damage the nerves controlling stomach muscles. It also occurs after certain surgeries and with some medications that slow gut motility. Unlike bloating from gas, which tends to fluctuate throughout the day, gastroparesis bloating is persistent and often accompanied by nausea and early fullness.
Fluid Buildup in the Abdomen
Bloating that comes on gradually and doesn’t improve with dietary changes may not involve gas at all. Ascites is the medical term for fluid accumulation in the abdominal cavity, and it causes a different kind of swelling: steady, progressive, and often accompanied by rapid weight gain, shortness of breath, feeling full after tiny meals, and swelling in the legs or ankles. It’s most commonly caused by liver disease but can also result from heart failure, kidney problems, or certain cancers.
Bloating that warrants prompt medical evaluation includes swelling that gets noticeably worse over days or weeks, unexplained weight loss alongside abdominal fullness, fever or confusion with belly pain, or bloating paired with new difficulty breathing. These patterns suggest something beyond normal digestive gas and need investigation.
Stress and the Gut-Brain Connection
Stress and anxiety increase bloating through several pathways. When you’re anxious, you tend to breathe more shallowly and swallow more air. Stress hormones also alter gut motility, either speeding it up or slowing it down depending on the person. Over time, chronic stress can change the composition of your gut bacteria, potentially favoring gas-producing species. People with irritable bowel syndrome often notice their bloating worsens during stressful periods, not because they’re eating differently, but because their nervous system is amplifying signals from the gut.
This is why bloating can be frustratingly inconsistent. You might eat the same meal two days in a row and only feel bloated once, because sleep, stress levels, and hormonal fluctuations all influence how your gut handles food on any given day.

