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 spaar.
Mathew Barzal scored early for the Islanders and Ilya Sorokin stopped 33 skote. New York, which had lost eight straight in regulation, is winless in five games at UBS Arena, sy $ 1.1 billion new home next to Belmont Park.
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.
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 in die tydperk verlaat.
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.
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.
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.
Sharks: At the New York Rangers on Friday night.
Eilandbewoners: At the Detroit Red Wings on Saturday night.