What Meds Help With Bloating? OTC and Prescription

Several types of medication can help with bloating, ranging from inexpensive over-the-counter options to prescription drugs for chronic cases. The right choice depends on what’s causing your bloating: trapped gas, difficulty digesting certain foods, or an underlying condition like irritable bowel syndrome. Most people get relief from something they can pick up at a pharmacy without a prescription.

Simethicone for Trapped Gas

Simethicone is the most widely available anti-bloating medication and the one most people try first. It works by merging small gas bubbles in your gut into larger ones, making it easier for trapped air to move through and pass out of your body. You’ll find it sold under brand names like Gas-X, Mylicon, and Phazyme.

The typical adult dose is 40 to 125 mg taken four times a day, after meals and at bedtime, with a maximum of 500 mg in 24 hours. It comes in capsules, chewable tablets, and liquid suspensions. Simethicone works relatively quickly since it acts physically on gas bubbles rather than being absorbed into your bloodstream. It’s considered very safe with minimal side effects, which is why it’s often the default recommendation for occasional bloating.

The limitation of simethicone is that it only addresses gas that’s already formed. If your bloating comes from food intolerances, bacterial imbalances, or sluggish digestion, simethicone may take the edge off without solving the underlying problem.

Digestive Enzymes to Prevent Gas Before It Forms

If certain foods reliably make you bloated, a digestive enzyme supplement taken before eating can stop the problem at its source. These work by breaking down hard-to-digest components of food before they reach your large intestine, where bacteria would otherwise ferment them and produce gas.

The most common options target specific triggers:

  • Alpha-galactosidase (Beano) breaks down a type of non-absorbable fiber found in beans, root vegetables, and some dairy products. You take it in tablet form right before eating or with your first bite. It prevents fermentation in the intestines, which reduces flatulence, cramping, and bloating.
  • Lactase (Lactaid) helps people who are lactose intolerant digest the sugar in milk and dairy. Taken just before consuming dairy, it supplies the enzyme your body doesn’t produce enough of on its own.

These enzymes are preventive, not reactive. They won’t help if you’re already bloated. Their effectiveness also depends on correctly identifying your trigger food. If beans make you miserable, alpha-galactosidase is a reliable fix. If you’re bloated after every meal regardless of what you eat, enzymes alone probably aren’t the answer.

Peppermint Oil for IBS-Related Bloating

Enteric-coated peppermint oil capsules are one of the better-studied natural options for bloating, particularly when it’s tied to irritable bowel syndrome. The enteric coating is important because it prevents the oil from dissolving in your stomach (which can cause heartburn) and instead delivers it to your intestines, where it relaxes the smooth muscle of the gut wall.

In a double-blind trial of IBS patients, 75% of those taking peppermint oil capsules twice daily for four weeks experienced more than a 50% reduction in their total symptom score, compared to 38% in the placebo group. The benefits partially faded after stopping treatment, suggesting it works best as an ongoing strategy rather than a one-time fix. Peppermint oil capsules are available without a prescription at most pharmacies and health food stores.

Prescription Antispasmodics for Cramping and Pressure

When bloating comes with painful cramping or a feeling of intense abdominal pressure, the problem is sometimes less about gas volume and more about how your intestinal muscles are responding. Antispasmodic medications relax the smooth muscle in your digestive tract, easing the spasms that make bloating feel so uncomfortable.

Two commonly prescribed antispasmodics are dicyclomine and hyoscyamine. Both block a chemical messenger called acetylcholine that triggers muscle contractions in the gut. Dicyclomine is specifically indicated for the colicky, spasm-driven pain of irritable bowel syndrome, while hyoscyamine covers a broader range of gastrointestinal problems including cramps, IBS, and diverticulitis. These require a prescription and tend to be reserved for people whose bloating is part of a diagnosed condition rather than an occasional nuisance.

Side effects can include dry mouth, dizziness, and blurred vision, since the same chemical messenger they block also operates elsewhere in the body. Most people tolerate them well at lower doses.

Prescription Antibiotics for Bacterial Overgrowth

Chronic, unrelenting bloating sometimes results from an overgrowth of bacteria in the small intestine, a condition often associated with IBS. In these cases, a short course of a gut-targeted antibiotic called rifaximin can reduce the bacterial population causing excessive fermentation. Unlike most antibiotics, rifaximin stays largely in the gut rather than being absorbed into the bloodstream, which limits systemic side effects.

Rifaximin is typically prescribed as a 14-day course for IBS with diarrhea. It’s not a first-line option and generally comes into play after simpler treatments haven’t worked. Some people need repeat courses, as symptoms can return months later. Your doctor would usually test for bacterial overgrowth or diagnose IBS before prescribing it.

Probiotics: Promising but Strain-Specific

Probiotics get recommended constantly for bloating, but the evidence is more nuanced than the marketing suggests. A large meta-analysis of probiotic strains for IBS symptoms found that most popular strains did not significantly reduce bloating specifically, even when they helped with other symptoms like pain or irregular bowel habits.

Strains that failed to show a meaningful effect on bloating in clinical trials include Bifidobacterium longum 35624 (formerly called B. infantis), Lactobacillus gasseri BNR17, Lactobacillus casei Shirota, Saccharomyces cerevisiae CNCM I-3856, and Saccharomyces boulardii. One strain that did show broad symptom improvement, including reduced bloating severity, was Bacillus coagulans Unique IS2, though the evidence comes from just two studies.

This doesn’t mean probiotics are useless for bloating. It means grabbing a random bottle off the shelf is unlikely to help. If you want to try a probiotic, look for one that names a specific strain (not just a species) and has some clinical data behind it. Give it at least four weeks before deciding whether it’s working.

Bismuth Subsalicylate for Bloating With Upset Stomach

Bismuth subsalicylate, the active ingredient in Pepto-Bismol, can help when bloating accompanies general digestive upset, nausea, or diarrhea. It coats the lining of the stomach and intestines and has mild anti-inflammatory properties. It’s not the most targeted option for bloating alone, but if your bloating comes packaged with other stomach complaints, it can address several symptoms at once.

One important caution: bismuth subsalicylate is chemically related to aspirin. If you take aspirin or other salicylate-containing medications, using it at the same time raises the risk of salicylate overdose. It should also not be given to children under 12, or to teenagers recovering from flu or chickenpox.

Matching the Medication to the Cause

The most effective approach depends on your bloating pattern. If it’s occasional and tied to a big meal, simethicone or a digestive enzyme before eating is usually sufficient. If it’s chronic and accompanies other IBS symptoms like diarrhea or constipation, peppermint oil capsules, antispasmodics, or rifaximin become more relevant options. If it’s specifically triggered by beans, cruciferous vegetables, or dairy, an enzyme supplement is the most logical starting point.

Bloating that persists for weeks, comes with unintentional weight loss, or doesn’t respond to any of these approaches warrants a closer look. Persistent bloating that won’t go away can occasionally signal something more serious, including ovarian cancer in women. A doctor can run tests to rule out structural problems, food intolerances, or bacterial overgrowth and point you toward the right treatment rather than continued trial and error.