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...

5. Laurence Maguire 6
An error early after the break almost let Halifax in for a third when he gave away possession on the edge of his own box. Photo: Rachel Atkins

6. Alex Whittle 5
Rowe was furious with his defending in the first-half, particularly not getting out to the ball quick enough for Halifax's second goal, and he hooked him off at half-time. A rare dip from Whittle who has been excellent since joining the Blues. Photo: Rachel Atkins

7. Curtis Weston 7
My man of the match. Considering he was a doubt with a sore Achilles, this was a really good showing from him. Led the charge in the second-half and did not deserve to be on the losing side. Photo: Rachel Atkins

8. Manny Oyeleke 5
Did not really impact the game and looked off the pace at times. Photo: Rachel Atkins

