Let’s be honest—few things can derail a race faster than unexpected gut issues. Cramping, bloating, or sudden trips to the bathroom have affected countless runners, often turning a long-awaited event into an early exit from the course.
Runner’s diarrhea is a common problem, impacting up to 60% of endurance athletes, especially during long-distance races like half marathons and marathons.
In this guide, we’ll take a closer look at:
- The most common reasons why gastrointestinal (GI) problems happen during running.
- Why over-the-counter medications like Imodium might do more harm than good on race day.
- What to eat before and during your race to keep your stomach calm.
- Practical tips to help you train your gut and avoid digestive distress on the course.
Whether you’re training for your first race or aiming for a PR, a happy gut can make all the difference between a strong finish and a disappointing DNF.
Contents
Why does running trigger GI issues?
Running places unique stress on the body—not just on the legs and lungs, but also on the digestive system. While we often focus on pace, hydration, and fueling, we sometimes forget that our gut is also working hard to keep up. And unlike muscles, it doesn’t always respond well to physical and emotional stress.
Here’s why gastrointestinal (GI) issues—like cramping, bloating, nausea, and diarrhea—are so common during runs, especially long ones:
1. Reduced blood flow to the gut
When you run, your body prioritizes blood flow to your working muscles (legs, heart, lungs) and your skin to help regulate temperature through sweat. That means less blood is available for the gastrointestinal tract, slowing digestion and reducing the gut’s ability to absorb fluids and nutrients.
This gut ischemia (temporary reduction in blood supply) can make your stomach and intestines more sensitive and prone to dysfunction—leading to pain, cramps, or the sudden urge to go.

2. Repetitive mechanical jostling
Running involves thousands of repetitive impacts, especially on hard surfaces. Every stride creates a vibrational effect through your core, gently shaking your internal organs—including your stomach and intestines.
This constant jostling can speed up motility (food moving faster than normal), contribute to a feeling of urgency, worsen any underlying discomfort from digestion-in-progress, and upset sensitive lower bowels, especially if they’re full or irritated.
Cycling and swimming, by comparison, cause far less internal movement, which is why GI distress is more prevalent in runners.
Related: What Happens to Your Body During and After a Marathon?
3. Stress and adrenaline
Even experienced runners get pre-race nerves—and stress has a direct impact on digestion.
When you’re anxious or excited, your body releases adrenaline and cortisol. These hormones can slow down digestion, increase gut sensitivity, and speed up intestinal contractions (peristalsis), which may lead to diarrhea.
This is why some runners feel the need to go to the bathroom multiple times before the race even starts. It’s not all physical—your gut is responding to your emotions too.
Related: 5 Reasons Why We Run Faster on Race Day Than During Training
4. Too much or poorly timed food or drink
What and when you eat matters a lot.
Eating too close to the race doesn’t give your stomach enough time to digest, especially if it’s a heavy or fiber-rich meal. Even foods that are normally well-tolerated (like oatmeal or energy bars) can cause trouble if they’re eaten too late.
Additionally high-fat or high-fiber foods slow digestion and increase the risk of bloating or cramping. Large volumes of water or sports drinks right before running can slosh in your stomach. Concentrated sugar (like some gels or drinks) can pull water into the intestines, causing loose stools or urgency—especially if you’re not used to them.
Poor fueling strategy = unhappy gut.
5. Untrained gut
The gut is trainable—just like your legs. But if you don’t practice fueling on your training runs, your body won’t know how to handle food and fluids at a race pace.
This leads to slower absorption of carbs, discomfort when taking gels mid-run, nausea, bloating, or a feeling of fullness, and sometimes urgent bathroom needs halfway through your race.
Runners often make the mistake of fueling only during the race and skipping it during training runs. That’s like showing up to race day with a completely untrained stomach.
When all these factors come together—reduced blood flow, gut movement, stress, poor fueling, and an untrained digestive system—the outcome is often predictable: cramping, bloating, gas, nausea, or sudden, uncontrollable urges to find the nearest porta-potty or bush.
This is the last thing any runner wants mid-race—especially when you’ve trained for months to hit a personal best.
Related: 10 Tips to Avoid Toilet Breaks During a Race
Why you should think twice before taking Imodium
When race-day nerves meet a sensitive stomach, it’s tempting to reach for a “just in case” solution. Over-the-counter medications like Imodium (loperamide) or Pepto-Bismol (bismuth subsalicylate) are often seen as quick fixes to prevent mid-run bathroom emergencies.
But while they can provide relief in some situations, using them as a preventative measure before a race can do more harm than good.
What do Imodium and Pepto actually do?
- Imodium works by slowing down the movement of your intestines, allowing your body more time to absorb fluid and reduce diarrhea.
- Pepto-Bismol, on the other hand, coats the stomach lining and helps with inflammation, but can also affect motility and gut sensitivity.
That might sound helpful, but during a race, your digestive system needs to function, not shut down.
Here’s why these meds can backfire on race day:
1. Delayed absorption of fuel and fluids
When intestinal movement slows, your body takes longer to absorb glucose (energy from gels and drinks), water, and electrolytes (like sodium, potassium, magnesium).
That’s a big problem when you’re depending on those things to keep you energized, hydrated, and balanced during the long run.
Instead of powering your muscles, the carbs you consume may sit in your gut—undigested and unhelpful. You might feel sluggish or weak, “hit the wall” earlier than expected, and fail to recover well post-race due to under-fueling.
2. Higher risk of dehydration and overheating
Electrolytes and water are essential not just for hydration, but for regulating body temperature and muscle function.
If your gut is slowed down artificially, you may not absorb fluids quickly enough, putting you at risk for dehydration, cramps, fatigue, and difficulty cooling your body through sweat.
In hot conditions or longer races, this can become dangerous.
3. Bloating, fullness, and nausea
Ironically, the very medicine meant to “calm your stomach” can actually make it feel worse during physical exertion.
A slowed-down digestive tract can lead to gas buildup, bloating, a heavy or sloshy feeling, and nausea, especially when trying to eat or drink mid-race.
This not only affects comfort but can limit your ability to take in necessary fuel and hydration when you need it most.
4. Post-race constipation and discomfort
Even if you make it through the race without a bathroom emergency, there’s often a “price to pay later.” Many runners report feeling constipated, uncomfortably bloated, and crampy for hours or even days after the event.
Both Imodium and Pepto-Bismol have their place—but it’s important to use them appropriately:
- After the race: If you’re dealing with post-race GI upset, diarrhea, or a traveler’s stomach, these meds can be useful for recovery and comfort.
- Under medical guidance: In rare cases, for runners with diagnosed GI disorders like IBS-D (irritable bowel syndrome with diarrhea), a doctor may recommend limited use as part of a broader strategy.

How to prevent runner’s diarrhea without medication
Most GI issues during races can be prevented and you don’t need to rely on medication to do it.
Rather than shutting down your digestive system, the better long-term strategy is to:
- Train your gut during long runs.
- Fine-tune your nutrition before race day.
- Eliminate known triggers in your diet.
- Use food and hydration that your body has already practiced handling.
- Build confidence in your plan so you don’t rely on last-minute fixes.
In the end, a calm, functional gut is what gets you across the finish line feeling strong—not a medicated one.
What to eat and drink before a race to prevent runner’s diarrhea
48 hours before the race
Goal: Reduce fiber and irritants, start hydrating early.
The two days leading up to a race are not the time to eat “clean” in the traditional sense, no big salads, no lentils, no trendy grain bowls. Instead, focus on foods that are easy to digest and low in fiber to reduce stress on your gut.
What to eat and drink:
- Low-fiber carbohydrates like white rice, pasta, mashed potatoes, white bread, rice cakes, plain crackers; lean, simple proteins like grilled chicken, tofu, hard-boiled eggs, egg whites.
- Simple sugars in moderation: honey, jam, maple syrup.
- Start sipping water consistently throughout the day, add electrolyte tablets to 1–2 bottles to top up sodium and minerals.
What to avoid:
- High-fiber foods: raw fruits and vegetables, whole grains, bran cereals, legumes, dairy, especially if you’re lactose-sensitive.
- Fatty or greasy foods: fast food, bacon, fried food, heavy sauces, sugar alcohols (sorbitol, xylitol, erythritol) commonly found in sugar-free gum, protein bars, and low-carb snacks.
- Anything new—no new supplements, drinks, or snacks that haven’t been tested in training.
This is about giving your gut a break and preparing it for optimal absorption and comfort.
Related: 8 Foods to Eat Before and After a Run for Optimal Fat Burn
The day before the race
Goal: Carb-load smart without upsetting your stomach.
This is the day when glycogen loading matters most—but it has to be done right. You want to maximize carbohydrate intake while continuing to avoid foods that could slow you down (literally).
What to eat and drink:
- Three main meals, each built around 70–75% carbs, with small amounts of protein and fat. For example: rice or pasta with a little olive oil and grilled tofu or chicken.
- Two high-carb snacks: pretzels, rice cakes with jam, banana, fruit juice, cereal without fiber.
- Fluids: keep sipping water or electrolyte drinks regularly.
What to avoid: alcohol, spicy food, or heavy dinners—even if you’re nervous or celebrating.
The key is to top off glycogen stores while keeping your gut calm and stable.
Related: 10 Foods and Drinks to Avoid Before Your Run
Race morning
Goal: Fuel up without surprising your system.
Breakfast should be light, familiar, and low in fiber and fat. Timing is critical—aim to eat 2.5–3 hours before gun time to allow enough digestion.
What to eat and drink:
- Easy pre-race meals: toast or bagel with banana and peanut butter, white rice with scrambled egg whites, applesauce with plain bread or crackers, rice cakes with jam or honey, oatmeal only if it’s quick-cooked and you’ve tested it before.
- Use caffeine strategically—it helps some runners but triggers others.
What to avoid: dairy, even if you normally tolerate it.
Stick with what worked in training—nothing new! Don’t experiment on race day. If you’re unsure, write your breakfast plan down the night before—it helps with nerves and decision fatigue.
Go to the bathroom early, even multiple times if needed.
Related: Should You Consume Caffeine During Training and Races?

During the race
Goal: Fuel consistently without triggering GI distress.
Mid-run fueling is a major trigger for stomach issues—but skipping it will sabotage your performance. The trick is to train with your nutrition strategy in advance and stick to it on race day.
Gels and fuel:
- Take the first gel 5–10 minutes before the start.
- Then every 40–45 minutes, depending on distance and intensity.
- Consume slowly, over 3–5 minutes—don’t gulp a full packet all at once.
- Only use products you’ve tested during long runs or race-pace sessions.
Hydration:
- Aim for 3–7 ounces (90–200 ml) of water every 15–20 minutes depending on the weather and how much you sweat. But don’t force excessive fluid intake.
- Use water to rinse down gels.
- Avoid mixing gels and sugary drinks at the same time. This can create a sugar overload.
- Consider sipping electrolyte drinks. Choose what works best for your gut.
Salt Tabs:
If you’re a salty sweater or it’s hot/humid, start taking salt tablets (like SaltStick or Precision Hydration) the day before the race. Bring a few on course if you’re running longer than 90 minutes.
Related: Why Do Marathon Runners Drink Coca-Cola and Is It Truly Beneficial?
How to train your gut
You should build your digestive system’s tolerance during effort.
Most race-day stomach problems aren’t random—they come from a lack of gut adaptation to fueling under stress. The good news? The gut can be trained.
Here’s how to do it:
- During your long runs (90+ minutes), start fueling after 30–45 minutes.
- Work up to 40–60 g of carbohydrates per hour.
- Test different textures and consistencies: gels, chews, energy waffles, sports drinks.
- Track your response.
- Practice drinking while moving—don’t wait for aid stations to test this skill.
What to do if things go wrong mid-race
Even with all the prep, sometimes things happen. Here’s how to respond calmly and smartly if you feel your stomach turning during the race. Don’t panic—try the following:
- Slow down your pace slightly—reduce stress on your digestive system.
- Sip water in small amounts—avoid gulping.
- Take your gel more gradually, even stretching it over 15–20 minutes.
- If cola is available on the course, try a few small sips—the carbonation and acidity can help reduce nausea.
- Focus on your posture and breathing. Stand tall and breathe deep slouching compresses your gut.
- If symptoms worsen and you feel faint, dizzy, or can’t continue—listen to your body and seek assistance.
Related: What to Do if You Feel Unwell After a Race

Gastrointestinal issues are some of the most frustrating, unpredictable, and let’s be honest embarrassing challenges a runner can face. One moment you’re cruising along feeling strong, and the next you’re searching desperately for the nearest porta-potty or regretting that second energy gel.
But here’s the empowering truth: in most cases, GI problems are preventable.
You don’t need to suffer through every long run or race wondering what your stomach will do. With the right approach, your gut can become one of your strongest assets, not your weakest link.
By Lena Sage