Match ends, Chesterfield 1, Wrexham 1.
Chesterfield 1-1 Wrexham
Jonathan Smith's late equaliser rescued Chesterfield against promotion-challengers Wrexham, who dropped a place to third.
Brad Walker's first-half penalty after Will Evans handled in the box gave Sam Ricketts' side the chance to return to the top of the National League.
But Martin Allen saw his team battle to the end and earn their reward as Smith struck.
In the process the Spireites rose a place to 19th in the table.
Wrexham manager Sam Ricketts said: "It was disappointing to concede in injury time having been so close to securing what would have been a fantastic three points.
"First half we controlled the game. I was disappointed in our performance second half and ended up defending wave after wave and when you do that eventually one player will switch off and it leads to an opportunity and they will take it."
- 30DentonBooked at 3minsSubstituted forAmantchiat 58'minutes
- 5EvansBooked at 20minsSubstituted forShawat 45'minutesBooked at 81mins
- 22MuggletonSubstituted forKiwomyaat 76'minutes
- 16RowleyBooked at 62mins
- 18LaintonBooked at 87mins
- 5PearsonBooked at 33mins
- 13CarringtonSubstituted forJenningsat 45'minutes
- 9Fondop-TalomSubstituted forBeavonat 59'minutes
- 11PykeSubstituted forHolroydat 75'minutes
- 16WalkerBooked at 75mins
- Christopher Pollard
Second Half ends, Chesterfield 1, Wrexham 1.
Goal! Chesterfield 1, Wrexham 1. Jonathan Smith (Chesterfield).
Robert Lainton (Wrexham) is shown the yellow card.
Lee Shaw (Chesterfield) is shown the yellow card.
Substitution, Chesterfield. Alex Kiwomya replaces Sam Muggleton.
Substitution, Wrexham. Chris Holroyd replaces Rekeil Pyke.
Brad Walker (Wrexham) is shown the yellow card.
Joe Rowley (Chesterfield) is shown the yellow card.
Substitution, Wrexham. Stuart Beavon replaces Mike Fondop-Talom.
Substitution, Chesterfield. Levi Amantchi replaces Tom Denton.
Second Half begins Chesterfield 0, Wrexham 1.
Substitution, Chesterfield. Lee Shaw replaces Will Evans.
Substitution, Wrexham. James Jennings replaces Mark Carrington.
First Half ends, Chesterfield 0, Wrexham 1.
Shaun Pearson (Wrexham) is shown the yellow card.
Will Evans (Chesterfield) is shown the yellow card.
Goal! Chesterfield 0, Wrexham 1. Brad Walker (Wrexham) converts the penalty with a.
Tom Denton (Chesterfield) is shown the yellow card.
First Half begins.