Hitting the Wall in a Marathon: The Carb Math and How to Avoid It
Hitting the wall is what happens when a marathoner runs out of stored carbohydrate before the finish. You avoid it with three numbers: a carb load of 7-10 g per kg of body weight in the days before, 75-90g of carbs per hour during the race starting in the first 20 minutes, and a pace your fitness can hold.
None of that is new. What is worth knowing is how common the wall still is, what it costs when it happens, and why the arithmetic puts anyone who treats gels as optional at risk.
How often it happens and what it costs
Barry Smyth, a computer scientist at University College Dublin, published one of the largest analyses of the wall in PLOS ONEin 2021 (“How recreational marathon runners hit the wall: A large-scale data analysis of late-race pacing collapse in the marathon”). Instead of asking runners whether they hit the wall, he looked for it in their splits. Each runner’s pace over the back part of the race was compared with their own base pace from 5K to 20K, and a sustained late slowdown, at least 25% slower for at least 5 km, was counted as hitting the wall.
By that measure, 28% of men and 17% of women hit the wall. The runners who did slowed by about 40% (men) and 37% (women) relative to their base pace.
The dataset is about 4.2 million race records from an estimated 2.7 million runners between 2005 and 2019. The prevalence and cost figures come from the runners with several marathons on record, and for them the average cost against a recent personal best was 31.5 minutes for men and 33.2 minutes for women.
Half an hour. That is the difference between a 3:45 and a 4:15, and it is lost almost entirely in the last 10 miles.
Smyth’s method only catches the dramatic cases. Benjamin Rapoport’s 2010 paper in PLoS Computational Biology (“Metabolic Factors Limiting Performance in Marathon Runners”) puts the share of marathoners who experience severe, performance-limiting depletion of carbohydrate reserves at more than two-fifths, with roughly 1-2% of starters dropping out.
The carb math
The wall is an accounting problem, and you can run the numbers yourself. The figures below are round approximations. Your own depend on body size, muscle mass, fitness, and pace, which is the point of Rapoport’s model.
The cost. Running costs roughly 1 kcal per kg of body weight per kilometer, at almost any pace. A 70 kg runner covering 42.2 km spends about 2,950 kcal.
The fuel mix. That energy comes from a blend of carbohydrate and fat. Fat is effectively unlimited, since even a lean runner carries tens of thousands of calories of it, but it cannot be burned fast enough to support marathon pace on its own. The harder you run relative to your aerobic capacity, the larger the carbohydrate share. At marathon effort it is the majority. If 70% of the 2,950 comes from carbohydrate, that is about 2,070 kcal, or roughly 515g.
The tank. A well-fed runner stores carbohydrate as glycogen in the liver and in muscle. A common estimate is around 100g in the liver and 400-500g in muscle, about 2,000 kcal in total. Not all of the muscle share is useful, because glycogen in your arms and shoulders cannot be shipped to your quads. Rapoport builds his model on leg muscle mass for that reason.
Put the demand next to the usable supply and the margin is thin or negative. A runner on water alone is asking for about 2,070 kcal of carbohydrate from a usable store that may be smaller than that. When there is a shortfall it lands late in the race, and that is why the wall has a mile marker.
The wall is not bad luck or a lack of toughness. It is a subtraction that can come out negative.
Fix one: fuel at 75-90g per hour from the start
You cannot make the tank much bigger on race day. You can pour into it while you run. At 75-90g of carbs per hour, the baseline FuelCenter uses for the marathon, the in-race total is large relative to the store you started with:
| Finish time | At 75 g/hr | At 90 g/hr | Energy added (kcal) |
|---|---|---|---|
| 3:00 | 225 g | 270 g | 900-1,080 |
| 3:30 | 263 g | 315 g | 1,050-1,260 |
| 4:00 | 300 g | 360 g | 1,200-1,440 |
| 4:30 | 338 g | 405 g | 1,350-1,620 |
| 5:00 | 375 g | 450 g | 1,500-1,800 |
Carbohydrate at 4 kcal per gram. Totals assume fueling for the full race duration.
A 3:30 marathoner at 75-90g per hour takes in 1,050-1,260 kcal of carbohydrate. That is more than half of a full glycogen store, added on top of it. A subtraction that was marginal or negative on water now comes out positive with room to spare.
Compare that with the plan many runners still use: a gel every 45 minutes. With a 22g gel, that is four or five gels and about 100g for a 3:30 race, or 400 kcal. It helps, and it is not enough to close the gap.
Timing matters as much as the total. Carbohydrate taken at mile 3 spares glycogen for the next 23 miles. Carbohydrate taken at mile 20 arrives after the deficit already exists. Take the first gel in the first 20 minutes and keep the interval steady, every 15-20 minutes with 22-25g gels. The gel count for your brand is in how many gels you need for a marathon, and the fueling calculator lays out the schedule by the minute.
A gut that has never seen 80g an hour will object to it on race day. That is a training problem, covered in how to practice race fueling on long runs.
Fix two: start with a full tank
Glycogen stores are not fixed. A normal training diet leaves them partly filled, and a deliberate load in the last 36 to 48 hours tops them up. The carb loading calculator sets the target for an intermediate marathoner at 7-10 g of carbohydrate per kg of body weight per day, with a lower tier for first-timers and a higher one for elites. For a 70 kg intermediate runner it returns 8.5 g/kg, or about 594g a day.
Most runners who think they carb loaded ate one large pasta dinner. A plate of pasta is 80-100g. The target is six to seven times that, spread across the day, and it takes planning to hit. The hour-by-hour version is in the race week fueling timeline.
Loading and in-race fueling are not substitutes. Loading sets the starting balance. Gels slow the rate you draw it down. Skip either one and the other has to cover a gap it cannot cover alone.
Fix three: run the pace your fitness supports
Pace sets the burn rate. Rapoport’s model treats running intensity, as a fraction of aerobic capacity, as one of the main inputs, because the carbohydrate share of your fuel mix climbs as you push closer to your limit. MIT’s summary of the paper says it directly: runners who start too fast burn a higher percentage of carbohydrate and raise their risk of hitting the wall.
This is why a goal pace that is 10 seconds per mile too ambitious does not cost you 10 seconds per mile. It costs nothing for 16 miles and then costs minutes per mile, because the extra glycogen burned early is the glycogen you needed late. A perfect fueling plan does not rescue a pace your fitness cannot support.
Smyth’s finding that men hit the wall more often than women, 28% against 17%, fits that picture. He did not measure why, but the usual reading is pacing: men are more likely to start faster than their fitness justifies.
Set the goal from a recent race, not from the time you want. The race time predictor converts a half marathon or 10K result into a marathon estimate, and the pace calculator turns that into splits. Then run the first 10K at that pace or a few seconds slower, however good it feels.
If it happens anyway
Sometimes the day is hotter than forecast, the stomach shuts down at mile 14, or the first half was too fast. If the pace falls away and the legs stop answering, do three things.
Take carbohydrate now. A gel with water, or a full cup of sports drink or cola if your stomach will not take a gel. You cannot refill muscle glycogen on the run, but you can bring blood glucose back up within minutes, and that clears the lightheaded, foggy part of the wall.
Slow down on purpose. Drop to an effort you can hold and stay there. A lower intensity shifts more of the work to fat, which is the one fuel you still have plenty of. Fighting to hold goal pace burns what little glycogen is left and usually ends in a walk.
Take something at every remaining aid station. Small, frequent amounts are easier on a stressed gut than one large dose.
Not every late-race collapse is a fuel problem. Cramping, muscle damage from downhills, and heat produce their own versions of the last 10K, and carbohydrate does not fix them. Glycogen is the one cause you can do the arithmetic on in advance.
The bottom line
A 70 kg runner needs roughly 2,000 kcal of carbohydrate to run a marathon at race effort and starts with about that much, not all of it usable. Load to 7-10 g/kg in the days before. Take 75-90g an hour from the first 20 minutes. Run the pace your recent races support.
Do all three and mile 20 is another mile marker.
Build your marathon fueling plan
Enter your finish time and gel brand and get a minute-by-minute schedule that hits your carb target from the first mile.
Open the Fueling Calculator →Runner, builder of FuelCenter, and author of Surging. 5 marathons, 3:04 PR, currently chasing sub-3 at Copenhagen. More about FuelCenter →
A running newsletter on training, performance, and how progress compounds.
Keep reading
How Many Gels Do You Need for a Marathon?
Calculate the exact number of gels for your brand and carb target.
Marathon Race Week Fueling Timeline
Carb loading targets, the night-before dinner, and race-morning breakfast timing.
The Science of Race Fueling
Why 90-120g of carbs per hour beats the old 30-60g standard, and how to get there.
Marathon Fueling Plan by Finish Time
Carb totals and gel schedules from sub-3:00 to 5:00 and beyond.
FAQ
What does hitting the wall feel like?
A sudden loss of pace that effort cannot fix. The legs go heavy and unresponsive, the pace drops by a minute or more per mile, and holding even the slower pace takes full concentration. When liver glycogen and blood glucose are also low, it also brings lightheadedness and foggy thinking.
At what mile do marathoners hit the wall?
Usually between miles 18 and 22, with mile 20 as the classic marker. That is where a runner who started with full glycogen stores and under-fueled during the race runs short. Starting under-loaded or going out too fast moves it earlier. Fueling at 75-90g of carbs per hour from the first 20 minutes pushes it past the finish line.
How common is hitting the wall?
Common. Barry Smyth’s 2021 analysis in PLOS ONE identified a late-race pacing collapse in 28% of male runners and 17% of female runners. Benjamin Rapoport’s 2010 paper in PLoS Computational Biology put the share of marathoners who experience severe, performance-limiting carbohydrate depletion at more than two-fifths.
Can you recover after hitting the wall mid-race?
Partly. Take carbohydrate right away, a gel with water or a full cup of sports drink or cola, slow to an effort you can hold, and keep taking something at every aid station. You will not get your goal pace back, because the gut cannot refill muscle glycogen while you are running, but blood glucose comes up within minutes and the slide usually stops getting worse.
Does carb loading prevent hitting the wall?
It delays it, and on its own it is not enough. Carb loading raises the glycogen you start with, but a marathon at race effort can burn more carbohydrate than a runner has stored, depending on pace and fitness. You need both: a load of 7-10 g of carbohydrate per kg of body weight in the days before, and 75-90g of carbs per hour during the race.
Is hitting the wall the same as bonking?
Runners use the words for the same event. Physiologically there are two parts. Low muscle glycogen is what makes the legs heavy and the pace collapse. Low liver glycogen lets blood glucose fall, and that is what causes the lightheaded, foggy feeling. A badly under-fueled marathoner usually gets both at once.