The reserves came back from 2-0 down to beat Nottingham Forest U23s 3-2 in the Central League Cup on Tuesday afternoon.In the match played at Alfreton Town's Impact Arena, Forest were on top during the first 45 minutes with young striker Ben Brereton posting a constant threat.
After testing Lloyd Allinson with an early effort, Brereton opened the scoring after eight minutes, holding off George Lynam before advancing into the area and beating the keeper with a low shot.
Brereton threatened again, shooting beyond the far post, before Dan Gardner had Chesterfield's first effort of note when his cross was caught in the wind and Anthony Wright had to get down low to turn the ball wide.
After Virgil Gomis put a low shot wide, Brereton scored his second in the 28th minute from the penalty spot after he was fouled by Curtis Morrison.
Allinson then made a good save from Gomis and touched a Brereton shot onto a post.
In the latter stages of the half, Connor Dimaio saw his free-kick deflected wide and Jay Smith's header was cleared off the line.
Conor Wilkinson pulled a goal back two minutes after the re-start, firing inside Wright's right-hand post following a lay-off from Rai Simons.
It was all-square in the 55th minute when Gardner's incisive pass picked out Simons who side-stepped Wright before slotting the ball into the net.
Chesterfield continued to press with Gboly Ariyibi and Angel Martinez both having shots saved.
Sandwiched in between those two efforts, Allinson came to the rescue, saving well with his legs after Jake Taylor was put through on goal.
Gardner (78) struck the winner from the penalty spot after Dimaio was fouled by Toby Edser.
It was a deserved victory for the Spireites following a much-improved second-half performance.
Chesterfield: Allinson, Rowley, Morrison, Martinez, Smith, Lynam, Gardner, Dimaio, Simons, Wilkinson (Wakefield 62), Ariyibi. Unused subs: Parkin, Darwent, Sennet, Philips.