Rochdale stunned Stockport by thrashing the promotion hopefuls at Edgeley Park.
They were 4-0 up after 17 minutes, with Glenn Murray driving home, Alan Goodall heading in, Adam Rundle scoring from the spot and Ben Muirhead firing home.
Stockport pulled two back when Anthony Elding headed past Matthew Gilks and Liam Dickinson scored from 18 yards.
But Rochdale were rampant and Ben Muirhead converted Murray's flick-on, Murray glanced in a header and Chris Dagnall slammed home to wrap it up.
Stockport: Hennessey, Nolan, Owen, Williams, Rose (Griffin 52), Pilkington, Taylor, Dinning (Le Fondre 46), Rowe, Dickinson (Raynes 75), Elding.
Subs Not Used: Lewis, Bramble.
Booked: Nolan, Taylor.
Goals: Elding 32, Dickinson 35.
Rochdale: Gilks, Ramsden, Stanton, Crooks (Turnbull 80), Goodall, Muirhead, Perkins, Doolan, Rundle, Lewis Dodds (Reet 77), Murray (Dagnall 88).
Subs Not Used: Edge, Jackson.
Goals: Murray 4, Goodall 11, Rundle 15 pen, Muirhead 17, 46, Murray 53, Dagnall 89.
Ref: D McDermidd (Catterick).