Defeat at Rochdale left struggling Accrington hovering dangerously above the Conference relegation places. Adam Rundle bundled Rochdale ahead and Glenn Murray headed the second from Ben Muirhead's free-kick.
Murray made it three, then saw his penalty saved before Paul Mullin's header pulled one back for Stanley.
Adam Le Fondre converted Dale's second penalty after Murray was fouled, with Andrew Mangan claiming a late consolation goal.
Rochdale: Gilks, Ramsden, Crooks, McArdle, Goodall, Muirhead, Doolan, Perkins, Rundle (Prendergast 66), Le Fondre, Murray (Lewis Dodds 90).
Subs Not Used: Edge, Comyn-Platt, Turnbull.
Booked: Perkins.
Goals: Rundle 14, Murray 25, 32, Le Fondre 82 pen.
Accrington Stanley: Kazimierczak, Cavanagh, Edwards, Welch, Rogers (Richardson 46), Todd, Grant (Mangan 46), Proctor, Whalley, Boco (Harris 68), Mullin.
Subs Not Used: Doherty, Almeida.
Booked: Rogers, Welch, Whalley, Edwards, Cavanagh.
Goals: Mullin 70, Mangan 90.
Att: 3,433
Ref: R Shoebridge (Derbyshire).