Chesterfield crushed Wrexham to go second in the table and send their hosts back into the drop zone.
The Spireites were 3-0 up after 15 minutes, Jack Lester getting the first of a close-range brace when keeper Anthony Williams botched a free kick.
Felix Bastians skinned Danny Williams down the left for Adam Rooney to tap in his cross, then Rooney turned provider, crossing for Lester to head home.
Peter Levens completed the rout with a 60th minute shot from Bastians' set-up.
Wrexham: Anthony Williams, Danny Williams, Evans, Hope, Carvill (Spender 63), Crowell (Done 62), Garrett, Mark Jones, Taylor, Marc Williams (Llewellyn 16), Roberts.
Subs Not Used: Michael Jones, Pejic.
Booked: Crowell, Roberts, Danny Williams.
Chesterfield: Roche, Picken, Downes, Kovacs (Gray 71), Robertson, Lowry, Niven, Leven, Bastians (Travis 75), Lester (Allison 81), Rooney.
Subs Not Used: Winter, O'Hare.
Booked: Downes, Picken, Kovacs.
Goals: Lester 6, Rooney 14, Lester 15, Leven 60.
Ref: David Foster (Tyne & Wear).