Bloating: Drugs That Cause It and Drugs That Treat It

At a glance
- Prevalence / roughly 16% of the general population reports bloating, rising to 75% in IBS patients
- Top drug culprits / metformin, GLP-1 agonists, acarbose, SSRIs, opioids, iron supplements, calcium channel blockers
- First-line OTC option / simethicone 80-125 mg after meals
- Prescription for SIBO-related bloating / rifaximin 550 mg three times daily for 14 days
- FDA-approved for IBS-C bloating / linaclotide 290 mcg once daily
- GLP-1 GI side-effect rate / 40-44% of semaglutide users report GI symptoms in STEP trials
- Prokinetic option / prucalopride 2 mg daily for slow-transit constipation with bloating
- Key diagnostic step / hydrogen breath test to rule out SIBO or carbohydrate malabsorption
Why So Many Medications Cause Bloating
Bloating ranks among the most common gastrointestinal complaints tied to prescription drugs, affecting up to 20% of patients on certain medication classes. The mechanisms vary by drug: some slow gut motility, others alter the microbiome, and a few increase luminal gas production directly. Recognizing a medication as the source can spare patients months of unnecessary workup.
Metformin, the most widely prescribed oral diabetes drug worldwide, causes GI symptoms in 20-30% of users during the first weeks of therapy [1]. The extended-release formulation reduces but does not eliminate this. Metformin increases intestinal serotonin, accelerates bile acid turnover, and shifts the gut microbiome toward species that produce more hydrogen gas [2]. A 2017 analysis in Nature Medicine confirmed that much of what was previously attributed to "metformin intolerance" was actually a measurable shift in gut microbial composition (N=784) [2].
GLP-1 receptor agonists present a newer and increasingly common source. In the STEP-1 trial (N=1,961), 44.2% of participants on semaglutide 2.4 mg reported nausea, and bloating-related complaints including "abdominal distension" and "flatulence" appeared in 6-10% of the active-drug arm versus 2-3% on placebo [3]. Tirzepatide showed a similar pattern in SURMOUNT-1 (N=2,539), with GI adverse events occurring in 40.3% of participants at the 15 mg dose [4]. These effects are dose-dependent and typically peak during the escalation phase.
Other frequent offenders include acarbose, which blocks alpha-glucosidase and delivers undigested carbohydrates to colonic bacteria (bloating in up to 30% of users), opioids (slowed motility leads to constipation and gas retention), and oral iron supplements, which alter colonic fermentation patterns [5].
The Full List of Drug Classes Linked to Bloating
At least ten major drug categories carry bloating as a documented side effect. The frequency and mechanism differ, but the clinical result is the same: abdominal distension, discomfort, and excess gas.
Diabetes medications top the list. Beyond metformin, acarbose, and GLP-1 agonists, pioglitazone causes fluid retention that patients often describe as "bloating" rather than true edema [6]. SSRIs and SNRIs, particularly sertraline and duloxetine, increase serotonin in the enteric nervous system and can produce both diarrhea-type and constipation-type bloating depending on the patient's baseline motility. A 2019 systematic review found GI adverse events in 15-22% of SSRI-treated patients [7].
Calcium channel blockers like amlodipine and verapamil slow colonic transit. Anticholinergics (oxybutynin, tolterodine) do the same by a different receptor pathway. Proton pump inhibitors (omeprazole, pantoprazole) may promote SIBO through sustained acid suppression; a meta-analysis of 11 studies found PPI use associated with a 1.71-fold increased risk of SIBO on breath testing (95% CI: 1.20-2.43) [8].
Antibiotics deserve special mention. While rifaximin treats SIBO-related bloating, broad-spectrum antibiotics (amoxicillin-clavulanate, clindamycin, fluoroquinolones) disrupt the microbiome and can trigger bloating that persists weeks after the course ends. This paradox, where one antibiotic causes bloating and another treats it, reflects the specificity of rifaximin for gram-negative anaerobes in the small intestine without destroying protective colonic flora [9].
Dr. Mark Pimentel, director of the Medically Associated Science and Technology (MAST) Program at Cedars-Sinai, has noted: "Rifaximin is unique among antibiotics because it stays in the gut, concentrates in the small bowel, and has minimal systemic absorption. That is why it can treat SIBO without the dysbiosis that other antibiotics produce" [9].
Over-the-Counter Options for Bloating Relief
Simethicone remains the most accessible first-line treatment for gas-related bloating. It works by reducing surface tension of gas bubbles in the GI tract, allowing them to coalesce and pass more easily. Typical dosing is 80-125 mg after meals and at bedtime, up to 500 mg per day [10].
Does it work? The evidence is modest. A randomized trial of 209 patients with functional dyspepsia showed simethicone 3 x 80 mg daily reduced bloating scores by 44% versus 18% with placebo over 14 days (P=0.003) [10]. The effect is fast (onset within 30 minutes) but limited to gas-predominant symptoms. Simethicone will not help bloating caused by constipation, fluid retention, or visceral hypersensitivity.
Alpha-galactosidase (Beano) breaks down oligosaccharides in beans, cruciferous vegetables, and legumes before colonic bacteria can ferment them. A crossover study of 62 participants showed a 33% reduction in flatulence episodes after a high-fiber meal versus placebo [11]. The limitation: it addresses dietary gas only.
Peppermint oil in enteric-coated capsules (180-200 mg, 2-3 times daily before meals) acts as a smooth-muscle relaxant via L-menthol's calcium channel antagonism. A 2019 meta-analysis of 12 RCTs (N=835) found peppermint oil reduced global IBS symptoms (RR=2.39 to 95% CI: 1.93-2.97 vs. placebo), with abdominal bloating improving alongside pain and bowel habit [12]. The American College of Gastroenterology (ACG) conditionally recommends peppermint oil for overall IBS symptom relief [13].
Activated charcoal has weak evidence. A small trial showed benefit for postprandial gas, but two subsequent controlled trials found no significant difference from placebo, and the ACG does not recommend it [13].
Prescription Medications That Target Bloating Directly
Three FDA-approved prescription agents have specific evidence for bloating as a target symptom: rifaximin, linaclotide, and lubiprostone. Each addresses a different mechanism.
Rifaximin 550 mg three times daily for 14 days is FDA-approved for IBS-D (irritable bowel syndrome with diarrhea). The TARGET 3 trial (N=2,438) demonstrated that rifaximin produced adequate relief of IBS-related bloating in 40.8% of patients versus 31.7% on placebo (P<0.001) over 12 weeks of follow-up [9]. The effect persisted for a median of 10 weeks after the 14-day course. Retreatment is allowed for up to two additional courses. Rifaximin's role extends to SIBO, where abnormal hydrogen breath tests normalize in 64% of treated patients versus 38% on placebo [14].
Linaclotide, a guanylate cyclase-C agonist, is FDA-approved for IBS-C at 290 mcg daily and for chronic idiopathic constipation (CIC) at 145 mcg daily. In the two Phase III IBS-C trials (combined N=1,604), linaclotide reduced abdominal bloating severity by 1.4 points on a 0-10 scale versus 0.9 for placebo at week 12, a statistically significant difference (P<0.001) [15]. The ACG gives linaclotide a strong recommendation for IBS-C [13]. Diarrhea is the main side effect (reported in approximately 20%), which is dose-dependent and often self-limiting.
Lubiprostone 8 mcg twice daily is FDA-approved for IBS-C in women. Bloating improvement was a secondary endpoint in key trials, with significant reduction versus placebo at week 8 [16]. Nausea occurs in roughly 8% of patients and can limit adherence.
The ACG's 2021 IBS guideline, authored by Dr. Brian Lacy and colleagues, states: "For patients with IBS-C in whom bloating is a predominant complaint, linaclotide is recommended as a first-line prescription agent based on high-quality evidence from multiple randomized controlled trials" [13].
Prokinetics and Antispasmodics: Second-Line Approaches
When bloating stems from delayed gastric emptying or disordered motility, prokinetic agents offer a mechanistically targeted option. Prucalopride, a selective 5-HT4 agonist FDA-approved for CIC, showed reduction in bloating scores in three Phase III trials (combined N=1,896) versus placebo, though bloating was not the primary endpoint [17]. The standard dose is 2 mg once daily. Unlike older prokinetics (cisapride, tegaserod), prucalopride has a favorable cardiac safety profile with no QT prolongation signal in clinical trials [17].
Antispasmodics address the visceral hypersensitivity component of bloating. Hyoscine butylbromide (Buscopan) 10-20 mg three times daily is widely used outside the United States. Dicyclomine 20 mg four times daily is available in the U.S. A Cochrane review of 22 trials (N=1,983) found antispasmodics as a class were superior to placebo for abdominal pain (NNT=5) and global symptom improvement, though the bloating-specific data was limited by inconsistent outcome reporting across older trials [18].
Low-dose tricyclic antidepressants (amitriptyline 10-25 mg at bedtime) can help bloating driven by visceral hypersensitivity. The ATLANTIS trial (N=463) showed amitriptyline 10-30 mg improved global IBS symptom scores by 1.64 points versus placebo (adjusted OR: 1.83 to 95% CI: 1.20-2.79), with bloating included in the composite score [19]. The ACG conditionally recommends TCAs for overall IBS symptom management [13].
Metoclopramide, a dopamine antagonist, accelerates gastric emptying but carries a black-box warning for tardive dyskinesia with prolonged use. Its role in bloating is limited to gastroparesis-associated symptoms and should not exceed 12 weeks of continuous use per FDA labeling [20].
When to Suspect a Drug Is Causing Your Bloating
Temporal correlation is the strongest clue. Bloating that begins within 1-4 weeks of starting a new medication (or changing the dose) should prompt a structured drug review. The relationship is not always obvious; PPIs may take months to shift small-bowel flora enough to cause SIBO symptoms.
A practical approach for clinicians: ask the patient to timeline their bloating onset against their medication list. If a suspect drug is identified, a 2-4 week washout trial (where medically safe) can confirm causation. For metformin, switching to extended-release may reduce GI symptoms by 50% [1]. For GLP-1 agonists, slower dose escalation or temporary dose reduction often resolves bloating within 2-3 weeks [3].
Certain patient populations are more vulnerable. Older adults on polypharmacy have additive anticholinergic burden that compounds constipation-related bloating. Patients taking both an opioid and a calcium channel blocker may have near-complete colonic stasis. The Beers Criteria and the Anticholinergic Cognitive Burden Scale can help identify cumulative anticholinergic load [21].
Do not discontinue medications without clinical guidance. Many of the drugs that cause bloating (metformin, GLP-1 agonists, SSRIs) have benefits that far outweigh GI discomfort, and the side effects are usually manageable with dose adjustment, formulation changes, or targeted add-on therapy.
Non-Drug Strategies Worth Combining With Pharmacotherapy
Pharmacotherapy for bloating works best alongside dietary and behavioral interventions. The low-FODMAP diet, developed at Monash University, reduces bloating in 50-80% of IBS patients based on multiple controlled trials [22]. The diet restricts fermentable oligosaccharides, disaccharides, monosaccharides, and polyols for 4-6 weeks, then reintroduces them systematically. It is not meant to be permanent.
Abdominal-pelvic physical therapy addresses dyssynergic defecation, a pattern where paradoxical pelvic-floor contraction during straining traps stool and gas. Biofeedback therapy for dyssynergia showed 70% response rates in randomized trials and is recommended by the ACG for refractory constipation with bloating [13].
Probiotics have inconsistent evidence. A 2023 systematic review of 35 RCTs found Bifidobacterium infantis 35624 (at 1 x 10^8 CFU) and Lactobacillus plantarum 299v had the most consistent bloating reduction, but effect sizes were small and strain-specific results cannot be generalized across products [23]. The ACG gives a conditional recommendation against probiotics for IBS, citing insufficient evidence to recommend specific strains [13].
Cognitive behavioral therapy (CBT) and gut-directed hypnotherapy have level-1 evidence for IBS symptoms including bloating. The ACTIB trial (N=558) showed telephone-based CBT produced bloating improvement that persisted at 24 months [24]. Access remains a barrier; digital CBT apps (Zemedy, Mahana) have received FDA clearance as prescription digital therapeutics for IBS.
Diagnostic Workup: When Bloating Needs More Than a Medication Change
Bloating that persists despite medication review, dietary modification, and empiric therapy warrants further investigation. Red-flag symptoms include unintentional weight loss exceeding 5% of body weight, new-onset bloating after age 50, progressive abdominal distension (as opposed to intermittent), ascites on exam, and iron-deficiency anemia.
The standard workup includes a complete blood count, comprehensive metabolic panel, celiac serologies (anti-tTG IgA with total IgA), and thyroid function tests. A lactulose or glucose hydrogen breath test can identify SIBO (sensitivity 33-91% depending on the substrate, specificity 44-100%) [14]. Fructose and lactose breath tests evaluate specific carbohydrate malabsorption. CT or MRI of the abdomen is reserved for alarm features or suspected structural pathology.
Gastroparesis should be evaluated with a 4-hour gastric emptying scintigraphy if upper-GI symptoms dominate (early satiety, nausea, postprandial fullness). Retention of more than 10% of a standardized meal at 4 hours confirms the diagnosis per ACG criteria [25].
For women over 50 with new, persistent bloating and abdominal distension, ovarian cancer screening with CA-125 and transvaginal ultrasound is appropriate, as bloating is one of the four cardinal symptoms of ovarian malignancy identified in the NICE guideline [26].
Frequently asked questions
›What causes bloating?
›How is bloating diagnosed?
›When should I worry about bloating?
›Does metformin cause bloating?
›Can GLP-1 medications like semaglutide cause bloating?
›What is the best over-the-counter medicine for bloating?
›What is rifaximin and how does it treat bloating?
›Is linaclotide effective for bloating with constipation?
›Can probiotics help with bloating?
›Does the low-FODMAP diet reduce bloating?
›Can PPIs cause bloating?
›What is SIBO and how does it relate to bloating?
References
- McCreight LJ, Bailey CJ, Pearson ER. Metformin and the gastrointestinal tract. Diabetologia. 2016;59(3):426-435
- Forslund K, Hildebrand F, Nielsen T, et al. Disentangling type 2 diabetes and metformin treatment signatures in the human gut microbiota. Nature. 2015;528(7581):262-266
- Wilding JPH, Batterham RL, Calanna S, et al. Once-weekly semaglutide in adults with overweight or obesity (STEP 1). N Engl J Med. 2021;384(11):989-1002
- Jastreboff AM, Aronne LJ, Ahmad NN, et al. Tirzepatide once weekly for the treatment of obesity (SURMOUNT-1). N Engl J Med. 2022;387(3):205-216
- Tolkien Z, Stecher L, Mander AP, et al. Ferrous sulfate supplementation causes significant gastrointestinal side-effects in adults: a systematic review and meta-analysis. PLoS One. 2015;10(2):e0117383
- DeFronzo RA. Pharmacologic therapy for type 2 diabetes mellitus. Ann Intern Med. 1999;131(4):281-303
- Carvalho AF, Sharma MS, Brunoni AR, et al. The safety, tolerability and risks associated with the use of newer generation antidepressant drugs: a critical review of the literature. Psychother Psychosom. 2016;85(5):270-288
- Lo WK, Chan WW. Proton pump inhibitor use and the risk of small intestinal bacterial overgrowth: a meta-analysis. Clin Gastroenterol Hepatol. 2013;11(5):483-490
- Lembo A, Pimentel M, Rao SS, et al. Repeat treatment with rifaximin is safe and effective in patients with diarrhea-predominant irritable bowel syndrome (TARGET 3). Am J Gastroenterol. 2016;111(7):1044-1052
- Bernstein JE, Kasich AM. A double-blind trial of simethicone in functional disease of the upper gastrointestinal tract. J Clin Pharmacol. 1974;14(11-12):617-623
- Di Stefano M, Miceli E, Gotti S, et al. The effect of oral alpha-galactosidase on intestinal gas production and gas-related symptoms. Dig Dis Sci. 2007;52(1):78-83
- Alammar N, Wang L, Saberi B, et al. The impact of peppermint oil on the irritable bowel syndrome: a meta-analysis of the pooled clinical data. BMC Complement Altern Med. 2019;19(1):21
- Lacy BE, Pimentel M, Brenner DM, et al. ACG clinical guideline: management of irritable bowel syndrome. Am J Gastroenterol. 2021;116(1):17-44
- Rezaie A, Buresi M, Lembo A, et al. Hydrogen and methane-based breath testing in gastrointestinal disorders: the North American Consensus. Am J Gastroenterol. 2017;112(5):775-784
- Rao S, Lembo AJ, Shiff SJ, et al. A 12-week, randomized, controlled trial with a 4-week randomized withdrawal period to evaluate the efficacy and safety of linaclotide in irritable bowel syndrome with constipation. Am J Gastroenterol. 2012;107(11):1714-1724
- Drossman DA, Chey WD, Johanson JF, et al. Clinical trial: lubiprostone in patients with constipation-associated irritable bowel syndrome. Aliment Pharmacol Ther. 2009;29(3):329-341
- Camilleri M, Kerstens R, Rykx A, et al. A placebo-controlled trial of prucalopride for severe chronic constipation. N Engl J Med. 2008;358(22):2344-2354
- Ruepert L, Quartero AO, de Wit NJ, et al. Bulking agents, antispasmodics and antidepressants for the treatment of irritable bowel syndrome. Cochrane Database Syst Rev. 2011;(8):CD003460
- Ford AC, Wright-Hughes A, Alderson SL, et al. Amitriptyline at low-dose and titrated for irritable bowel syndrome as second-line treatment (ATLANTIS): a randomised, double-blind, placebo-controlled, phase 3 trial. Lancet. 2023;402(10414):1773-1785
- U.S. Food and Drug Administration. Metoclopramide information. FDA Drug Safety Communication
- American Geriatrics Society 2019 Updated AGS Beers Criteria for potentially inappropriate medication use in older adults. J Am Geriatr Soc. 2019;67(4):674-694
- Halmos EP, Power VA, Shepherd SJ, et al. A diet low in FODMAPs reduces symptoms of irritable bowel syndrome. Gastroenterology. 2014;146(1):67-75.e5
- Ford AC, Harris LA, Lacy BE, et al. Systematic review with meta-analysis: the efficacy of prebiotics, probiotics, synbiotics and antibiotics in irritable bowel syndrome. Aliment Pharmacol Ther. 2018;48(10):1044-1060
- Everitt HA, Landau S, O'Reilly G, et al. Cognitive behavioural therapy for irritable bowel syndrome: 24-month follow-up of participants in the ACTIB randomised trial. Lancet Gastroenterol Hepatol. 2019;4(11):863-872
- Camilleri M, Parkman HP, Shafi MA, et al. Clinical guideline: management of gastroparesis. Am J Gastroenterol. 2013;108(1):18-37
- National Institute for Health and Care Excellence. Ovarian cancer: recognition and initial management (NG122). NICE Guideline. 2011