Drake Batherson scored twice, Claude Giroux had a goal and an assist, and Alex DeBrincat had three assists for Ottawa (14-14-2), which won its fourth straight. Cam Talbot made 29 saves.
"After the start we had, I think we should be proud of getting back to .500 this quickly," Giroux said. "There was a point where it didn't look good for us, but we started putting some games together and found a way to be consistent."
Ottawa, which had three power-play goals and two short-handed goals, hadn't scored five special-team goals in a game since an 8-2 win at the Toronto Maple Leafs on April 3, 2008 (two power-play goals, three short-handed).
"Five is a lot," DeBrincat said. "It's nice to get the power play going like this, and the penalty kill was pretty good. Only giving up a 5-on-3 is good when you consider how many penalties we took."
Ville Husso made 22 saves for Detroit (13-11-6), which has lost five straight (0-4-1), and was 1-for-7 on the power play.
"When you allow five goals on special teams, you aren't going to have a chance," Red Wings coach Derek Lalonde said. "What's really disappointing is that two of the three power-play goals were literally from our stick to their stick and in. You have a broken play and it is in the back of the net."
Joe Veleno gave the Red Wings a 1-0 lead 2:32 into the game, sneaking a shot through Talbot's legs from the right face-off dot.