Nicklas Lidstrom had a goal and an assist, and Jason Williams and Dan Cleary also scored for Detroit. Robert Lang and Mathieu Schneider each added two assists. Dominik Hasek made 18 saves.
Petr Cajanek scored twice and Dallas Drake also had a goal for St. Louis, which lost its sixth straight. Blue goalie Jason Bacashihua stopped 39 shots.
Datsyuk picked up a loose puck in his own zone and skated the length of the ice on a 2-on-1 with Lidstrom and beat Bacashihua with a wrist shot from the right circle.
Cleary tied it at 3, 4:33 into the third period with a power-play goal when he put in the rebound of his own tip attempt.
Drake's short-handed goal 42 seconds into the second period stretched the Blues' lead to 3-0. His slap shot from the top of the left circle beat Hasek high on the glove side. It was Drake's first goal of the season.
But the Red Wings pulled to within one before the middle period ended.
Lidstrom's 5-on-3 power-play goal got Detroit on the board 1:48 into the second period as he ripped a one-time slap shot from the high slot. Williams then converted a spectacular play by Lang into goal with 9:11 left in the period.
Lang beat St. Louis defenceman Christian Backman by putting the puck through Backman's legs in the high slot, made a move around another Blues player and passed to Williams as he was being hit. Williams, at the bottom of the left circle, took a one-time shot and it trickled through Bacashihua's pads.
St. Louis led 2-0 after the first period.
Cajanek got both goals as he beat Hasek with a one-timer from the bottom of the right circle with 6:45 left in the opening period and poked in a loose puck off a goal-mouth scramble with 1:45 remaining.
Note: Detroit was playing its first game without D Danny Markov, who is out for three weeks with a broken right hand. The Red Wings were also without D Niklas Kronwall for the third straight game because of a sore groin. ... Detroit LW Johan Franzen missed his seventh game because of a concussion and knee injury. ... Four of Cajanek's six goals this season have come against the Red Wings. ... Detroit D Brett Lebda staggered off the ice with fewer than five minutes left in the first period after absorbing a flying forearm to the jaw from Drake behind the Red Wings' net. There was no penalty called. Lebda returned in the second period. ... Williams broke his 18-game goal drought. ... The Red Wings had two power-play goals in a game for the first time since Oct. 11.