What medications are used to treat abdominal gas?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: September 15, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

Medications for Abdominal Gas

Simethicone is the first-line medication for relief of abdominal gas and bloating, available over-the-counter at doses of 180 mg per softgel. 1

First-Line Treatments

Simethicone

  • Acts as an antifoaming agent that reduces gas bubbles in the digestive tract
  • Dosage: 180 mg after meals and at bedtime as needed 1
  • Particularly effective for bloating and gas-related discomfort 2
  • Can be combined with probiotics (like Bacillus coagulans) for enhanced effectiveness in IBS-related bloating 2

Antispasmodics

  • Effective for gas-related pain and discomfort 3
  • Options include:
    • Anticholinergics (dicyclomine, hyoscine) - most effective for pain relief but may cause dry mouth 3
    • Direct smooth muscle relaxants (mebeverine, alverine citrate) - fewer anticholinergic side effects 3

Second-Line Treatments

For Constipation-Predominant Gas Symptoms

  • Secretagogues are effective for bloating associated with constipation 3:
    • Linaclotide (290 μg once daily) - most efficacious for IBS-C and bloating 3
    • Lubiprostone (8 μg twice daily) - less likely to cause diarrhea than other secretagogues 3
    • Plecanatide (3-6 μg once daily) - effective for IBS-C related bloating 3

For Diarrhea-Predominant Gas Symptoms

  • Loperamide (4-12 mg daily) - effective for urgency and diarrhea 3
    • Can be used prophylactically before situations where diarrhea might be problematic
    • Combination with simethicone has shown superior efficacy for diarrhea with gas-related discomfort 4

For Bacterial Overgrowth-Related Gas

  • Rifaximin (550 mg three times daily for 14 days) - non-absorbable antibiotic that reduces hydrogen production and flatus episodes 3, 5
  • Consider for patients with IBS-D or suspected small intestinal bacterial overgrowth 3

Neuromodulators for Visceral Hypersensitivity

Tricyclic Antidepressants

  • Effective for abdominal pain and bloating at lower doses than used for depression 3, 6
  • Amitriptyline: Start at 10 mg at bedtime, titrate by 10 mg weekly to target dose of 25-50 mg 6
  • Best avoided if constipation is a major feature 3

Other Neuromodulators

  • Serotonin-norepinephrine reuptake inhibitors (duloxetine, venlafaxine) for visceral hypersensitivity 3
  • Pregabalin has shown improvements in bloating in IBS patients 3

Special Considerations

For Carbohydrate Intolerance

  • Consider trial of dietary restriction for 2 weeks to identify food intolerances 3
  • Breath testing for hydrogen, methane, and CO₂ can help diagnose lactose, fructose, or sucrose intolerances 3
  • Cholestyramine may help in cases of bile salt malabsorption (approximately 10% of diarrhea-predominant IBS patients) 3

Treatment Algorithm

  1. Initial approach: Simethicone 180 mg after meals and at bedtime
  2. If pain is predominant: Add antispasmodic (dicyclomine or mebeverine)
  3. If constipation is present: Add secretagogue (linaclotide preferred based on efficacy)
  4. If diarrhea is present: Add loperamide 4-12 mg daily
  5. If symptoms persist: Consider neuromodulator (amitriptyline starting at 10 mg at bedtime)
  6. If bacterial overgrowth suspected: Trial of rifaximin 550 mg three times daily for 14 days

Pitfalls and Caveats

  • Anticholinergic antispasmodics may cause dry mouth and other anticholinergic side effects
  • Diarrhea is a common side effect of linaclotide and other secretagogues
  • Constipation can occur with tricyclic antidepressants and 5-HT3 antagonists
  • Opioid analgesics should be avoided as they can worsen gastrointestinal dysmotility 6
  • Long-term use of antibiotics may lead to bacterial resistance and should be used judiciously

The most effective approach often involves identifying the underlying cause of gas symptoms (constipation, diarrhea, bacterial overgrowth, or visceral hypersensitivity) and targeting treatment accordingly, with simethicone serving as the foundation of therapy for most patients.

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.