Goals in the first-half from Jeff King and Jake Hyde did the damage.
Kairo Mitchell bagged his first goal in a Blues shirt with 20 minutes remaining but the visitors held on.
Defeat leaves Chesterfield in the final play-off spot in seventh with nine games to go.
Town face another play-off rival in Wrexham at the Racecourse Ground on Saturday.
Here are Liam Norcliffe’s player ratings from the game...

9. Tom Whelan 5
Looked a bit lost and was ineffective. Had one shot on target in the opening 45. Another one who Rowe did not seem happy with from the touchline. Subbed off 10 minutes after the break. Photo: Rachel Atkins

10. Liam Mandeville 6
Can't fault his effort or commitment. He wasn't in the game at times and then he would pop again. No real goal threat, though. Replaced with 10 to go. Photo: Rachel Atkins

11. Kairo Mitchell 6
Started brightly and was denied by Halifax stopper Johnson with a good, one handed save down to his left. Was isolated for most of the first-half after that. Recovered to score his first goal in a Town shirt with 20 minutes to go, pouncing on an error by Maher. Also played a nice one-two with Tyson before firing over from the edge of the box. Photo: Rachel Atkins

12. Nathan Tyson 6
Came off the bench at half-time to partner Mitchell up front. His acrobatic attempt from Carline's cross went flying over the bar. He had an impact, as he normally does. Photo: Rachel Atkins

