Gas During Workouts: What Causes It and What Actually Helps
Gas during workouts is common. Here's what causes it, which pre-workout foods to time carefully and whether odor-filtering underwear really works.

If you train regularly, gas during workouts is more common than anyone at the gym admits, and it’s not a sign something is wrong. The NIDDK says people pass gas an average of 8 to 14 times a day, and up to 25 times is still considered normal.
Below, you’ll learn why training and gas go together, the pre-workout foods most likely to cause trouble, how to time meals around exercise, whether odor-filtering underwear actually works and when to see a doctor.
Why Do You Get Gas During Workouts?
This article is for general information and doesn’t replace medical advice. See a doctor if gas or bloating is new, painful or comes with other symptoms.
Gas comes from two places. You swallow air when you eat, drink, chew gum or breathe hard. And bacteria in your large intestine break down carbohydrates you didn’t fully digest, such as sugars, starches and fiber, producing gas as they go.
Exercise adds its own pressure. A review in Sports Medicine found that 30% to 50% of athletes report gut complaints during exercise, and they’re most common in endurance sports. In one survey of runners, flatulence and bloating were among the most commonly reported symptoms. Running jostles your gut, hard efforts pull blood flow away from your digestive tract, and what you ate beforehand is often still moving through.
Most of the volume is odorless gas like nitrogen, hydrogen and carbon dioxide. The smell comes from a tiny amount of sulfur compounds. In a study in the journal Gut, hydrogen sulfide was the main sulfur gas in flatus, and odor strength tracked closely with how much of it was present.


Which Pre-Workout Foods Cause the Most Gas?
The usual suspects for active people are the same foods that support training, which is why it pays to time them rather than cut them out.
| Food or drink | Why it causes gas | Training-day fix |
|---|---|---|
| Protein bars and sugar-free snacks | Sugar alcohols like sorbitol, xylitol and maltitol aren’t fully digested | Check the label for words ending in -ol; save those bars for rest days |
| Protein shakes | Some contain lactose or sugar alcohols | Try an isolate or lactose-free powder, or drink it after training |
| Beans, lentils and high-fiber meals | Gut bacteria ferment fiber and certain sugars | Eat them after training and keep pre-workout meals simpler |
| Sparkling water and soda | Carbonation adds gas directly | Switch to still water in the two hours before you train |
| Gum and fast drinking | Both mean swallowing more air | Sip rather than gulp, and skip gum before a run |
Sugar alcohols deserve a special mention because they hide in so many “healthy” snacks. Poison Control notes that because they’re poorly digested, sugar alcohols can cause abdominal pain, bloating and gas, and can have a laxative effect. If your post-lunch protein bar keeps showing up mid-workout, that’s the first thing to check.
Beans are the classic example of fermentable fiber, and if you want the science, this explainer on why beans make you fart breaks down why and how to make them easier to digest. Fiber is still worth eating; if you’ve recently ramped up, our guide to signs you’re eating too much fiber can help you pace it.
How Should You Time Meals Around Exercise?
Timing solves a lot of gas problems without changing what you eat:
- Leave two to three hours after a full meal before a hard session.
- Have a small, simple snack about an hour before if you need fuel, such as a banana or toast.
- Save fiber-heavy meals and beans for after training or rest days.
- Practice race-day fueling in training so nothing is new on the day. Runners should test gels and drinks on long runs first.
- Walk after meals. In a randomized trial of people with bloating, 10 to 15 minutes of slow walking after each meal eased gas and bloating as effectively as medication.
Gentle movement helps on its own, too. A study in the American Journal of Gastroenterology found that mild physical activity enhances intestinal gas clearance and reduces symptoms in people with bloating. So the short walk before your class is doing more than warming you up.
Use the check below to find your most likely triggers.
Tell us how you train and what you eat beforehand. You’ll get the most likely gas triggers, a timing fix to try and the option that suits your situation.
Try this first
For confidence on the day
Does Odor-Filtering Underwear Actually Work?
For odor, yes, if it’s made with the right material. The key is activated carbon, a material processed to create a huge network of tiny pores. As gas passes through, sulfur compounds stick to that surface, a process called adsorption, while odorless gases pass through.
There’s real research behind it. A 2005 study in the American Journal of Gastroenterology tested charcoal products by measuring how much sulfide gas they captured. Briefs made from activated carbon fiber fabric adsorbed virtually all of the sulfide gases. Pads worn inside regular underwear removed 55% to 77%, and most seat cushions captured only about 20%.
That’s the gap that matters when you’re choosing a product. If you want a closer look at the science, this guide explains how odor-filtering underwear works, including how the carbon layer is built into the garment.
What It Can and Can’t Do
| It can | It can’t |
|---|---|
| Trap most gas odor before it reaches the air | Muffle the sound |
| Work all day without being switched on | Reduce how much gas you produce or ease bloating |
| Help in a quiet class or at work after training | Protect against leaks, since most styles are for gas only |
| Keep working wash after wash with proper care | Replace medical care for new or severe symptoms |
What to Look For
- A sewn-in carbon panel that covers the right area, rather than a removable pad that can shift during a squat or a run.
- Real activated carbon cloth. Fragrance or antimicrobial finishes help with sweat odor but do little for gas.
- A fit you’d train in. A breathable outer fabric and snug fit keep the panel in place when you move.
- Clear care instructions. Wash on low heat, skip fabric softener, which can coat the carbon, and air dry when you can.
- Honest claims. Be wary of anything that promises to stop gas, cure bloating or handle incontinence.

When Should You See a Doctor About Gas?
Gas is normal, but some patterns are worth checking. Talk to a doctor if gas or bloating is new or getting worse, comes with pain, diarrhea or constipation, or shows up with weight loss, blood in your stool or a fever. A registered dietitian can also help you find personal triggers if you’re managing IBS or another digestive condition.
If bloating bothers you more than gas, our guide to why active women feel bloated after big meals covers what helps. And for the rest of the mid-run surprises, see our list of unexpected things that can happen on a run.
Frequently Asked Questions
Is it normal to have gas during exercise?
Yes. Movement, hard breathing and what you ate beforehand all play a part, and gut complaints are common among athletes, especially runners.
Why do protein bars give me gas?
Many contain sugar alcohols such as sorbitol, xylitol or maltitol, which aren’t fully digested and can cause gas and bloating.
Does walking help with gas?
Yes. Research shows mild activity helps clear intestinal gas, and a short walk after meals eased gas and bloating in a randomized trial.
Does odor-filtering underwear really work?
Underwear made with activated carbon fiber fabric captured virtually all sulfide gases in a lab study. Pads and cushions captured less.
