Paul Byron scored in the fifth round of the shootout and Montreal beat the New York Rangers on Tuesday night to give coach Claude Julien his first win in his second stint with the Canadiens.
Carey Price made 28 saves for Montreal. Price stopped Kevin Hayes and J.T. Miller twice in the OT, including a diving save in the closing seconds of the extra period.
Shea Weber had a goal and an assist for the Canadiens. Andrew Shaw also scored for Montreal.
The Rangers' Mats Zuccarello opened the shootout with a goal and Montreal's Alexander Radulov tief it in the third round.
Rick Nash and Oscar Lindberg scored in regulation for the Rangers. Henrik Lundqvist made 26 saves as New York snapped its five-game home win streak.
Lundqvist stopped Max Pacioretty halfway through overtime and Montreal's Tomas Plekanec also hit the post late in the period.
Tied 1-1 after the first period, the Canadiens took advantage of a penalty to Nick Holden to take the lead. Weber took a pass from Andrei Markov and one-timed a blast past Lundqvist for his 14th of the season at 1:42.
Price then preserved the lead when he made a nice right pad save on Nash's breakaway attempt a couple of minutes later.
However, Nash got the better of Price halfway through the second period. Ryan McDonagh made the pass to spring Nash on the breakaway and he beat Price with a wrister for his 17th at 9:26.
Lundqvist then made a glove save on Byron's shot less than a minute later before Brendan Gallagher crashed into him and drew an interference penalty.
Weber helped the Canadiens open the scoring early in the first period. He shot wide from the right point. Shaw got the puck behind the net and beat Lundqvist with a wraparound at 3:55 for his eighth.
The Rangers answered halfway through the period. Jesper Fast took a pass from Lindberg at his own blue line and skated into the Canadiens zone along the right wall. Fast then centered a pass while sliding to the ice and Lindberg, who skated hard all the way toward the net, deflected the puck past Price for his third at 10:03.
NOTES: Julien won 72 games in his first stint with the Canadiens from 2002-03 through 2005-06. ... The Canadiens acquired D Keegan Lowe in a trade from Carolina for Philip Samuelsson. Lowe, the son of Kevin Lowe who won six Stanley Cups in his career, was the 73rd overall pick in the 2011 draft, and played two games with the Hurricanes in 2014-15. The 23-year-old prospect will report to the St. John's IceCaps of the American Hockey League. Samuelsson is the son of Ulf Samuelsson, who is the head coach of the Hurricanes' AHL affiliate in Charlotte. The younger Samuelsson has appeared in 13 career NHL games with the Pittsburgh Penguins and Arizona Coyotes.
Canadiens: Host the New York Islanders on Thursday night.
Rangers: Travel to Toronto to face the Maple Leafs on Thursday night.