Alex Ovechkin scored three times in the second period for his 14th career hat trick, and the Washington Capitals beat the Minnesota Wild 4-3 on Thursday night.

Ovechkin, who leads the league with 34 goals, has 13 in his past 13 games. Nicklas Backstrom had three assists and Jason Chimera added an empty-netter for Washington, which improved to a league-best 20-5-2 on the road.

Braden Holtby made 33 saves for the Capitals, who won their fifth consecutive game and became the first team to reach 40 victories this season.

Charlie Coyle, Ryan Suter and Mikael Granlund scored for the Wild, but Minnesota lost for the 12th time in its past 13 games (1-10-2). Devan Dubnyk made 29 saves for the Wild, who have lost seven in a row at home (0-4-3).

Ovechkin's third goal, which deflected off both the post and the back of Dubnyk into the net, was upheld following a coach's challenge. Wild coach Mike Yeo challenged that the puck had left the zone for offsides, but the call stood after a review showed that Backstrom stopped the puck before it crossed the blue line.

The goal gave Ovechkin his first hat trick since he scored four goals against Tampa Bay on Dec. 10, 2013.

It wasn't the only fortunate bounce for Ovechkin on the night, and the five-time 50-goal scorer capitalized on each opportunity.

A shot from T.J. Oshie deflected off of Minnesota forward Zach Parise across the ice right to Ovechkin in the left faceoff circle and Ovechkin quickly snapped off a shot to beat Dubnyk, who couldn't get across the crease to get into position. Three minutes later, Ovechkin scored on the power play when a point shot bounced off the end boards right to Ovechkin in front of the net.

The tally provided some relief for the Capitals' surprisingly ineffective power play. Washington had one power play in its previous six games, an empty-netter for the only goal in its previous 20 power-play chances. The Capitals were 1 of 5 on the power play on Thursday.

Coyle scored for the fifth time in eight games in the second, but second periods have doomed the Wild during their slump. Minnesota has been outscored 13-3 in the period in five straight losses.

Suter scored his sixth goal of the season on the power play in the third as Minnesota went 1 of 5 with the man advantage.

NOTES: Washington C Evgeny Kuznetsov left in the third period after he was hit in the face by the stick of Mikael Granlund off a faceoff. ... Backstrom has 20 points in his last 17 games. ... Minnesota D Jared Spurgeon missed his second straight game with an unspecified deep bruise. Spurgeon has returned to practice, but was held out again. ... Holtby is 27-1-3 in his last 31 games with two shutouts, a 2.10 goals-against average and .927 save percentage.