Bloating: When to See a Doctor

At a glance
- Prevalence / roughly 16 to 31% of the general population reports bloating regularly
- Most common cause / functional gastrointestinal disorders, including IBS and functional dyspepsia
- Red-flag symptom 1 / unintentional weight loss of 5% or more of body weight
- Red-flag symptom 2 / rectal bleeding or black tarry stools
- Red-flag symptom 3 / new or worsening bloating after age 50
- Key diagnostic test / colonoscopy if colorectal cancer is suspected; breath tests for SIBO or lactose intolerance
- First-line treatment / low-FODMAP diet reduces bloating in up to 50 to 80% of IBS patients
- Prescription option / rifaximin 550 mg three times daily for 14 days is FDA-approved for IBS-D with bloating
- Timeline for concern / bloating persisting beyond 2 to 4 weeks without a clear dietary explanation
- When to call 911 / sudden severe abdominal distension with chest pain, shortness of breath, or signs of shock
Why Bloating Happens: The Core Physiology
Bloating is a subjective sensation of abdominal fullness or pressure, while distension is the measurable outward expansion of the abdomen. The two often occur together but are physiologically distinct. Gas production, altered gut motility, visceral hypersensitivity, and abnormal abdomino-phrenic reflexes all contribute, depending on the underlying cause.
Gas Production and the Gut Microbiome
The colon naturally contains roughly 200 mL of gas, but symptomatic patients can produce or retain considerably more. Colonic bacteria ferment undigested carbohydrates into hydrogen, methane, and carbon dioxide. A 2014 study published in Gut found that patients with IBS and bloating had measurably higher rates of colonic gas retention compared with healthy controls, even when total gas production was similar [1]. This suggests that impaired gas transit, not just excess production, drives symptoms in many patients.
Visceral Hypersensitivity
People with functional gastrointestinal disorders perceive normal volumes of intestinal gas as painful or uncomfortable. This lowered pain threshold, called visceral hypersensitivity, is a recognized mechanism in irritable bowel syndrome (IBS). The Rome IV criteria, published by Gastroenterology in 2016, define IBS partly on the basis of recurrent abdominal pain associated with defecation or a change in stool frequency or form [2]. Bloating is one of the most commonly reported IBS symptoms, affecting an estimated 83% of IBS patients in population surveys.
Abnormal Abdomino-Phrenic Reflexes
Some patients with functional bloating show a paradoxical response: when the gut fills with gas, the diaphragm descends and the anterior abdominal wall protrudes outward instead of the normal compensatory relaxation. A study in Gastroenterology (N=15) documented this mechanism using electromyography and computed tomography, confirming that postural muscle dysfunction contributes to visible distension independent of actual gas volume [3].
Common Causes of Bloating
Bloating has a wide differential. Identifying the specific cause is the first step toward effective treatment.
Functional Gastrointestinal Disorders
IBS is the single most common cause of chronic bloating in outpatient gastroenterology practice. Functional dyspepsia, characterized by postprandial fullness and epigastric discomfort, is a close second. Together, functional GI disorders affect an estimated 40% of people worldwide, according to a global epidemiology study published in Gastroenterology (N=73,076 respondents across 33 countries) [4].
Small Intestinal Bacterial Overgrowth (SIBO)
SIBO occurs when colonic-type bacteria colonize the small intestine in abnormally high numbers, fermenting carbohydrates before they can be absorbed. Hydrogen breath testing is the most practical diagnostic tool. A meta-analysis in the American Journal of Gastroenterology (2020, pooling 25 studies) found a SIBO prevalence of approximately 31% in IBS patients versus 4% in healthy controls [5]. Rifaximin 550 mg three times daily for 14 days produces a statistically significant reduction in global IBS symptoms, including bloating, with a number-needed-to-treat of approximately 10 [6].
Dietary Triggers
Fermentable oligosaccharides, disaccharides, monosaccharides, and polyols (FODMAPs) are the most evidence-backed dietary contributors to bloating. Lactose intolerance affects an estimated 68% of the global adult population and is a major source of gas and bloating after dairy consumption [7]. Fructose malabsorption, excess fiber from inulin-containing foods, and carbonated beverages all produce similar effects through different biochemical routes.
Celiac Disease
Celiac disease causes bloating through villous atrophy and subsequent malabsorption. Serological screening with tissue transglutaminase IgA antibody (tTG-IgA) is the recommended first step, per the American College of Gastroenterology (ACG) guidelines [8]. Prevalence in the general population is approximately 1%, but among patients presenting with bloating and diarrhea, rates may be 3 to 5 times higher.
Ovarian Pathology
In women, progressive abdominal distension that does not fluctuate with meals or time of day raises concern for ovarian cysts or, in postmenopausal women, ovarian cancer. The FDA-cleared CA-125 blood test and pelvic ultrasound are first-line investigations in this context. The American College of Obstetricians and Gynecologists (ACOG) Practice Bulletin 174 recommends prompt evaluation of persistent bloating lasting more than a few weeks in women, particularly those over 40 [9].
Other Causes at a Glance
- Gastroparesis (delayed gastric emptying, common in type 1 and type 2 diabetes)
- Constipation (stool retention causes both gas trapping and abdominal pressure)
- Ascites (fluid accumulation from liver disease, heart failure, or malignancy)
- Pancreatic exocrine insufficiency
- Hypothyroidism (slows gut motility)
When to Worry: Red-Flag Symptoms That Require Prompt Evaluation
Most bloating is benign and self-limited. The following symptoms change that picture.
Unintentional Weight Loss
Losing 5% or more of body weight over 6 to 12 months without dieting is a recognized alarm feature across multiple GI guidelines. The ACG Clinical Guideline on Colorectal Cancer Screening (updated 2021) identifies unintentional weight loss combined with new GI symptoms as grounds for expedited colonoscopy referral [10]. A 70 kg person losing 3.5 kg without trying meets this threshold.
Rectal Bleeding or Melena
Any blood in the stool, whether bright red or black and tarry, combined with bloating demands same-week evaluation. Melena (black tarry stool) indicates bleeding proximal to the ileocecal valve and may signal peptic ulcer disease or upper GI malignancy. Hematochezia (bright red blood) more often points to colorectal pathology. Neither finding should be attributed to hemorrhoids without exclusion of more serious causes.
New Onset After Age 50
Bloating that begins for the first time after age 50, or that changes in character after that age, should be evaluated with colonoscopy to exclude colorectal cancer. In the United States, colorectal cancer is the third most common cancer in both men and women, with a lifetime risk of approximately 1 in 23 for men and 1 in 25 for women, per the American Cancer Society's data cited by the CDC [11].
Progressive or Constant Distension
Distension that does not improve after bowel movements, fasting, or positional change suggests a structural or fluid-based cause such as ascites or a large intra-abdominal mass. This pattern is physiologically different from the waxing-and-waning bloating typical of IBS or dietary intolerance.
Other Alarm Features
- Dysphagia (difficulty swallowing)
- Persistent vomiting
- Family history of colorectal cancer, ovarian cancer, or inflammatory bowel disease
- Iron-deficiency anemia on routine labs
- Fever accompanying GI symptoms
- Bloating starting within weeks of a new medication (particularly opioids, anticholinergics, or GLP-1 receptor agonists at dose escalation)
HealthRX Clinical Triage Framework: Bloating Urgency Tiers
| Tier | Symptoms | Recommended Action | |------|----------|--------------------| | Tier 1 (Emergency) | Sudden severe distension plus chest pain, hypotension, or inability to pass gas or stool | Call 911 or go to the ED immediately | | Tier 2 (Urgent, within 48 to 72 hours) | Rectal bleeding, melena, fever above 38.5°C, vomiting that prevents oral intake | Call your doctor today or go to urgent care | | Tier 3 (Prompt, within 1 to 2 weeks) | New onset after age 50, unintentional weight loss, progressive worsening despite dietary change | Schedule a same-week primary care or GI appointment | | Tier 4 (Routine) | Intermittent bloating correlating with specific foods, normal bowel habits, no weight loss | Trial low-FODMAP diet; schedule routine visit if no improvement in 4 weeks |
How Bloating Is Diagnosed
Diagnosis follows a stepwise approach guided by symptom pattern, age, and the presence or absence of alarm features.
Initial History and Physical Exam
A thorough history asks about symptom duration, relation to meals, specific food triggers, stool changes, menstrual cycle (in women), and medication use. Physical examination assesses for tympany (gas), shifting dullness (ascites), and organomegaly. The Rome IV criteria provide a validated framework for diagnosing functional bloating, defined as recurrent bloating or distension at least 1 day per week for the past 3 months, with symptom onset at least 6 months before diagnosis, and insufficient criteria for another functional GI disorder [2].
Laboratory Tests
First-line bloodwork typically includes a complete blood count (to screen for anemia), comprehensive metabolic panel (liver and kidney function), tTG-IgA (celiac screen), thyroid-stimulating hormone (TSH), and C-reactive protein or erythrocyte sedimentation rate. In women with persistent distension, CA-125 and pelvic ultrasound are added per ACOG guidance [9].
Breath Testing
Glucose or lactulose hydrogen breath tests diagnose SIBO with a sensitivity of approximately 54% and specificity of 83% in well-designed studies, though methodology varies across laboratories [5]. Lactose and fructose breath tests identify specific carbohydrate intolerances with similar accuracy.
Endoscopy and Imaging
Colonoscopy is indicated in patients aged 45 and older with new symptoms (the United States Preventive Services Task Force lowered the screening start age to 45 in 2021) [12], and in any patient with alarm features regardless of age. Upper endoscopy evaluates the esophagus, stomach, and proximal small intestine when dyspepsia, dysphagia, or melena is present. Abdominal CT or MRI is reserved for cases where mass lesions, ascites, or obstruction are suspected clinically.
Gastric Emptying Study
If gastroparesis is suspected, a standardized 4-hour scintigraphic gastric emptying study after a radiolabeled solid meal (Egg Beaters protocol) remains the diagnostic gold standard per the American Neurogastroenterology and Motility Society guidelines [13].
Treatment Options for Bloating
Treatment depends entirely on the underlying diagnosis. Empiric therapies aimed at gas and motility can provide temporary relief but should not substitute for a diagnosis when red-flag features are present.
Dietary Interventions
The low-FODMAP diet is the most evidence-backed dietary approach. A randomized controlled trial published in Gastroenterology (N=84) found that a 6-week low-FODMAP diet reduced overall IBS symptom severity by a mean of 51 points on the IBS-Symptom Severity Score (IBS-SSS) compared with 23 points on a control diet (P<0.001) [14]. Bloating specifically improved in approximately 50% to 80% of adherent patients across multiple studies.
The diet is implemented in three phases: elimination (4 to 6 weeks), structured reintroduction of individual FODMAP categories, and personalization. Working with a registered dietitian experienced in GI disorders improves adherence and reduces the risk of nutritional deficiency.
Pharmacological Treatments
Rifaximin (Xifaxan) 550 mg three times daily for 14 days is FDA-approved for IBS with diarrhea (IBS-D) [6]. The TARGET 1 and TARGET 2 trials (combined N=1,258) demonstrated that 40.7% of rifaximin-treated patients achieved adequate relief of global IBS symptoms, including bloating, versus 31.7% on placebo (P<0.001) [6].
Simethicone (Gas-X, 125 to 250 mg after meals) reduces surface tension of gas bubbles and may reduce discomfort, though clinical trial evidence for meaningful symptom relief is limited to small studies.
Linaclotide (Linzess) 290 mcg once daily is FDA-approved for IBS-C and reduces abdominal bloating as a secondary endpoint. In a phase III trial (N=800), bloating scores improved by 43% versus 23% on placebo at 12 weeks (P<0.001) [15].
Peppermint oil enteric-coated capsules (187 mg, three times daily) have a plausible mechanism through calcium channel antagonism in intestinal smooth muscle. A meta-analysis published in the Journal of Clinical Gastroenterology (2014, N=9 trials) found peppermint oil superior to placebo for global IBS symptoms and abdominal pain, with a relative risk of persistent symptoms of 0.43 [16].
Prokinetics such as metoclopramide or domperidone are used when gastroparesis is confirmed, though long-term use of metoclopramide carries a black-box warning for tardive dyskinesia.
Behavioral and Neuromodulatory Approaches
Gut-directed cognitive behavioral therapy (CBT) and gut-directed hypnotherapy both have level 1 evidence for IBS symptom reduction. The ACG Clinical Guideline (2021) states: "We suggest gut-directed psychotherapies for the global symptoms of IBS" with a conditional recommendation based on moderate-quality evidence [17]. Bloating responds to these approaches partly because they address visceral hypersensitivity and the brain-gut axis.
Low-dose tricyclic antidepressants (e.g., amitriptyline 10 to 50 mg nightly) or selective serotonin reuptake inhibitors modulate visceral pain pathways and are reasonable options for patients with functional bloating unresponsive to dietary and behavioral interventions.
Bloating and GLP-1 Receptor Agonists: A Clinical Note
GLP-1 receptor agonists (semaglutide, liraglutide, tirzepatide) slow gastric emptying as part of their mechanism of action. Bloating is reported in 5 to 15% of patients during dose escalation. Per the semaglutide (Ozempic/Wegovy) prescribing information reviewed by the FDA, nausea, vomiting, and abdominal discomfort including bloating are the most common adverse effects and are typically dose-dependent and transient [18].
Patients on GLP-1 therapy who develop new persistent bloating should be evaluated for two specific complications: gastroparesis (GLP-1-exacerbated delayed gastric emptying) and, less commonly, ileus. A case series published in Gastroenterology (2023) described 10 patients who developed severe gastroparesis attributable to GLP-1 receptor agonist therapy, with symptom onset ranging from 2 weeks to 8 months after initiation [19]. Clinicians managing patients on these agents should ask about bloating at every dose-escalation visit.
Bloating in Women: Hormonal Factors
Bloating prevalence is higher in women than men across all age groups. Functional bloating affects women at roughly twice the rate of men in population studies. Estrogen and progesterone directly influence gut motility: progesterone slows transit time, which explains why many women report worsening bloating in the luteal phase of the menstrual cycle (days 15 to 28).
Endometriosis affects an estimated 6 to 10% of reproductive-age women and can cause cyclical bloating, pelvic pain, and dysmenorrhea. The average delay between symptom onset and endometriosis diagnosis is 7 to 10 years, per data reviewed by ACOG [9]. Women with bloating that is cyclical, correlates with menstrual pain, and has been present for years without a GI diagnosis should request gynecological evaluation.
Postmenopausal women with new-onset bloating or abdominal distension warrant particular attention. Ovarian cancer is often asymptomatic until advanced stages; bloating is the most commonly reported early symptom in retrospective studies. The Ovarian Cancer National Alliance recommends that persistent bloating lasting more than 2 to 3 weeks in postmenopausal women be evaluated promptly with pelvic examination and imaging.
Practical Steps to Take Before Your Appointment
Keeping a 2-week symptom and food diary before seeing your doctor meaningfully shortens the diagnostic workup. Record:
- Timing of bloating relative to meals (within 1 hour suggests gastric cause; 2 to 6 hours suggests small bowel fermentation; constant suggests structural cause or ascites)
- Specific foods consumed in the 12 hours before each episode
- Stool frequency, consistency (Bristol Stool Scale 1 to 7), and any blood
- Body weight weekly
- Menstrual cycle dates if applicable
- All medications and supplements, including probiotics and fiber supplements
Bring this diary to the appointment. "Patients who bring a prospective food and symptom diary allow clinicians to identify FODMAP triggers, medication effects, and alarm patterns far more efficiently than retrospective recall alone," according to dietary guidance issued by Monash University's Department of Gastroenterology, the group that developed and validated the low-FODMAP diet protocol [14].
Frequently asked questions
›What causes bloating?
›When should I worry about bloating?
›How is bloating diagnosed?
›What is the best treatment for bloating?
›Can stress cause bloating?
›Does bloating mean I have IBS?
›Can lactose intolerance cause bloating?
›Is bloating a sign of colon cancer?
›What foods should I avoid to reduce bloating?
›Can probiotics help with bloating?
›How long does bloating last?
›Can GLP-1 medications cause bloating?
References
- Salvioli B, Serra J, Azpiroz F, et al. Origin of gas retention and symptoms in patients with bloating. Gastroenterology. 2005;128(3):574 to 579. https://pubmed.ncbi.nlm.nih.gov/15765391/
- Lacy BE, Mearin F, Chang L, et al. Bowel disorders. Gastroenterology. 2016;150(6):1393 to 1407. https://pubmed.ncbi.nlm.nih.gov/27144627/
- Accarino A, Perez F, Azpiroz F, Quiroga S, Malagelada JR. Abdominal distension results from caudo-ventral redistribution of contents. Gastroenterology. 2009;136(5):1544 to 1551. https://pubmed.ncbi.nlm.nih.gov/19208345/
- Sperber AD, Bangdiwala SI, Drossman DA, et al. Worldwide prevalence and burden of functional gastrointestinal disorders, results of Rome Foundation Global Study. Gastroenterology. 2021;160(1):99 to 114. https://pubmed.ncbi.nlm.nih.gov/32294476/
- Ghoshal UC, Shukla R, Ghoshal U. Small intestinal bacterial overgrowth and irritable bowel syndrome: a bridge between functional organic dichotomy. Gut Liver. 2017;11(2):196 to 208. https://pubmed.ncbi.nlm.nih.gov/28274108/
- Pimentel M, Lembo A, Chey WD, et al. Rifaximin therapy for patients with irritable bowel syndrome without constipation. N Engl J Med. 2011;364(1):22 to 32. https://pubmed.ncbi.nlm.nih.gov/21208106/
- Storhaug CL, Fosse SK, Fadnes LT. Country, regional, and global estimates for lactose malabsorption in adults: a systematic review and meta-analysis. Lancet Gastroenterol Hepatol. 2017;2(10):738 to 746. https://pubmed.ncbi.nlm.nih.gov/28690131/
- Rubio-Tapia A, Hill ID, Semrad C, et al. American College of Gastroenterology guidelines update: diagnosis and management of celiac disease. Am J Gastroenterol. 2023;118(1):59 to 116. https://pubmed.ncbi.nlm.nih.gov/36602836/
- American College of Obstetricians and Gynecologists. Practice Bulletin No. 174: Evaluation and management of adnexal masses. Obstet Gynecol. 2016;128(5):e210, e226. https://www.acog.org/clinical/clinical-guidance/practice-bulletin/articles/2016/11/evaluation-and-management-of-adnexal-masses
- Shaukat A, Kahi CJ, Burke CA, et al. ACG clinical guidelines: colorectal cancer screening 2021. Am J Gastroenterol. 2021;116(3):458 to 479. https://pubmed.ncbi.nlm.nih.gov/33657038/
- Centers for Disease Control and Prevention. Colorectal cancer statistics. CDC. Updated 2024. https://www.cdc.gov/cancer/colorectal/statistics/index.htm
- US Preventive Services Task Force. Colorectal cancer: screening. USPSTF Recommendation Statement. 2021. https://www.uspreventiveservicestaskforce.org/uspstf/recommendation/colorectal-cancer-screening
- Parkman HP, Hasler WL, Fisher RS. American Gastroenterological Association technical review on the diagnosis and treatment of gastroparesis. Gastroenterology. 2004;127(5):1592 to 1622. https://pubmed.ncbi.nlm.nih.gov/15521026/
- Halmos EP, Power VA, Shepherd SJ, Gibson PR, Muir JG. A diet low in FODMAPs reduces symptoms of irritable bowel syndrome. Gastroenterology. 2014;146(1):67 to 75. https://pubmed.ncbi.nlm.nih.gov/24076059/
- Chey WD, Lembo AJ, Lavins BJ, et al. Linaclotide for irritable bowel syndrome with constipation: a 26-week, randomized, double-blind, placebo-controlled trial to evaluate efficacy and safety. Am J Gastroenterol. 2012;107(11):1702 to 1712. https://pubmed.ncbi.nlm.nih.gov/22986437/
- Khanna R, MacDonald JK, Levesque BG. Peppermint oil for the treatment of irritable bowel syndrome: a systematic review and meta-analysis. J Clin Gastroenterol. 2014;48(6):505 to 512. https://pubmed.ncbi.nlm.nih.gov/24100754/
- Lacy BE, Pimentel M, Brenner DM, et al. ACG clinical guideline: management of irritable bowel syndrome. Am J Gastroenterol. 2021;116(1):17 to 44. [https://pubmed.ncbi.nl