Hitting the Wall in a Marathon: Why Mile 18 and How to Avoid It
Everything felt fine until mile 17, then your legs emptied out and your pace collapsed with no way to pick it back up. Why does it happen so often at the same point, and what should you change for your next marathon?
The KILYO team
The sports coach that reads your workouts
The short answer
Hitting the wall in a marathon is a sharp late-race slowdown, driven mainly by glycogen running out. In Smyth's analysis (PLoS ONE, 2021) of millions of recreational runners, it starts on average around 29 to 30 km (18 mi) and affects 28% of men and 17% of women. To avoid it, start conservatively and take in 30 to 60 g of carbohydrate per hour, as the 2019 IAAF consensus advises.
Key takeaways
- The wall is a slowdown of at least 25% over 5 km (3.1 mi) or more late in the race, starting on average around 29 to 30 km (18 mi).
- Your muscles and liver store a few hundred grams of glycogen, and the faster you run, the sooner it runs out.
- Men, fast starters and runners chasing a personal best hit the wall more often.
- Three levers work together: a cautious starting pace, carbohydrate before and during the race, and long runs that rehearse race day.
When the wall hits in a marathon, you don't slow down a little, you fall apart: your legs stop responding, your pace drops by tens of seconds per kilometer, and the finish turns into a long forced march.
It isn't fate, and it isn't just in your head. Research describes fairly well what happens and who is most at risk, which gives you plenty to work with for your next marathon.
What hitting the wall in a marathon actually means
Researcher Barry Smyth analyzed millions of marathon results from recreational runners (PLoS ONE, 2021). To spot the wall in split times, he defined it like this:
In practice, if you run 5:40 per km (9:07 per mile) up to halfway, the wall pushes you past 7:05 per km (11:24 per mile) for 5 km (3.1 mi) or more.
In this analysis, the slowdown starts on average at 29.6 km (18.4 mi) for men and 29.3 km (18.2 mi) for women. Rapoport's model (2010) puts the peak around 33 to 34 km (20.5 to 21.1 mi). Depending on your pace and training, it can come earlier or later.
Why around 30 km (18.6 mi): glycogen, blood sugar and muscles
Limited stores
Your body stores carbohydrate as glycogen, in your muscles and liver. Rapoport's model gives the orders of magnitude for a lean 70 kg (154 lb) runner:
- Leg muscles: about 310 g of glycogen normally, up to about 570 g after carb loading.
- Liver: about 88 g normally, 160 g at most. The liver releases its glycogen into the blood as glucose for the whole body: it's what keeps your blood sugar up.
- Blood sugar: less than 20 kcal, a drop in the bucket.
Rapoport shows that the faster you run relative to your capacity, the more glycogen you burn and the shorter the distance you can cover before the wall. A start that's too fast empties your stores before the finish line.
Your heart and muscles drift too
Glycogen isn't the whole story. In 2022, Smyth and colleagues followed 82,303 recreational marathoners with their heart rate data. On average, the ratio between heart rate and speed rose by 16% from the start (5 to 10 km, 3.1 to 6.2 mi) to the end (35 to 40 km, 21.7 to 24.9 mi): the heart was working harder for the same speed. This drift started on average around 25 km (15.5 mi).
The third of runners who drifted least finished in 3:37 on average, with a drift that only began around 33 km (20.5 mi). The third who drifted most finished in 3:58, with a drift from 19 km (11.8 mi). Researchers call this "durability": holding your speed as fatigue sets in.
Who hits the wall most
Other factors in his data:
- Ability: the share of runners who hit the wall rises with their reference finish time, from 3 hours up to 5 or 5.5 hours.
- Chasing a PR: in the three years before a personal best, 36% of runners hit the wall, versus 23% in earlier years. Going after an ambitious time pushes you to start too fast.
- Fast starts: Smyth notes that starting fast raises the risk of hitting the wall later.
Signs of the wall during the race
Rapoport describes severe fatigue that comes on fast, with an inability to hold your pace. On the course:
- your pace drops clearly while the effort feels the same, or harder;
- your legs feel heavy and empty, and you can't pick it back up;
- on your watch, heart rate stays high or climbs while your pace falls.
The useful sign shows up early: a pace that slips around 25 km (15.5 mi) while the effort rises. That's when to act, not at 32 km (19.9 mi).
Three ways to avoid hitting the wall in a marathon
The numbers below come from research; how to apply them (a few seconds slower at the start, long runs that finish at marathon pace) comes from coaching practice.
1. A cautious starting pace
Adrenaline and the crowd make you start faster than planned, and every second you bank early costs glycogen you'll miss at 30 km (18.6 mi). Run your first 5 km (3.1 mi) a few seconds per km slower than your goal pace, then settle into it. Prepare your splits before the start:
2. Carbohydrate before and during the race
Before, the 2019 IAAF (now World Athletics) consensus recommends a marathon carb load of 10 to 12 g of carbohydrate per kilo of body weight per day for 36 to 48 hours, ideally low in fiber: 700 to 840 g a day for 70 kg (154 lb). That's what fills your muscles toward the 570 g in Rapoport's model. Race-morning guidance is in what to eat before a race.
During, the same consensus targets 30 to 60 g of carbohydrate per hour for the marathon and suggests trying up to 90 g per hour. For a 4-hour marathon at 60 g per hour, that's 240 g. Rapoport notes that carbohydrate only helps if it's taken about 30 minutes before fatigue sets in: start in the first hour, don't wait until you're hungry.
3. Training that rehearses race day
Smyth and colleagues suggest training may reduce the drift between heart rate and speed. Long runs teach your legs to last and your gut to handle carbohydrate on the move. To build the plan, see first marathon training: where to start.
What you can do on race day: the checklist
- Write your splits at 5, 10, 21.1 and 30 km (3.1, 6.2, 13.1 and 18.6 mi) on your arm or bib.
- Eat a breakfast you've already tested before a long run, nothing new.
- Run the first 5 km (3.1 mi) a few seconds per km slower than your goal pace.
- Take your first carbohydrate within the first hour, then keep to 30 to 60 g per hour as planned.
- Check your pace at 25 km (15.5 mi): if it slips while the effort rises, ease off a little and keep eating.
- Drink at aid stations according to thirst, especially in warm weather.
KILYO reads your long runs from your watch. It spots whether your pace drops in the last half hour or your heart rate climbs while your pace stays flat, the same drift measured in races, and adapts the rest of your plan. Keep a separate note of what you ate, to link a tough finish to your fueling, using the long run fueling method.
Frequently asked questions
At what mile do you hit the wall in a marathon?
Can you hit the wall in a half marathon?
What should you do once you've hit the wall?
Sources
- Smyth B. (2021). How recreational marathon runners hit the wall: A large-scale data analysis of late-race pacing collapse in the marathon. PLoS ONE, 16(5), e0251513. DOI
- Smyth B., Maunder E., Meyler S., Hunter B., Muniz-Pumares D. (2022). Decoupling of Internal and External Workload During a Marathon: An Analysis of Durability in 82,303 Recreational Runners. Sports Medicine, 52, 2283-2295. DOI
- Rapoport B. I. (2010). Metabolic Factors Limiting Performance in Marathon Runners. PLoS Computational Biology, 6(10), e1000960. DOI
- Burke L. M., Castell L. M., Casa D. J. et al. (2019). International Association of Athletics Federations Consensus Statement 2019: Nutrition for Athletics. International Journal of Sport Nutrition and Exercise Metabolism, 29(2), 73-84. DOI
Written with the help of AI.

