TORONTO -- Center Pavel Datsyuk scored the decisive goal in the shootout and also had a goal in regulation as the Detroit Red Wings defeated the Toronto Maple Leafs 5-4 on Saturday night.
Centers Joakim Andersson and Tomas Tatar and right winger Tomas Jurco also scored for the Red Wings (17-12-9), who have won two in a row after a six-game losing streak.
Defensemen Cody Franson and Dion Phaneuf, left winger Joffrey Lupul and right winger David Clarkson scored for the Maple Leafs (18-16-4), who overcame a 3-1 deficit to take a lead in the third period. But they could not hold on when Tatar scored late in the game.
Leafs left wingers James van Riemsdyk and Mason Raymond both missed their shots in the shootout. Right winger Daniel Alfredsson also scored in the shootout for Detroit.
Goaltender James Reimer, who started his third consecutive game for the first time this season, gave up three goals on 12 shots in the first period and was replaced to start the second period by goalie Jonathan Bernier, who stopped 25 of the 26 shots he faced before the shootout.
Jonas Gustavsson, a former Maple Leaf goaltender, made 19 saves for the Red Wings.
The Maple Leafs took the lead at 8:32 of the third period when Clarkson jammed in the puck after a wild scramble in front of the goal started by Detroit turnover. It was Clarkson's third goal of the season and No. 100 of his career.
Bernier preserved the lead soon after when he stopped a partial breakaway by Datsyuk.
But Tatar steered home his seventh goal of the season from the edge of the crease to tie the score at 4 at 13:44 of the third period.
After Detroit dominated the first period to take a 3-1 lead, the Maple Leafs scored twice in the second period to tie it at 3. Phaneuf scored his third goal of the season on a slap shot from near the top of the left faceoff circle at 11:45 of the second to get the Maple Leafs back into the game.
Phaneuf had a chance to tie it at 15:36, but Gustavsson made a spectacular sprawling stick save.
Lupul tied it at 18:24 with his 11th goal of the season on a power play with a close-in wrist shot. Defenseman Kyle Quincey was off for high-sticking.
The Maple Leafs opened the scoring at 7:15 of the first period when Franson scored his second goal of the season on a shot from just inside the blue line.
Datsyuk tucked in a backhand from the left edge of the crease at 8:57 of the first for his 14th of the season to tie the score.
The Red Wings jumped into the lead on Andersson's sixth goal of the season on a wraparound from the right side of the net at 13:18.
Center Riley Sheahan passed to an uncovered Jurco in front of the goal, who had time to spin and score on a backhand at 18:08 of the first for his second goal of the season.
NOTES: D Danny DeKeyser (shoulder) returned to the Red Wings' lineup on Saturday after missing nine games. ... LW Henrik Zetterberg (back) hopes to return on Dec. 28 for the Red Wings' game against the Florida Panthers and G Jimmy Howard (knee) could be ready for the Dec. 30 game against the Nashville Predators. ... Toronto G Jonathan Bernier (lower body) did not start for the third straight game. ... Toronto C Tyler Bozak (oblique) is aiming to return Dec. 29 against the Carolina Hurricanes. ... Saturday's game was the first between the teams since Jan. 7, 2012, when the Leafs won 4-3 at Air Canada Centre. ... The teams play again Jan. 1 in the Winter Classic at Michigan Stadium in Ann Arbor.