How to Get Rid of Gas Fast: What Actually Works
Trapped gas hurts because a stretched intestinal wall triggers pain receptors the same way a distended balloon would. The quickest way out is usually the boring answer: walk. A short bout of mild physical activity roughly doubles the rate at which your gut clears retained gas, and it works whether the gas is from beans, a fizzy drink, or a stress-clenched colon.
Below is the ranked list of what actually moves gas out of a stuck gut, what the evidence says about each, and the popular remedies that do less than the packaging suggests. Then a short section on how to stop it from happening tomorrow.
- Walk for 10 to 15 minutes. In a controlled trial, mild exercise cut intestinal gas retention by about 227 mL and reduced measurable abdominal distension
- Knees-to-chest position (lying on your left side, then rocking knees to chest) uses gravity and gentle compression to move gas toward the rectum
- Peppermint oil relaxes intestinal smooth muscle - meta-analyses find a risk ratio of 2.14 to 2.39 for symptom improvement versus placebo
- Simethicone (Gas-X, Mylicon) breaks gas bubbles apart so they can pass. It works within about 30 minutes and is FDA-approved as safe and effective
- A warm drink and slow deep breathing calm the gastrocolic reflex and reduce swallowed-air buildup
- Activated charcoal is oversold - the trial data is mixed, it binds medications, and mostly reduces odor rather than volume
- Persistent daily gas is a tracking problem, not a supplement problem - identify the food that's actually driving it
First: What "Trapped" Gas Actually Is
Healthy adults pass gas 13 to 21 times a day and produce roughly 500 to 1,500 mL of it in total (Johns Hopkins Medicine). The trouble is not the volume - it is the distribution. When gas pools in a segment of the colon and cannot move past a bend, the intestinal wall stretches and mechanoreceptors fire. That is the pain you feel under the ribs, in the left flank, or in the lower right belly that mimics appendicitis.
You have two mechanical options for getting rid of it: burp it up, or pass it down. Almost everything on this list is designed to move gas in one of those two directions. The interventions that actually work reduce the gas load quickly. The ones that do not tend to just numb the sensation.
1. Walk for 10 to 15 Minutes
This is the most underused fix. In a controlled study published in the American Journal of Medicine, researchers infused gas into the small intestine of healthy volunteers, then had them either rest or perform mild treadmill walking. Mean intestinal gas retention was -84 mL during exercise versus +143 mL at rest - a difference of about 227 mL. Abdominal distension dropped from 8 mm at rest to 3 mm with exercise (Villoria et al., 2006).
An earlier study on mouth-to-cecum transit time found that mild walking cut the time for a liquid meal to reach the colon from 66 minutes at rest to 44 minutes during exercise (Keeling and Martin, 1987). Faster transit means less time for bacteria to ferment carbohydrates, which means less gas in the first place.
You do not need to run. A brisk walk around the block or up and down a flight of stairs is enough to change your intestinal mechanics. Stay upright and let gravity plus the rhythmic pressure of walking do the work.
2. Change Position
If walking is not an option (middle of a meeting, middle of the night), body position alone can move gas along. Two positions have decent theoretical support:
Left-side lying with knees drawn up. The descending colon runs down the left side of your abdomen and terminates in the rectum. Lying on your left encourages any gas caught in the transverse or ascending colon to travel downward with gravity toward the exit.
Knees-to-chest (the "wind-relieving pose"). Lie on your back, pull both knees to your chest, and hug them for 30 seconds while breathing out slowly. This compresses the sigmoid colon and rectum, encouraging trapped gas to move (NHS Shrewsbury and Telford Hospital patient guide). Rock gently side to side to help unstick pockets.
The clinical evidence for yoga specifically as a gas remedy is thin. But there is no downside to a low-effort intervention that most people find comfortable, and the mechanism (abdominal compression plus gravity redirection) is plausible.
3. Peppermint Oil (Enteric-Coated)
Peppermint oil contains L-menthol, which blocks calcium channels in intestinal smooth muscle. That relaxes the gut wall, which lets pooled gas move more easily and reduces the spasmodic pain of gas cramps (Alammar et al., 2019 meta-analysis).
A 2022 systematic review and meta-analysis in Alimentary Pharmacology & Therapeutics pooled seven randomized trials and found a risk ratio of 2.39 for global IBS symptom improvement versus placebo (Ingrosso et al., 2022). An older meta-analysis of five trials in 392 patients reported a risk ratio of 2.23 for global symptoms and 2.14 for abdominal pain (DARE quality-assessed review).
Take enteric-coated capsules 30 to 60 minutes before symptoms are expected, or at the first sign of cramping. Non-coated peppermint (tea, candy) is much weaker because the menthol is absorbed too high up to reach the intestine. If you have GERD, peppermint can worsen reflux by relaxing the lower esophageal sphincter - use it cautiously or skip it.
4. Simethicone (Gas-X, Mylicon, Phazyme)
Simethicone is a silicone-based anti-foaming agent. It does not reduce the total volume of gas your gut produces. What it does is lower the surface tension of the bubbles trapped in intestinal mucus, so smaller bubbles coalesce into larger ones that can be belched or passed (Mayo Clinic).
The FDA classifies simethicone as safe and effective for gas relief, and it has an unusually clean safety profile - it is not absorbed systemically. Onset is around 30 minutes. In studies of gas-related discomfort, most patients using simethicone-containing products report relief within that window (Consensus evidence synthesis).
Two caveats. Simethicone is best for gas that has already formed and is trapped as foam, particularly upper-GI bloating and post-meal distension. It will not prevent gas from forming from a bean-heavy dinner. And it does not treat the underlying driver of chronic bloating - if you are taking it daily, the question to answer is what is producing that much gas.
5. A Warm Drink and Slow Breathing
A warm cup of water, ginger tea, or peppermint tea does two useful things. The warmth relaxes intestinal smooth muscle. The act of drinking slowly, without a straw, without carbonation, reduces the aerophagia loop where anxious swallowing adds air on top of existing gas.
Slow diaphragmatic breathing (four seconds in through the nose, six seconds out through pursed lips) engages the parasympathetic nervous system, which calms the gut. Anxiety amplifies gas pain by making the visceral nerves more sensitive, which is a big part of why the same amount of gas feels catastrophic during a stressful week and unnoticeable on a relaxed weekend (see our guide on the nervous stomach).
6. Alpha-Galactosidase (Beano) - Only If You Take It Early
Alpha-galactosidase is the enzyme humans do not produce, which is why beans, lentils, and cruciferous vegetables ferment in the colon rather than digesting in the small intestine. The over-the-counter supplement Beano supplies the enzyme directly (Mayo Clinic).
It only works taken with the first bite of the offending meal. Once the raffinose and stachyose have reached your colon, the enzyme is useless - it is designed to break the sugars in the small intestine before bacteria get to them. If you are already in trouble from a bean burrito, skip to walking and simethicone.
7. Lactase (Lactaid) - Same Rule
If dairy is your trigger, a lactase enzyme supplement taken with the first bite splits lactose into digestible glucose and galactose before it reaches the colon. Around 36% of Americans have some degree of lactose malabsorption (NIDDK), and for that group Lactaid is one of the few gas interventions that reliably prevents the problem rather than just treating it after.
If you frequently get bloating 30 minutes to 2 hours after dairy, our lactose intolerance guide covers how to confirm it is actually lactose and not something else.
What Does Not Work as Well as Advertised
Activated charcoal. The evidence is mixed and mostly disappointing. Some small trials show reduced breath hydrogen and modest symptom improvement, but larger reviews find the clinical effect is small (UCLA Health). What charcoal actually does well is bind sulfur compounds, which reduces the smell of gas more than the amount. It also binds prescription medications and vitamins, so if you take anything else, charcoal has to be spaced hours apart or it neutralizes your medication too (Cleveland Clinic). Not the first thing to reach for.
Chewable antacids for gas. Antacids neutralize stomach acid. They do not do anything to intestinal gas. If your discomfort is truly bloating and cramping in the lower belly, an antacid is a coin flip that happens to feel productive because you did something.
Baking soda in water. Sodium bicarbonate produces a large burp by reacting with stomach acid to release CO2, which can relieve upper-GI pressure briefly. It also delivers a big sodium load, can trigger stomach rupture in rare cases with a very full stomach, and is not recommended by clinicians as a routine remedy. Skip it.
Chewing gum "to move things along." Chewing gum is one of the major causes of swallowed air in the first place - the constant swallowing that comes with it delivers air straight into the stomach (Mayo Clinic). Sugar-free gum is doubly bad because the sugar alcohols ferment in the colon.
The Order of Operations for a Bad Gas Episode
Say it's 9pm, you ate something that disagreed with you, and you are miserable. What order should you actually run through?
- Walk for 10 minutes. Pace the hallway, go up and down stairs, walk to the corner. This is the single biggest lever.
- Take simethicone. 125 to 250 mg. It kicks in around the time your walk starts to work.
- Drink a warm cup of peppermint or ginger tea. No straw, no ice, no fizz.
- If pain persists, lie down on your left side with knees bent. Then rock through knees-to-chest for 30 seconds at a time.
- Slow breathing throughout. Four seconds in, six seconds out.
Most acute gas episodes resolve within 30 to 60 minutes on this sequence. If you are still in significant pain after two hours, or the pain is sharp and localized rather than crampy and moving, that is a different conversation - see the red flags below.
How to Stop It from Happening Tomorrow
The interventions above are for the moment. The real solution is not needing them. Two rules cover 80% of preventable gas.
Eat slower. Fast eating with talking is a major source of aerophagia. Chew each bite. Put the fork down between bites. Do not eat while walking or driving. This alone eliminates a surprising amount of upper-GI bloating for people who thought they had a food problem.
Find your actual triggers. The stock trigger lists (beans, dairy, cruciferous vegetables, wheat, sugar alcohols, carbonation) apply to almost everyone. Your personal list is much shorter. Most people have two or three foods or combinations that drive most of their episodes. The only reliable way to find yours is to log what you eat and log how you feel 12 to 24 hours later - patterns emerge within a few weeks that memory alone will not surface. We covered the full method in our IBS food triggers guide, and the science behind why fermentable carbs are the usual suspect is in our foods that cause gas and bloating guide.
Once you know your triggers, prevention is easy: dose them (a quarter cup of beans instead of a cup), prep them (soak, rinse, cook), or time them (not before a meeting).
When Gas Is a Red Flag
Most gas is benign, if annoying. See a doctor if any of the following is true:
- Persistent bloating for more than 2 to 3 weeks that does not resolve
- Gas or bloating with unintentional weight loss
- Blood in stool, black tarry stool, or new-onset severe constipation or diarrhea
- Nighttime pain that wakes you up (functional bloating usually does not)
- New-onset bloating in a woman over 50 that persists most days for weeks - ovarian cancer is on the differential (CDC)
- Sudden severe abdominal pain, fever, or vomiting - this is not gas
Chronic daily gas that keeps landing you back on this article is worth investigating properly. Conditions that commonly present as "just gas" include IBS, SIBO, lactose or fructose malabsorption, celiac disease, and gastroparesis. Our guide on when to see a gastroenterologist covers the thresholds that justify a workup.
The Short Version
Walk. Take simethicone. Skip the charcoal. Do not chew gum to "help." Track what you eat, and next week's episode probably will not happen at all.
Number Two lets you log meals and bowel movements side by side. After a few weeks of data, the trigger foods stop being a mystery.
Download for iOS - Free