Nic Dowd and John Carlson each had three assists for the Capitals (19-9-3), who trailed by three but won their fourth in a row. Jakub Vrana scored in the sixth round to decide the shootout after Washington killed a penalty in overtime.
"Major credit to our guys for sticking with it and battling through and converting on the chances we got," Washington coach Todd Reirden said. "It was a big two points for us in not a perfect way."
WATCH: [All Capitals vs. Hurricanes highlights]
It was Ovechkin's 22nd NHL hat trick and second in two games, including against the Detroit Red Wings on Tuesday. His point streak (16 goals, six assists) tied his longest in the NHL.
Ovechkin had hat tricks in the first two games of last season; three goals against the Ottawa Senators on Oct. 5, 2017 and four goals against the Montreal Canadiens two days later.
"I just try to do my job," Ovechkin said. "Everybody wants to score goals. In this league, it's hard to do that. I'm lucky I play with pretty good players who set me up, and I just have to do my job."