Nathan MacKinnon and Tyson Barrie scored a minute apart to ignite a four-goal second period as the playoff-chasing Colorado Avalanche rallied for a 6-2 win over the Edmonton Oilers on Tuesday night.

Down 2-0 after the opening period to an Edmonton team already eliminated from postseason contention, the Avalanche surged in the second. MacKinnon started the scoring spree with his 40th goal of the season, while Barrie, Alexander Kerfoot and Colin Wilson joined in. All four goals were scored in a 7:08 span.

Kerfoot and Sven Andrighetto added insurance goals in the third.

Colorado Avalanche defenseman Tyson Barrie is congratulated as he passes the team box after scoring a goal against the Edmonton Oilers in the second period of an NHL hockey game Tuesday, April 2, 2019, in Denver. (AP Photo/David Zalubowski)
Colorado Avalanche defenseman Tyson Barrie is congratulated as he passes the team box after scoring a goal against the Edmonton Oilers in the second period of an NHL hockey game Tuesday, April 2, 2019, in Denver. (AP Photo/David Zalubowski)

The Avalanche began the day two points in front of Arizona for the final wild-card spot in the West. The Coyotes played later Tuesday. Colorado has two games remaining.

Goaltender Semyon Varlamov shook off some early rust in his first appearance since March 15 and finished with 27 saves. He was stepping in for a sizzling Philipp Grubauer for the second game of a back-to-back.

Milan Lucic and Darnell Nurse had goals for Edmonton, while Mikko Koskinen stopped 23 shots.

Colorado Avalanche goaltender Semyon Varlamov takes a drink during a timeout against the Edmonton Oilers in the second period of an NHL hockey game Tuesday, April 2, 2019, in Denver. (AP Photo/David Zalubowski)
Colorado Avalanche goaltender Semyon Varlamov takes a drink during a timeout against the Edmonton Oilers in the second period of an NHL hockey game Tuesday, April 2, 2019, in Denver. (AP Photo/David Zalubowski)

Koskinen had a spectacular save early in the second period with Colorado on the power play. On his back, Koskinen reached his arms over his head and just so happened to deflect MacKinnon’s shot with his glove at the goal line.

Soon after, MacKinnon and the Avalanche broke the game open.

With his goal, MacKinnon joined Joe Sakic (three times) and Milan Hejduk (twice) as the only Avalanche players to reach the 40-goal mark since the franchise relocated to Denver.

Edmonton Oilers left wing Milan Lucic, left, celebrates scoring a goal with Ryan Nugent-Hopkins in the first period of an NHL hockey game against the Colorado Avalanche Tuesday, April 2, 2019, in Denver. (AP Photo/David Zalubowski)
Edmonton Oilers left wing Milan Lucic, left, celebrates scoring a goal with Ryan Nugent-Hopkins in the first period of an NHL hockey game against the Colorado Avalanche Tuesday, April 2, 2019, in Denver. (AP Photo/David Zalubowski)

Kerfoot knocked in the go-ahead goal late in the second period. It was his second straight night with a big tally. In St. Louis on Monday, Kerfoot tied the game in the final minute to secure a valuable point before Colorado lost in a shootout.

Lucic scored his first goal since Jan. 19, and Nurse added another in a dominating first period by Edmonton.

Connor McDavid and the Oilers were eliminated from the postseason Monday. McDavid said that night after a loss in Vegas his frustration level was high in missing the playoffs for a third time in his four seasons.

Edmonton Oilers center Ryan Nugent-Hopkins, left, tries to wrap around the net with the puck as Colorado Avalanche defenseman Samuel Girard covers in the first period of an NHL hockey game Tuesday, April 2, 2019, in Denver. (AP Photo/David Zalubowski)
Edmonton Oilers center Ryan Nugent-Hopkins, left, tries to wrap around the net with the puck as Colorado Avalanche defenseman Samuel Girard covers in the first period of an NHL hockey game Tuesday, April 2, 2019, in Denver. (AP Photo/David Zalubowski)

Edmonton coach Ken Hitchcock understands.

“If you’re frustrated it usually gets replaced sometime during the summer by determination,” Hitchcock said in an interview posted on the team’s website. “When you put as much into the season as a lot of these players put in and you don’t have success, you’d hope they’d be frustrated, and angry and disappointed and whatever other emotion you want to go there.”

NOTES: Edmonton F Ryan Nugent-Hopkins had two assists. … Avalanche F Matt Nieto had an assist in his 400th NHL game. … Colorado had 13 different players pick up at least a point. … Avs captain Gabriel Landeskog had two assists.

Colorado Avalanche defenseman Erik Johnson, left, stops a shot off the stick of Edmonton Oilers center Colby Cave in the first period of an NHL hockey game Tuesday, April 2, 2019, in Denver. (AP Photo/David Zalubowski)
Colorado Avalanche defenseman Erik Johnson, left, stops a shot off the stick of Edmonton Oilers center Colby Cave in the first period of an NHL hockey game Tuesday, April 2, 2019, in Denver. (AP Photo/David Zalubowski)

UP NEXT

Oilers: Host San Jose on Thursday.

Avalanche: Host Winnipeg on Thursday.

Edmonton Oilers center Sam Gagner, top, shoots the puck on the net as Colorado Avalanche defenseman Patrik Nemeth covers in the first period of an NHL hockey game Tuesday, April 2, 2019, in Denver. (AP Photo/David Zalubowski)
Edmonton Oilers center Sam Gagner, top, shoots the puck on the net as Colorado Avalanche defenseman Patrik Nemeth covers in the first period of an NHL hockey game Tuesday, April 2, 2019, in Denver. (AP Photo/David Zalubowski)

___

Colorado Avalanche center Derick Brassard, left, battles for control of the puck with Edmonton Oilers center Ryan Nugent-Hopkins in the first period of an NHL hockey game Tuesday, April 2, 2019, in Denver. (AP Photo/David Zalubowski)
Colorado Avalanche center Derick Brassard, left, battles for control of the puck with Edmonton Oilers center Ryan Nugent-Hopkins in the first period of an NHL hockey game Tuesday, April 2, 2019, in Denver. (AP Photo/David Zalubowski)