Erik Karlsson scored 39 seconds into overtime to give the San Jose Sharks a 2-1 victory over the Islanders on Thursday night, handing New York its ninth straight loss.

Nick Bonino also scored and Timo Meier had two assists for the Sharks, who have won three straight and five of six. Adin Hill made 24 saves.

More Images
San Jose Sharks center Nick Bonino (13) tips the puck past New York Islanders goaltender Ilya Sorokin (30) and defenseman Noah Dobson (8) for a goal in the first period of an NHL hockey game Thursday, Dec. 2, 2021, in Elmont, N.Y. (AP PhotoJim McIsaac)

Erik Karlsson scored 39 seconds into overtime to give the San Jose Sharks a 2-1 victory over the Islanders on Thursday night, handing New York its ninth straight loss.

New York Islanders defensemen Andy Greene (4) and Noah Dobson (8) defend against a shot by San Jose Sharks left wing Rudolfs Balcers (92) as Sharks center Tomas Hertl (48) and left wing Alexander Barabanov (94) look for the puck during the second period of an NHL hockey game on Thursday, Dec. 2, 2021, in Elmont, N.Y. (AP PhotoJim McIsaac)

In the extra period, Karlsson skated up on a 2-on-1 before passing to Meier, who cut from left to right across the front of the net but couldn't get a shot off. Meier then passed the puck back from the right side across the front and Karlsson put it past Sorokin for his fifth of the season.

San Jose Sharks center Tomas Hertl (48) vies for the puck against New York Islanders defenseman Noah Dobson (8) during the second period of an NHL hockey game on Thursday, Dec. 2, 2021, in Elmont, N.Y. (AP PhotoJim McIsaac)

The Sharks outshot the Islanders 14-7 and had ample chances in a scoreless and fast-moving second period.

New York Islanders defenseman Noah Dobson (8) helps goaltender Ilya Sorokin (30) defend the net against San Jose Sharks left wing Alexander Barabanov (94) and center Tomas Hertl (48) during the second period of an NHL hockey game on Thursday, Dec. 2, 2021, in Elmont, N.Y. (AP PhotoJim McIsaac)

Barzal got the Islanders on the scoreboard 1:04 into the game on the first shot for either team. He brought the puck up the right side, skated into the right circle and beat Hill up high on the blocker side for his fifth. It gave the Islanders their first lead in five games in their new arena.

New York Islanders center Mathew Barzal (13) tries to skate with the puck past San Jose Sharks defenseman Brent Burns (88) during the second period of an NHL hockey game on Thursday, Dec. 2, 2021, in Elmont, N.Y. (AP PhotoJim McIsaac)

GETTING HEALTHY

New York Islanders center Jean-Gabriel Pageau (44) and right wing Kyle Palmieri (21) vie for the puck after a face off against San Jose Sharks right wing Timo Meier (28) and center Logan Couture (39) the during the first period of an NHL hockey game Thursday, Dec. 2, 2021, in Elmont, N.Y. (AP PhotoJim McIsaac)

Sharks forward Jonah Gadjovich left the game 3:11 into the first period after taking a shot by Dobson off his leg. Gadjovich was down for several minutes before being helped up and off the ice.

New York Islanders center Mathew Barzal (13) skates with the puck between San Jose Sharks center Tomas Hertl (48) and left wing Rudolfs Balcers (92) during the first period of an NHL hockey game on Thursday, Dec. 2, 2021, in Elmont, N.Y. (AP PhotoJim McIsaac)

Islanders: At the Detroit Red Wings on Saturday night.

Mathew Barzal scored early for the Islanders and Ilya Sorokin stopped 33 shots. New York, which had lost eight straight in regulation, is winless in five games at UBS Arena, its $1.1 billion new home next to Belmont Park.

San Jose Sharks center Nick Bonino (13) tips the puck past New York Islanders goaltender Ilya Sorokin (30) and defenseman Noah Dobson (8) for a goal in the first period of an NHL hockey game Thursday, Dec. 2, 2021, in Elmont, N.Y. (AP PhotoJim McIsaac)

San Jose Sharks center Nick Bonino (13) tips the puck past New York Islanders goaltender Ilya Sorokin (30) and defenseman Noah Dobson (8) for a goal in the first period of an NHL hockey game Thursday, Dec. 2, 2021, in Elmont, N.Y. (AP PhotoJim McIsaac)

In the extra period, Karlsson skated up on a 2-on-1 before passing to Meier, who cut from left to right across the front of the net but couldn't get a shot off. Meier then passed the puck back from the right side across the front and Karlsson put it past Sorokin for his fifth of the season.

Meier had his fourth multipoint game in the last five, giving him five goals and three assists in that stretch.

Sorokin came forward to stop a shot by Alexander Barbanov 7:47 into the third period, and Hill gloved a shot by Barzal on a breakaway 10 seconds later to keep the score tied.

New York Islanders defensemen Andy Greene (4) and Noah Dobson (8) defend against a shot by San Jose Sharks left wing Rudolfs Balcers (92) as Sharks center Tomas Hertl (48) and left wing Alexander Barabanov (94) look for the puck during the second period of an NHL hockey game on Thursday, Dec. 2, 2021, in Elmont, N.Y. (AP PhotoJim McIsaac)

New York Islanders defensemen Andy Greene (4) and Noah Dobson (8) defend against a shot by San Jose Sharks left wing Rudolfs Balcers (92) as Sharks center Tomas Hertl (48) and left wing Alexander Barabanov (94) look for the puck during the second period of an NHL hockey game on Thursday, Dec. 2, 2021, in Elmont, N.Y. (AP PhotoJim McIsaac)

The Sharks outshot the Islanders 14-7 and had ample chances in a scoreless and fast-moving second period.

Sorokin had to make a flurry of saves in the opening minutes of the period. With the goalie down on the ice, Rudolfs Balcers tried to lift the puck over him, but it hit off Islanders defenseman Noah Dobson to keep the score tied.

Sorokin stopped a slap shot by Karlsson and denied rookie Jonathan Dahlen midway though the middle period. He also gloved a high shot by Meier with 4:47 left in the period.

San Jose Sharks center Tomas Hertl (48) vies for the puck against New York Islanders defenseman Noah Dobson (8) during the second period of an NHL hockey game on Thursday, Dec. 2, 2021, in Elmont, N.Y. (AP PhotoJim McIsaac)

San Jose Sharks center Tomas Hertl (48) vies for the puck against New York Islanders defenseman Noah Dobson (8) during the second period of an NHL hockey game on Thursday, Dec. 2, 2021, in Elmont, N.Y. (AP PhotoJim McIsaac)

Barzal got the Islanders on the scoreboard 1:04 into the game on the first shot for either team. He brought the puck up the right side, skated into the right circle and beat Hill up high on the blocker side for his fifth. It gave the Islanders their first lead in five games in their new arena.

Bonino tied it at 9:10 as he was standing in front of the net and redirected a pass from Dahlen from the right side with Sorokin out of position for his third.

Anders Lee nearly gave New York the lead again, but his attempt in the final minute of the first hit off a goalpost.

New York Islanders defenseman Noah Dobson (8) helps goaltender Ilya Sorokin (30) defend the net against San Jose Sharks left wing Alexander Barabanov (94) and center Tomas Hertl (48) during the second period of an NHL hockey game on Thursday, Dec. 2, 2021, in Elmont, N.Y. (AP PhotoJim McIsaac)

New York Islanders defenseman Noah Dobson (8) helps goaltender Ilya Sorokin (30) defend the net against San Jose Sharks left wing Alexander Barabanov (94) and center Tomas Hertl (48) during the second period of an NHL hockey game on Thursday, Dec. 2, 2021, in Elmont, N.Y. (AP PhotoJim McIsaac)

GETTING HEALTHY

The Islanders got several players back from their COVID-19-related absences. Josh Bailey returned after missing five games, Lee and defensemen Adam Pelech and Andy Greene each missed four. Kieffer Bellows took part in practice but sat out, and defenseman Zdeno Chara skated on his own.

INJURED

New York Islanders center Mathew Barzal (13) tries to skate with the puck past San Jose Sharks defenseman Brent Burns (88) during the second period of an NHL hockey game on Thursday, Dec. 2, 2021, in Elmont, N.Y. (AP PhotoJim McIsaac)

New York Islanders center Mathew Barzal (13) tries to skate with the puck past San Jose Sharks defenseman Brent Burns (88) during the second period of an NHL hockey game on Thursday, Dec. 2, 2021, in Elmont, N.Y. (AP PhotoJim McIsaac)

Sharks forward Jonah Gadjovich left the game 3:11 into the first period after taking a shot by Dobson off his leg. Gadjovich was down for several minutes before being helped up and off the ice.

UP NEXT

Sharks: At the New York Rangers on Friday night.

New York Islanders center Jean-Gabriel Pageau (44) and right wing Kyle Palmieri (21) vie for the puck after a face off against San Jose Sharks right wing Timo Meier (28) and center Logan Couture (39) the during the first period of an NHL hockey game Thursday, Dec. 2, 2021, in Elmont, N.Y. (AP PhotoJim McIsaac)

New York Islanders center Jean-Gabriel Pageau (44) and right wing Kyle Palmieri (21) vie for the puck after a face off against San Jose Sharks right wing Timo Meier (28) and center Logan Couture (39) the during the first period of an NHL hockey game Thursday, Dec. 2, 2021, in Elmont, N.Y. (AP PhotoJim McIsaac)

Islanders: At the Detroit Red Wings on Saturday night.

Follow Vin Cherwoo at http://www.twitter.com/VinCherwooAP

More AP NHL: https://apnews.com/hub/NHL and https://twitter.com/AP_Sports

New York Islanders center Mathew Barzal (13) skates with the puck between San Jose Sharks center Tomas Hertl (48) and left wing Rudolfs Balcers (92) during the first period of an NHL hockey game on Thursday, Dec. 2, 2021, in Elmont, N.Y. (AP PhotoJim McIsaac)

New York Islanders center Mathew Barzal (13) skates with the puck between San Jose Sharks center Tomas Hertl (48) and left wing Rudolfs Balcers (92) during the first period of an NHL hockey game on Thursday, Dec. 2, 2021, in Elmont, N.Y. (AP PhotoJim McIsaac)