Gut health for runners: what to eat and avoid

Note: Some links in this article may be affiliate links. If you buy through them, we may earn a small commission at no extra cost to you. We only recommend gear and services we genuinely rate. Learn more.

Photo by RDNE Stock project on Pexels


You’re three miles into your long run when your stomach announces it has other plans. It might be cramping, gurgling, or something more urgent — and suddenly your carefully planned 14-miler has a very different ending in mind. If this sounds familiar, you’re not alone. Gastrointestinal (GI) distress affects up to 60% of distance runners, and it’s one of the most common reasons people bail on training runs or blow up on race day.

The good news is that most runner’s gut problems aren’t random. They’re predictable, and with the right dietary approach, largely manageable. This isn’t about eating “clean” or following some restrictive protocol. It’s about understanding how running affects your digestive system, and making smarter food choices around your training — without overhauling your entire life.

This article is built for runners doing 3–5 runs a week, juggling work and family, and probably eating whatever’s in the fridge most of the time. You don’t need a sports nutritionist. You need practical information that actually works in the real world.


Why running wrecks your stomach (and why it’s not in your head)

When you run, blood flow is redirected away from your digestive system to your working muscles — sometimes by as much as 80%. Your gut, understandably, is not happy about this. Add the physical jostling of running (especially on hard surfaces), and you’ve got a recipe for nausea, cramping, bloating, and the notorious runner’s trots.

Heat makes things worse. Dehydration makes things worse. Running faster than your aerobic threshold makes things significantly worse. This is why GI symptoms often escalate during races — the combination of pace, nerves, heat, and unfamiliar gels is a perfect storm for your digestive system.

The mechanical impact of running is also greater than cycling or swimming, which is why triathletes often report their worst GI symptoms during the run leg. There’s no equivalent to this in low-impact exercise. Your gut literally bounces up and down for hours.


The foods that commonly cause problems before a run

Knowing what to avoid — and how far out — is probably the most immediately useful information here.

High-fibre foods (within 2–3 hours of running): Wholegrains, lentils, beans, brassicas (broccoli, cabbage, Brussels sprouts), and raw onions are fermented by gut bacteria and produce gas. Eat them the night before a long run and you’ll probably be fine. Eat them 90 minutes before and you may regret it.

High-fat foods: Fat slows gastric emptying. A meal heavy in oils, cheese, or fatty meat sits in your stomach much longer than a carbohydrate-based meal. Aim to keep fat content low in the 3 hours before a run.

Caffeine: This is a complicated one. Caffeine can improve performance — research published in the British Journal of Sports Medicine confirms a meaningful performance benefit. But it also stimulates the gut. If you’re caffeine-sensitive or running your first race, test your caffeine intake during training, not on race morning.

Dairy (for some runners): Not everyone has a problem with dairy, but lactose intolerance — even mild — becomes more pronounced under the stress of exercise. If you consistently get cramps or loose stools after milky pre-run meals, try switching to oat milk or a lactose-free alternative and see if things improve over 2–3 weeks.

High-fructose foods: Sports drinks with high fructose, apple juice, or large amounts of dried fruit can overwhelm your gut’s fructose absorption capacity, especially at race pace. This is particularly relevant if you’re using gels — check the carbohydrate blend on the label.


What to eat before a run (and when)

Timing matters as much as content. Here’s a practical framework:

Time before run What works What to avoid
3+ hours Normal balanced meal: rice, pasta, potato, lean protein, cooked veg Very high fat meals, large portions of raw veg/beans
1.5–2 hours Light, low-fibre carbs: white toast, banana, porridge (plain) High-fibre bread, dairy-heavy meals, fried food
30–60 minutes Small snack if needed: half a banana, plain rice cake, small handful of dates Anything unfamiliar, protein bars with artificial sweeteners
Just before Water or very dilute sports drink Energy drinks, concentrated juices, gels (unless tested)

White rice, white bread, and bananas have a bad reputation in everyday nutrition — but for pre-run fuelling, their lower fibre content is actually a feature, not a bug. Save the wholegrains and legumes for your non-training meals.


Fuelling during long runs: gels, chews, and real food

For runs under 60–75 minutes, you almost certainly don’t need to eat anything. Water is usually sufficient. Beyond that, your muscles start to depend on external carbohydrate, and what you take on matters.

Energy gels are convenient but not universally tolerated. The main issues:

  • Concentrated carbohydrates hit your gut fast and can cause nausea if you’re not well-hydrated
  • Artificial sweeteners (especially sorbitol and maltitol) are common in “low sugar” gels and are notorious gut irritants
  • Taking gels without water slows absorption and increases GI risk

If you struggle with gels, try real food alternatives: dates, banana slices, boiled salted potatoes (used widely by ultramarathon runners), or even a few gummy sweets. Some runners do better on solid food than concentrated liquids — experiment in training, never on race day.

You can find more detail on the timing and quantities for longer efforts in our guide to fuelling during a marathon with gels.


Building a gut-friendly everyday diet

Your long-term gut health — the microbiome, the gut lining, the speed of transit — is shaped by what you eat every day, not just around runs. And genuinely good gut health makes GI symptoms during running less likely over time.

This isn’t a licence for a restrictive diet. It’s about building a broad, varied base:

Eat a wide variety of plant foods. Research from King’s College London found that people who consumed 30+ different plant foods per week had significantly more diverse gut microbiomes. Diversity matters — different bacteria feed on different fibres. This doesn’t mean 30 servings; it means variety. A spice counts. Mixed seeds count.

Include fermented foods regularly. Yoghurt, kefir, kimchi, sauerkraut, and miso provide live cultures that support gut microbiome diversity. One small portion of yoghurt or kefir most days is a realistic, evidence-supported habit.

Don’t eliminate fibre to avoid running problems. Low-fibre diets can damage the gut lining over time and worsen long-term GI sensitivity. The solution is timing — eat fibre, just not immediately before running.

Hydration matters more than most runners realise. Even mild dehydration thickens intestinal contents and slows transit. Aim for pale yellow urine on non-running days. On training days, add 400–600ml over your normal intake per hour of running.


Race week nutrition: what changes and what doesn’t

The week before a major race, most runners make at least one dietary mistake. The two most common: panic-eating carbs in a way that causes bloating, and eliminating all fibre so aggressively that their gut becomes sluggish.

Carb loading is a real and useful strategy for events over 90 minutes — but it works over 2–3 days of elevated carbohydrate intake (around 8–10g per kg of bodyweight per day), not one enormous pasta dinner the night before. If you’re running a half marathon or marathon, the timing and quantity of carb loading genuinely affects your performance and how your gut feels at the start line.

In the 24–48 hours before a race:
– Stick to foods you know agree with you
– Reduce fibre gradually (not abruptly)
– Avoid anything new — no experimental restaurant meals, no new brand of sports drink
– Stay well-hydrated but don’t overdrink water, which can dilute sodium levels

If you’re building toward a longer event and want to understand pre-race nutrition in the context of your overall training plan, our 16-week marathon training plan for beginners covers nutrition checkpoints alongside the weekly sessions.


When gut problems might be something more

Most runner’s gut issues are functional — they’re caused by training stress, food timing, or hydration. But if you’re experiencing persistent symptoms (regular blood in stool, severe cramping unrelated to running, dramatic unexplained changes in bowel habits, or significant weight loss), please see your GP. These are not things to manage with rice cakes and probiotics.

Conditions like coeliac disease, IBS, and inflammatory bowel disease are more prevalent in the general population than most people realise, and they don’t get easier to manage if you ignore them. Getting a diagnosis means you can actually train around the condition rather than struggling against something you don’t understand.


The honest takeaway

  • Avoid high-fibre, high-fat, and dairy-heavy meals within 2–3 hours of running. White rice and bananas aren’t unhealthy — they’re practical.
  • Test everything in training. Gels, sports drinks, race-morning breakfasts — nothing new on race day, ever.
  • Build a varied everyday diet with plenty of plant diversity and some fermented foods. Long-term gut health reduces short-term running problems.
  • Timing is the lever you can pull without changing what you eat. Eat the lentils — just not before your long run.
  • If symptoms are persistent or severe, see a doctor. Running gut issues are common. Serious GI conditions are also common. Don’t assume one when it might be the other.

Next read: Carbohydrate loading before a marathon: how to do it right