What Medicine Helps With Bloating: OTC and Rx Options

Several over-the-counter medicines can help with bloating, and the right one depends on what’s causing it. Gas buildup, trouble digesting certain foods, sluggish digestion, and gut spasms all respond to different treatments. Most people find relief with something they can pick up at a pharmacy, though persistent bloating sometimes calls for a prescription.

Simethicone for Trapped Gas

Simethicone is the most widely available anti-gas medication and the active ingredient in brands like Gas-X and Mylanta Gas. It works by combining small gas bubbles in your digestive tract into larger ones that are easier to pass. It doesn’t reduce the amount of gas your body produces, but it helps move existing gas out more efficiently. 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.

Simethicone is a reasonable first choice when your bloating feels like pressure or fullness from gas. It’s considered very safe because the body doesn’t actually absorb it. It passes straight through your digestive system. The limitation is that if your bloating comes from something other than trapped gas bubbles, simethicone won’t do much.

Digestive Enzymes for Food-Related Bloating

If certain foods reliably make you bloated, an enzyme supplement taken before eating can prevent the problem from starting. The two most common options target specific triggers.

Alpha-galactosidase (sold as Beano) breaks down a type of non-absorbable fiber found in beans, root vegetables, and some dairy products. Normally this fiber reaches your intestines intact, where bacteria ferment it and produce gas. Taking alpha-galactosidase before a meal breaks down that fiber before it ever reaches the gut bacteria, so less gas gets produced in the first place. You take it with the first bite of a problem food.

Lactase supplements (like Lactaid) work on the same principle for people who are lactose intolerant. They supply the enzyme your body is short on, letting you digest dairy sugars before they ferment. Both enzyme types are preventive, not reactive. They won’t help much once bloating has already set in.

Peppermint Oil for Bloating With Cramping

Enteric-coated peppermint oil capsules relax the smooth muscle lining your digestive tract, which can ease bloating that comes with cramping or a tight, distended feeling. Research suggests it works by blocking calcium channels in the gut wall, which is similar to how some blood pressure medications relax blood vessel walls. The effective dose in studies is 0.2 to 0.4 mL of oil three times daily in enteric-coated form.

The enteric coating matters. It keeps the capsule from dissolving in your stomach, where peppermint oil can actually worsen heartburn. Instead, the capsule breaks down in your intestines, right where bloating tends to originate. Peppermint oil is particularly popular among people with irritable bowel syndrome (IBS), where bloating is a core symptom.

Bismuth Subsalicylate for Sulfur Gas

If your bloating comes with especially foul-smelling gas, bismuth subsalicylate (the active ingredient in Pepto-Bismol) targets a specific part of the problem. It chemically binds hydrogen sulfide, the compound responsible for the rotten-egg smell that gut bacteria produce. Studies show it can reduce hydrogen sulfide release in the colon by more than 95%. It’s the bismuth itself, not the salicylate portion, that does the binding. This won’t shrink a bloated belly on its own, but it can make gas-related bloating considerably less unpleasant.

Antispasmodics for Post-Meal Bloating

When bloating hits after eating and comes with crampy pain, prescription antispasmodic medications can help. Hyoscyamine and dicyclomine are the two most commonly prescribed options. They work by calming overactive muscle contractions in the intestinal wall, reducing the spasms that can trap gas and create that painful, swollen feeling after meals.

These are anticholinergic drugs, which means they block certain nerve signals to the gut. That same mechanism causes their most common side effects: dry mouth, dizziness, and blurry vision. Most people use them on an as-needed basis rather than daily, taking them when they know a meal is likely to cause trouble.

Probiotics for Recurring Bloating

Probiotics take a different approach by trying to shift the balance of bacteria in your gut over time. Not all strains are equally useful for bloating. One of the most studied is Bifidobacterium infantis 35624, which has been tested specifically in people with IBS. In a clinical trial, about 59% of participants taking a medium dose showed improvement in bloating scores, compared to 52% on placebo. That’s a modest but real difference, and it reflects what probiotics generally offer: gradual, partial improvement rather than dramatic relief.

The challenge with probiotics is that results vary widely between individuals, and it can take several weeks of daily use before you notice anything. They’re best suited for people with chronic, recurring bloating rather than an occasional bad day after a heavy meal.

Prescription Options for Persistent Bloating

When over-the-counter remedies aren’t enough, doctors have several prescription tools depending on the underlying cause.

For bloating caused by slow gut motility (where food moves through your system too slowly), prokinetic medications stimulate contractions along the digestive tract to keep things moving. Metoclopramide is the only FDA-approved prokinetic for gastroparesis in the U.S., though doctors sometimes prescribe others off-label.

If a provider suspects small intestinal bacterial overgrowth (SIBO), where excess bacteria in the small intestine produce abnormal amounts of gas, a short course of a targeted antibiotic can help. Treatment courses typically run 7 to 14 days, and many people notice significant improvement in bloating within that window. SIBO has a tendency to recur, though, so some people need more than one round.

For bloating tied to constipation-predominant IBS, a class of medications called secretagogues draws water into the intestines to soften stool and improve motility. These are daily prescription medications that address the underlying constipation driving the bloating.

Choosing the Right Option

Matching the medicine to the cause makes the biggest difference. If you bloat up after eating beans or broccoli, an enzyme supplement before the meal will outperform simethicone after. If you feel generally distended all day regardless of what you eat, a prokinetic or probiotic approach may be more appropriate. And if bloating comes with sharp cramps, an antispasmodic or peppermint oil targets that muscle tension directly.

Bloating that gets progressively worse, lasts more than a week, comes with pain that doesn’t let up, or arrives alongside fever, vomiting, bleeding, unintentional weight loss, or signs of anemia warrants medical evaluation rather than self-treatment. These patterns can signal conditions that need diagnosis, not just symptom management.