The Spireites regained top spot in Sky Bet League Two as they overcame York City 2-0 in a professional performance at Bootham Crescent.
Eoin Doyle gave Chesterfield the early lead before a strong Dan Gardner run released Gary Roberts to double the away side's advantage five minutes from the break.
The Spireites put in a strong second half display to run out winners and send them to the summit of the league table.
Chesterfield made a perfect start to the game as Doyle smashed home from 12 yards to give them the lead. The striker found space in the area and thundered the ball into the top corner for his fourth league goal of the season.
Roberts nearly doubled the Spireites lead two minutes later, hadn’t it been for a fantastic one-handed save from York stopper Nick Pope. The shot looked goal-bound all the way but the Charlton loanee saved well.
Chesterfield were piling on the pressure early on and York were finding it hard to combat the strong attack. As the game started to settle down, it was still the Spireites that were creating the better chances.
Mid way through the first half, Pope pulled off a good save to deny Ollie Banks. The 21-year-old fired from the edge of the area, but the goalkeeper got his body behind it to save.
Tommy Lee had to be alert just after the half hour mark as York forced their first opportunity of the half. Lanre Oyebanjo volleyed from the edge of the box and Lee superbly tipped the ball wide and away from danger.
The home side started to cause problems but it was the Spireites that doubled their lead with five minutes of the first half remaining. Gardner broke well from a corner and drove at the Minstermen defence. He ran over 60 yards before slipping Roberts in to comfortably finish past the goalkeeper.
Jimmy Ryan tried to curl an effort into the top corner just before the break, but Pope was equal to shot and saved easily.
The Spireites started the second half brightly and Doyle again found a sight of goal early on but the ball just ran away from the Irishman and the move broke down.
Roberts was booked for the Spireites on 50 minutes as the referee adjudged the winger to have kicked the ball away just as York were about to break.
The impressive Gardner, who has made a strong impact on the Chesterfield team since being brought into the club, was replaced just before the hour mark for Jay O’Shea and minutes later, Marc Richards replaced Banks.
His introduction ignited the Spireites to attack more and they were unfortunate not to be given a penalty after Richards was bundled down but the referee was unmoved and gave a goal kick.
With 20 minutes of the game remaining, York tried to force a way back into the game with Josh Carson going close, but the shot wasn’t troubling Lee.
Chesterfield made their third and final substitution on 74 minutes as the influential Roberts was replaced by Sam Hird.
The defender released Richards with ten minutes remaining, but the striker's shot was well saved by the York goalkeeper. The stopper was also alert when the Spireites had a free kick 25-yards-out but Ryan’s effort just went over the crossbar.
The tricky midfielder was unlucky not to get himself on the scoresheet in the final minutes. Ryan picked up the ball in the corner and wormed his way past three defenders before unfortunately dragging his shot wide of the post.
Chesterfield professionally ran the clock down and sent the 633 visiting supporters away the happier of the two sides.
York City: Pope, Oyebanjo (Hayhurst 55'), Davies, McGurk (c)(Platt 87'), Fletcher, Penn, Carson, Lowe, McCombe, Bowman (Coulson 74'), Reed.
Subs not used: McDonald, Allan, Ingham, Dickinson.
Chesterfield: Lee; Darikwa, Evatt (c), Cooper, Humphreys; Ryan, Morsy, Gardner (O'Shea 57'), Banks (Richards 60'), Roberts (Hird 74'); Doyle.
Subs not used: Dunbavin, Smith, Togwell, Gnanduillet.
Goals: York City 0 - 2 Chesterfield (Doyle 2', Roberts 39')
Attendance: 3,322 (633 Chesterfield)