Why Does My Stomach Hurt After Exercising: Causes & Fixes

Stomach pain after exercise is extremely common, affecting 30 to 50% of athletes and up to 70% of elite endurance athletes. It happens because your body diverts blood away from your digestive system during physical activity, sometimes reducing blood flow to the gut by 40 to 80%. That blood goes to your working muscles instead, leaving your stomach and intestines temporarily starved of oxygen and struggling to do their job.

Blood Flow Shifts Away From Your Gut

The primary reason your stomach hurts after exercise is a process called splanchnic hypoperfusion, which simply means your digestive organs aren’t getting enough blood. When you exercise at moderate to high intensity, your body prioritizes your muscles, heart, and lungs. The blood supply to your gut can drop by as much as 80% during intense effort.

This reduced blood flow damages the cells lining your intestinal wall. When those cells are injured, the barrier that normally keeps bacteria and toxins inside your gut becomes more permeable, sometimes called “leaky gut.” This triggers an inflammatory response that causes cramping, nausea, and pain. The small intestine is more vulnerable to this kind of damage than the colon, which is why upper abdominal discomfort and nausea are so common after hard workouts. Once you stop exercising and blood flow returns to normal, the lining begins to repair itself, but the pain can linger for minutes to hours depending on the severity.

Mechanical Jolting During High-Impact Exercise

Running is particularly notorious for causing stomach problems, and blood flow isn’t the only reason. The repetitive up-and-down motion of running, jumping, or playing sports like tennis physically jostles your abdominal organs. This increases pressure inside your abdomen, compressing the stomach and intestines with every stride or landing.

That compression can force stomach contents upward into the esophagus, causing acid reflux and nausea. It also delays gastric emptying, meaning food sits in your stomach longer than it should, leading to bloating and upper GI discomfort. Over time during a long run, repeated mechanical stress can cause microtrauma to the intestinal lining, making pain and diarrhea more likely. This is the mechanism behind “runner’s trots,” the urgent need to use a bathroom during or after a run that distance runners know well. Lower-impact activities like cycling and swimming generally produce fewer of these mechanical symptoms.

Stress Hormones Ramp Up Acid Production

Exercise is a form of physical stress, and your body responds by releasing cortisol. While cortisol is necessary for fueling your muscles during a workout, elevated levels stimulate the release of gastrin, a hormone that drives gastric acid and digestive enzyme production. More acid in a stomach that’s already under stress from reduced blood flow and physical jostling creates a recipe for pain, burning, and nausea.

In extreme endurance scenarios, this acid overproduction becomes a serious problem. Studies in sled dogs competing in endurance races found that 41 to 61% developed gastritis or gastric ulcers linked to elevated cortisol and gastrin. Humans aren’t running the Iditarod, but the same hormonal cascade happens on a smaller scale during any intense or prolonged workout. If you consistently feel a burning sensation in your upper stomach after hard exercise, excess acid production is a likely contributor.

What You Ate (and When) Matters

Eating too close to a workout is one of the most controllable causes of post-exercise stomach pain. Your stomach needs time to move food into the small intestine before you start diverting blood away from digestion. A general guideline is to eat a full meal one to four hours before exercise, with smaller snacks the closer you get to your workout.

What you eat matters just as much as when. Protein, fat, and fiber all slow digestion. A meal high in any of these sits in the stomach longer, and if you start exercising before it’s emptied, you’ll feel bloated, nauseated, or crampy. Carbohydrates digest fastest, which is why a piece of toast or a banana is a safer bet 30 to 60 minutes before a workout than a protein shake or a handful of nuts. If you exercised on a full stomach and felt awful afterward, that’s likely why.

Dehydration Slows Everything Down

Starting a workout dehydrated compounds all of the problems above. Dehydration slows gastric emptying, meaning food and fluids sit in your stomach longer during exercise. In one study, 37.5% of subjects reported GI complaints during exercise when dehydrated, and gastric emptying was significantly slower compared to being well-hydrated. Runners who lose 4% or more of their body weight through sweat during a race have a notably higher rate of GI problems.

Drinking too much water at once during exercise can also cause trouble. Large volumes of fluid sloshing around in your stomach create their own discomfort. The goal is consistent, moderate sips rather than gulping down a bottle when you’re already thirsty.

Some Activities Cause More Pain Than Others

Not all exercise affects the gut equally. Running is the worst offender because it combines high intensity (blood flow diversion), vertical impact (mechanical jolting), and prolonged duration. Studies show that 30 to 90% of distance runners experience intestinal problems related to exercise. In Ironman triathlons, severe GI distress affects up to 32% of participants, and 7% of triathletes in one study abandoned their race entirely because of stomach problems. Among long-distance triathletes competing in extreme conditions, up to 93% reported at least one GI symptom.

Cycling and swimming still cause blood-flow-related symptoms but produce far less mechanical trauma. Strength training can cause stomach pain through increased intra-abdominal pressure during heavy lifts, particularly squats and deadlifts, but the duration is shorter, so symptoms tend to be briefer.

How to Reduce Post-Exercise Stomach Pain

The most effective strategy is adjusting your pre-exercise nutrition. Keep meals light and carbohydrate-focused in the one to two hours before exercise, and save high-protein, high-fat, or high-fiber meals for at least three to four hours before. Stay hydrated throughout the day so you’re not playing catch-up once your workout starts.

You can also train your gut to tolerate more during exercise. Research shows that practicing fluid and carbohydrate intake during training sessions progressively improves stomach comfort. In one study, runners who regularly practiced drinking a sports drink at a rate matching their sweat loss during 90-minute runs saw significant improvements in stomach comfort over time. The stomach walls adapt to hold more volume with less discomfort, and gastric emptying actually speeds up. Adding just three to four days of higher carbohydrate intake before a race has been shown to reduce gastric emptying time by roughly 20 to 30%.

Lowering workout intensity is another lever. Since blood flow diversion scales with effort, backing off from 90% effort to 70% keeps more blood in your gut. If running consistently causes problems, try alternating with lower-impact cardio like cycling or rowing to see if your symptoms improve.

When Stomach Pain Signals Something Else

Post-exercise stomach pain that resolves within an hour or two and follows a pattern tied to meals, hydration, or intensity is almost always benign. But certain symptoms suggest something beyond normal exercise-related discomfort: sudden severe pain, fever, black or bloody stool, blood in your vomit, constant nausea and vomiting that won’t stop, a stomach that’s visibly swollen, or extreme tenderness when you press on your abdomen. Any of these warrant immediate medical attention, as they can indicate conditions unrelated to exercise that happened to surface during a workout.