Adam Le Fondre crashed home four goals for Stockport as hapless visitors Wrexham shipped five goals for the second match in succession. The floodgates opened with two Stockport goals in the 24th minute.
Mark Robinson struck a penalty after Gareth Evans' foul on Le Fondre, who quickly scored from a poor back-pass.
Two Danny Williams pile-drivers, either side of Le Fondre's cool second, kept Wrexham in touch but Le Fondre hit two more, both from Tesfaye Bramble passes.
Stockport: Ruddy, Williams, Owen, Raynes, Robinson, Poole (Griffin 67), Taylor, Briggs, Malcolm (Proudlock 81), Le Fondre, Murray (Bramble 69).
Subs Not Used: Deasy, Dinning.
Booked: Raynes.
Goals: Robinson 24 pen, Le Fondre 24, 54, 85, 87.
Wrexham: Michael Jones, Valentine (Spender 38), Steve Evans, Gareth Evans, Mike Williams, Mark Jones, Ferguson, Danny Williams, Llewellyn, Newby (Reed 61), Marc Williams (Crowell 31).
Subs Not Used: Whelan, Johnson.
Booked: Danny Williams, Ferguson.
Goals: Danny Williams 43, 61.
Att: 4,884
Ref: R Olivier (W Midlands).