At mile 20, the crowd has thinned, the legs are tired, and every voice in your head says the same thing. A runner who has practiced what to say back keeps going. One who has not often slows to a walk. Mental training for the marathon means skills you practice, like setting goals, pacing, directing your attention and responding to setbacks. Nothing here guarantees a time, and it is not a replacement for care if you are struggling. Race-day logistics are on our running game-day page.
Quick answer: Marathon mental skills include realistic goals with a plan B, patience in the first miles, deliberate focus strategies, and a plan for the hard part late in the race. Research is mostly observational and no technique guarantees performance. Anxiety, depression, disordered eating or burnout are health matters, so take them to a qualified professional; in the US, you can call or text 988.
Goals: more than one
A marathon is long and conditions vary, so one rigid goal can break your race. A common general-coaching approach is to set three: a dream goal, a realistic goal, and a “finish well” goal, and to decide in advance when you will switch. Heat, hills or a bad night can change what is possible; see marathon training.
Patience in the first miles
The classic mental error is going out too fast. In a large analysis of more than 4 million race records, Smyth (2021) found that 28% of male runners and 17% of female runners had a sustained late-race slowdown that the paper treats as “hitting the wall,” and that these slowdowns were more frequent in the years around a recent personal best. A 2026 review calls the wall a mix of fuel, heat, hydration, gut trouble, muscle fatigue, perceived effort and pacing errors, not just one cause. So mental pacing and fueling go together; see nutrition.
Where to put your attention
Sport psychologists describe two broad strategies. Association means focusing on your body, breathing, pace and form. Dissociation means thinking about something else: music, scenery, a distraction game. Masters and Ogles’s 1998 review (in The Sport Psychologist), as summarized in its abstract, found that association is linked with faster performance and dissociation with lower perceived exertion. Morgan and Pollock’s 1977 study of marathoners first described the pattern. Both can be useful, and many runners switch between them; a common general approach is to stay on form and pacing in the middle and use distraction when things get hard. Try both in training.
Handling pain and discomfort
A 2026 systematic review of 53 studies (Song and Song) of long-distance and ultra-endurance runners found that maladaptive pain coping, such as catastrophizing, was the most consistently linked to poorer pain adaptation and a lower likelihood of finishing. Most studies were observational. That points to practicing how you talk to yourself in long runs. Discomfort is expected; pain that is sharp, in one spot or changes your stride is different, and you should stop. See marathon injuries.
Confidence, routines and visualization
Confidence is built from preparation: finished long runs, practiced fueling, a clear plan. Many runners use a short pre-race routine, such as a set breakfast, a warm-up and a few cue words. Imagery, picturing the course, the hard patch and your response, is widely taught. We did not find strong marathon-specific evidence on it for this page, so treat it as a practice habit, not a proven method.
Resilience and coping
In a 2026 study of 682 runners at the 2019 Rome Marathon (Longo and colleagues), higher resilience went with higher coping skills (correlation about 0.49), but these traits did not correlate with marathon times in that sample. In other words, mental skills can help you cope with the race, but there is no proof they make you faster.
Responding to setbacks
A bad patch, a missed workout or a bad race happens to nearly everyone. General practice: name what happened, check the facts (weather, sleep, fueling), decide one thing to change, and move on. If a setback affects your sleep, eating or mood for weeks, that is a health matter, not a training problem.
Mental health is not the same as mental performance
Mental training is about performance skills. Anxiety, depression, disordered eating, burnout and strong feelings about body image are health matters. The 2026 IOC consensus statement on mental health in elite athletes says mental health symptoms and disorders are common among elite athletes, can affect performance and may be linked to sport itself, and that treatment may include psychotherapy, medication and other approaches. For help:
- In the US, call or text 988 (the 988 Suicide and Crisis Lifeline) at any time.
- A doctor, a licensed mental health professional or a sport psychologist can help. The Association for Applied Sport Psychology (AASP) has a resource directory.
- If you are not eating enough or your periods have stopped, see our nutrition page.
Race-week routine
Logistics, such as packing, the bib, start corral and bag drop, are on our running game-day page. Mentally, general practice is to keep sleep regular, avoid trying anything new and to go over your plan the day before.
Marathon mental training FAQs
How do I deal with the wall?
Fueling, pacing and attention all matter. A 2026 review describes the wall as the result of several factors. Practice fueling and pacing on long runs, and use a mental plan for the hard miles.
Should I think about my body or distract myself?
Research on association and dissociation suggests association is linked to faster running and dissociation to lower perceived effort. Many runners use both. Try them on long runs.
Does visualization work?
It is widely taught, but we found no strong marathon-specific evidence for this page. Use it as a way to rehearse your plan, not as a guarantee.
Is pre-race anxiety normal?
Some nerves are common. If anxiety is constant, disturbs your sleep or feels overwhelming, talk to a doctor or mental health professional.
Where can I find help for my mental health?
In the US, call or text 988. A licensed professional or sport psychologist can help; the AASP resource page is a place to start.
Sources
- Smyth B., how recreational marathon runners hit the wall, 2021
- Grivas et al., hitting the wall in marathon running, review, 2026
- Masters and Ogles, associative and dissociative cognitive strategies in exercise and running, Sport Psychologist 1998
- Song and Song, psychological traits and resilience in long-distance runners, systematic review, 2026
- Longo et al., resilience and coping in 682 runners, Rome Marathon, 2026
- Reardon et al., IOC consensus statement on mental health in elite athletes, 2026
- 988 Suicide and Crisis Lifeline
- Association for Applied Sport Psychology, resources
General information for education only, not medical advice. It does not replace a visit with a doctor, physical therapist or athletic trainer. See how we write and check our pages in our editorial policy.
