How to Avoid Hitting the Wall in a Marathon
By anystride · Updated November 6, 2026
General training information. Not independently reviewed by a named clinician or sports dietitian.
“Hitting the wall” describes a marked loss of pace or energy during a long race. Limited carbohydrate availability can contribute, but fatigue, conditions and illness can also affect how you feel. There is no guaranteed mile at which it happens or strategy that prevents every late-race slowdown.
Pacing and preparation
Choose a pace supported by recent training and adjust for the course and weather. Avoid treating a calculator prediction as proof that you can sustain that pace for a marathon. A controlled start leaves room to reassess; it cannot guarantee a strong finish.
Plan carbohydrate by time, not mile markers
The Australian Institute of Sport lists 30–60 grams of carbohydrate per hour for endurance exercise lasting one to two-and-a-half hours, and up to 90 grams per hour for longer events using suitable mixed carbohydrate sources. These are general targets to practice and individualize, not a requirement to start at the upper limit.
Calculate your gel supply
Count carbohydrate from drinks and food as well as gels. For example, a practiced target of 40 grams per hour over four hours requires 160 grams. If gels supply all of it and each contains 20 grams, that is eight gels. There is no universal four-to-six-gel recommendation.
- Check serving sizes and what the aid stations provide.
- Practice manageable amounts on long runs before relying on them in a race.
- Plan regular intake from early in the event, using elapsed time rather than a fixed mile.
Hydration is a separate decision
Carry or arrange access to fluids without forcing a fixed amount beyond your needs. Wilderness Medical Society guidance identifies overdrinking as a major cause of exercise-associated hyponatremia; electrolytes do not make excessive drinking safe.
If you suddenly feel unwell
Slow or stop and seek race medical support if symptoms are severe, unusual or not settling. Do not assume confusion, collapse or inability to continue is simply low fuel. In heat, confusion or loss of consciousness can indicate heat stroke and requires emergency help and rapid cooling. Finishing the race is secondary to getting help.
Sources & further reading
Get your personal numbers
Training paces, predicted times, and the plans that fit you.
Frequently asked questions
Can you recover from hitting the wall mid-race?
Slowing down and taking practiced fuel may help ordinary fatigue, but there is no guaranteed recovery or finish. Severe or unusual symptoms need medical assessment, not instructions to keep going.
How many gels should I take in a marathon?
Calculate from your practiced carbohydrate target, expected duration and gel label, subtracting carbohydrate from drinks and food. The worked example above illustrates the arithmetic, not your personal prescription.
Is hitting the wall the same as bonking?
Runners often use both terms for a major loss of energy. Neither is a medical diagnosis or a reliable way to distinguish low fuel from another cause of feeling unwell.
Does hitting the wall only happen in marathons?
Marked fatigue can occur in many endurance events. Duration, effort, preparation and conditions matter more than a particular race distance.
Related training plans
Beginner
Hal Higdon — Marathon Novice 1
The go-to first-marathon plan: 18 weeks, four runs a week, long runs marching up to 20 miles. Finish-focused, no speedwork.
18 weeks / 4 days a week
Read the method and find its official source
Advanced
Pfitzinger 18/55
Pfitz 18/55 is the Pfitzinger marathon plan from Advanced Marathoning: 18 weeks of training, peaking at 55 miles (89 km) per week. It combines long runs, tempo work and midweek medium-long runs.
18 weeks / 5 days a week
Read the method and find its official source
Intermediate
Hansons Marathon Method
A high-frequency plan built on 'cumulative fatigue' — six runs a week, goal-pace tempo runs, and a deliberately capped 16-mile long run.
18 weeks / 6 days a week
Read the method and find its official source