Bloating affects roughly 18% of people worldwide at least once a week, and it’s nearly twice as common in women as in men. The causes range from something as simple as swallowing too much air to digestive conditions that need medical attention. What makes bloating tricky is that it doesn’t always come from excess gas. Sometimes your body produces a normal amount of gas, but your nervous system amplifies the sensation, making it feel far worse than what’s actually happening inside.
The Most Common Everyday Causes
Before looking at medical explanations, it’s worth ruling out the simplest ones. Swallowing air is a surprisingly frequent culprit. You take in extra air when you eat too fast, talk while eating, chew gum, suck on hard candy, drink through a straw, or drink carbonated beverages. Smoking also increases air swallowing. That air has to go somewhere, and when it accumulates in your stomach and intestines, you feel bloated and gassy.
Constipation is another common trigger. When stool moves slowly through your colon, bacteria have more time to ferment whatever you’ve eaten, producing gas that builds up behind the blockage. Overeating has a similar effect: a stomach stretched beyond its comfortable capacity feels tight and distended, and a larger volume of food moving through your gut means more fermentation overall.
How Certain Foods Cause Gas and Water Retention
Some foods contain short-chain carbohydrates (often called FODMAPs) that your small intestine simply cannot break down. Because these molecules can’t be absorbed, your small intestine draws in extra water to push them along into the large intestine. Once they arrive, the bacteria living in your colon ferment them aggressively, producing gas and fatty acids as byproducts. This combination of extra water and extra gas is what creates that uncomfortable, swollen feeling after eating certain meals.
High-FODMAP foods include onions, garlic, wheat, beans, certain fruits like apples and pears, and dairy products containing lactose. Fructose is a particularly common offender. People with fructose malabsorption can’t absorb fructose normally through their intestinal cells, which leads to bloating, flatulence, and stomach pain. Lactose intolerance works the same way: without enough of the enzyme that breaks down milk sugar, undigested lactose ferments in the colon and produces gas. Artificial sweeteners like sorbitol and lactulose, found in sugar-free gum and some medications, cause the same fermentation reaction.
Hormonal Bloating and the Menstrual Cycle
If your bloating follows a monthly pattern, hormones are a likely explanation. Progesterone, which rises in the second half of the menstrual cycle (the luteal phase), slows digestion. Slower transit means food sits longer in the gut, giving bacteria more time to produce gas. This is sometimes called “PMS belly,” and it’s a direct result of progesterone’s effect on the muscles that move food through the digestive tract.
Estrogen works in the opposite direction, speeding digestion and sometimes causing looser stools when its levels climb. The constant push and pull between these two hormones makes the intestinal muscles prone to spasms, where they contract and tighten unpredictably. This is why many women alternate between constipation and diarrhea in the week before their period, with bloating and pain riding alongside both.
When Your Gut and Brain Miscommunicate
One of the more surprising causes of bloating has nothing to do with how much gas your body produces. Some people have what’s called visceral hypersensitivity, where their nervous system perceives normal amounts of intestinal gas as excessive. The gas volume is completely ordinary, but the brain registers it as painful, uncomfortable pressure. Anxiety, depression, and stress can amplify this effect through complex nerve pathways connecting the brain and gut.
There’s also a physical reflex involved. Normally, when gas is released in your intestines, your diaphragm and abdominal wall muscles coordinate to move it through. In some people, this reflex misfires: the diaphragm contracts downward while the abdominal muscles relax, pushing the belly outward. The result is visible distension even though gas levels are normal. This is one reason two people can eat the same meal and only one ends up looking and feeling bloated.
Digestive Conditions That Cause Chronic Bloating
If bloating happens frequently and doesn’t respond to dietary changes, a digestive condition may be involved. The two most common medical causes are small intestinal bacterial overgrowth (SIBO) and carbohydrate intolerance. In SIBO, bacteria that normally live in the colon migrate into the small intestine, where they ferment food before it has a chance to be absorbed. This produces excess gas and stretches the intestinal walls.
Irritable bowel syndrome (IBS) is closely linked to bloating, along with other gut-brain interaction disorders like functional constipation and functional dyspepsia (chronic indigestion). Celiac disease, where gluten triggers an immune reaction that damages the small intestine lining, is another well-established cause. So is pancreatic insufficiency, where the pancreas doesn’t produce enough digestive enzymes to break food down properly. Gastroparesis, a condition where the stomach empties too slowly, traps food and gas in the upper digestive tract and creates persistent fullness and distension.
Less common but more serious causes include fluid buildup in the abdomen (ascites), ovarian cancer, hypothyroidism, and abdominal tumors. These are rare compared to functional causes, but they’re worth knowing about because they tend to come with additional symptoms.
How Bloating Gets Diagnosed
If you’ve been bloated most days for three months or more, your doctor will likely start investigating beyond diet. One of the most common tools is the hydrogen breath test, a simple, noninvasive test that measures hydrogen gas in your exhaled breath. You drink a solution containing a specific sugar (glucose for SIBO testing, or lactose or fructose if those intolerances are suspected), and then breathe into a collection device at regular intervals.
Bacteria produce hydrogen when they ferment undigested sugars, and that hydrogen enters your bloodstream and lungs. A rise of more than 20 parts per million above your baseline reading indicates malabsorption. For SIBO specifically, that rise needs to happen within 90 minutes, because it means fermentation is occurring in your small intestine rather than your colon where it belongs. Beyond breath testing, doctors may use blood work to check for celiac disease or thyroid problems, imaging to look for structural issues, or stool tests to evaluate digestive function.
A formal diagnosis of functional bloating (bloating without a detectable organic cause) requires symptoms occurring at least one day per week for three months, with the onset dating back at least six months. This diagnosis is only made after other conditions like IBS, celiac disease, and SIBO have been ruled out.
Signs Your Bloating Needs Prompt Attention
Most bloating is uncomfortable but not dangerous. Certain accompanying symptoms, however, signal something that needs medical evaluation: blood or mucus in your stool, unexplained weight loss, persistent changes in bowel habits, loss of appetite, fever, or chronic vomiting. If dietary changes and over-the-counter remedies haven’t made a difference after a few weeks, that alone is reason enough to get checked.
Severe abdominal pain, high fever, severe diarrhea, or chest pain alongside bloating require immediate medical attention. These combinations can indicate conditions like bowel obstruction, infection, or cardiac issues that need urgent care.

