How to Get Rid of a Gassy Stomach: Remedies That Work

Most stomach gas comes from two sources: air you swallow and food that ferments in your gut. That means relief usually comes down to changing a few habits, adjusting what you eat, and using simple physical techniques to move trapped gas through your system. Here’s how to tackle it from every angle.

Move Trapped Gas Out Physically

When gas is already stuck and causing pressure or cramping, physical movement is the fastest path to relief. A yoga pose called the wind-relieving pose (pavanmuktasana) is specifically designed for this. Lie flat on your back, bring one knee up toward your chest, wrap your hands around it, and gently lift your head toward your knee. Hold for a few breaths, release, and repeat with the other leg. You can also hug both knees and rock gently side to side, which massages the abdominal organs and helps gas shift through the intestines.

Walking for 10 to 15 minutes after a meal also helps. Gentle movement stimulates the muscles in your digestive tract that push food and gas along. Lying on your left side can help too, since it positions your stomach and intestines in a way that encourages gas to travel toward the exit.

Stop Swallowing So Much Air

A surprising amount of stomach gas isn’t produced by digestion at all. It’s air you swallowed without realizing it. Cleveland Clinic identifies several common habits that cause this:

  • Eating too fast or talking while eating
  • Chewing gum or sucking on hard candy
  • Drinking through straws
  • Carbonated drinks like soda and sparkling water
  • Smoking

The fix is straightforward. Chew each bite slowly and swallow before taking the next one. Sip from a glass instead of a straw. Save conversations for after the meal rather than during it. If you’re a habitual gum chewer, cutting that one habit alone can make a noticeable difference within days.

Identify Your Dietary Triggers

Certain foods produce far more gas than others because they contain carbohydrates your small intestine can’t fully absorb. These fermentable sugars, sometimes grouped under the term FODMAPs, travel to the large intestine where bacteria break them down and release gas as a byproduct. The most common culprits include:

  • Beans and lentils
  • Dairy (milk, yogurt, ice cream)
  • Wheat-based foods like bread, cereal, and crackers
  • Certain vegetables: onions, garlic, asparagus, artichokes
  • Certain fruits: apples, pears, cherries, peaches

You don’t need to avoid all of these permanently. The practical approach is an elimination period: cut the major gas-producing foods for two to three weeks, then reintroduce them one at a time. Keep a simple food diary noting what you ate and when symptoms appeared. Patterns usually become obvious quickly, and most people find that only a handful of specific foods are responsible for the bulk of their discomfort.

Check for Lactose or Fructose Intolerance

If dairy consistently gives you gas, bloating, or diarrhea, you may have lactose intolerance, a condition where your body doesn’t produce enough of the enzyme needed to break down the sugar in milk. Symptoms typically start within a few hours of eating or drinking dairy. About 68% of the world’s population has some degree of reduced lactose digestion, so this is far more common than most people assume.

Fructose malabsorption works similarly but involves the sugar found naturally in fruits, honey, and high-fructose corn syrup. In both cases, the undigested sugar reaches your colon, bacteria ferment it, and you end up with gas and cramping. If you suspect either one, a simple elimination test (removing the suspect food for two weeks, then reintroducing it) usually gives you a clear answer. Your doctor can also confirm with a hydrogen breath test if needed.

Over-the-Counter Options That Help

Simethicone is the most widely available OTC medication for gas. It works by breaking up gas bubbles in your digestive tract so they’re easier to pass. 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’s considered very safe because it isn’t absorbed into the bloodstream. Products like Gas-X and Mylanta Gas contain simethicone as their active ingredient.

Alpha-galactosidase (sold as Beano) is a different tool. It’s an enzyme you take with your first bite of a gas-producing food, and it helps break down the complex carbohydrates in beans and vegetables before they reach your colon. It won’t help with gas from dairy (you’d need a lactase supplement for that) or with air swallowing, but it can be very effective for plant-based trigger foods.

Probiotics for Longer-Term Relief

If gas and bloating are a recurring problem rather than an occasional annoyance, probiotics may help rebalance the bacteria in your gut. A 2023 systematic review published in the journal Nutrients analyzed multiple probiotic strains and found that several were significantly better than placebo at reducing bloating scores. Combination probiotics tended to perform well, and specific strains like Lactobacillus plantarum 299v and Bifidobacterium bifidum MIMBb75 showed notable results. The same analysis found that probiotic combinations were associated with improvements in flatulence scores overall.

Probiotics aren’t an overnight fix. Most studies show benefits emerging after several weeks of consistent use. Look for products that list specific strain names on the label rather than just a genus and species, since effectiveness varies dramatically between strains. Fermented foods like yogurt, kefir, sauerkraut, and kimchi provide some probiotic benefit as well, though in less concentrated amounts than supplements.

Eating Habits That Reduce Gas Production

Beyond what you eat, how you eat matters. Larger meals overwhelm the digestive system, leaving more undigested material for gut bacteria to ferment. Smaller, more frequent meals spread the workload out. Cooking vegetables thoroughly also helps, since heat begins breaking down the fibers and complex sugars that cause gas, making them easier to digest than raw versions of the same food.

Soaking dried beans overnight and discarding the soaking water before cooking removes a significant portion of the gas-producing sugars they contain. Rinsing canned beans accomplishes something similar. If you’re increasing your fiber intake (which is generally good for digestion), do it gradually over a few weeks rather than all at once. A sudden jump in fiber is one of the most common causes of temporary, intense bloating.

Signs That Gas Points to Something Else

Occasional gas is normal. Most people pass gas 13 to 21 times a day. But gas paired with certain other symptoms can signal a condition worth investigating, such as irritable bowel syndrome, small intestinal bacterial overgrowth, or celiac disease. Pay attention if your gas comes alongside bloody stools, unexplained weight loss, persistent changes in bowel habits (new constipation or diarrhea), ongoing nausea or vomiting, or a noticeable change in the consistency of your stools. Any of these combinations warrants a conversation with a healthcare provider to rule out something beyond routine digestive gas.