Victory has lifted the Spireites to within a point of safety.
Chesterfield's National League survival hopes were bolstered over the weekend, as John Pemberton's men beat Wrexham 3-2.
Curtis Weston's dramatic last minute winner gave the Spireites a vital three points in their bid to stay up.
However, it didn't start well for the home side, as they fell behind after twenty-one minutes courtesy of a Will Evans own goal.
The Chesterfield skipper unfortunately headed JJ Hooper's free-kick over Shwan Jalal into the net, but the hosts responded just minutes later through Tom Denton.
On 25 minutes, the target man latched on to Weston's header before lashing the ball beyond Rob Lainton in the Wrexham goal.
He celebrated by paying tribute to the late Jordan Sinnott, with both club's paying their respects to the former Chesterfield midfielder before the game got underway with a minute's silence.
Wrexham took the lead again on sixty-eight minutes, as Jordan Ponticelli prodded the ball past Jalal to restore the visitors one-goal advantage.
Substitute Liam Mandeville levelled proceedings just three minutes later though, as he was on hand to tap in David Buchanan's corner.
Will Evans nearly won it with just minutes remaining in the game, as his header from Buchanan's set piece was cleared off the line, but Weston managed to grab the decisive goal in the ninety-fourth minute.
The midfielder's close range effort just crossed the line to seal the victory.
Speaking afterwards, Caretaker Manager John Pemberton couldn't hide his delight at the result;
"There's nothing like a last minute winner. It's pleasing to get the three points, we needed them considering the position we're in.
"It was a tough game, I bet it was a good match for the neutral, but not from a Manager's perspective.
"The pleasing thing for me is how we came from behind twice, to then go on and win the match.
"We just never gave up out there, we're really trying to turn things around."
Chesterfield remain twenty-first in the National League.