Carter Verhaeghe had a goal and an assist, and Aleksander Barkov and Radko Gudas also scored for Florida. Matthew Tkachuk had three assists and Anton Lundell had two. Sergei Bobrovsky stopped 36 shots.
''It was one of those nights when it's the goalie competition you know, especially the overtime and shootout,'' Bobrovsky said. ''I have fun in those games.''
Erik Karlsson had a goal and two assists, and Matt Benning and Timo Meier also scored for the Sharks, who have lost three straight. James Reimer finished with 41 saves.
Trailing 2-0 after two periods, San Jose got on the scoreboard when Meier converted on a 5-on-3 power play at 1:04 of the third with his third goal in two games.
Karlsson tied it with his seventh goal and 12th point in a four-game scoring streak at 6:34 of the third period.
''When I'm 50 years old I'll look back on it and I'll be happy about it,'' Karlsson said.
Benning put the Sharks ahead with 8:12 left with his first goal since joining San Jose, but Verhaeghe tied it 3-3 with 1:22 left and Bobrovsky pulled for an extra skater to send it to overtime.
''I think we slowed our game down, especially the puck carrier,'' Reinhart said. ''A little bit too much standing around watching and they swarmed us.''
The Panthers lost assistant captain Patric Hornqvist at 9:14 of the first period after he was hit up high by Sharks forward Luke Kunin, who was ejected for the illegal check to the head major.
''Disappointing, because I really liked the way we crawled back into it,'' Sharks coach David Quinn said. ''Any time you get a five-minute major, that really skews the period.''
Barkov gave the Panthers a 1-0 lead on the ensuing power play getting his second of the season with 6:17 left in the period.
''He's up and mobile and everything's fine, but I won't know until sometime tonight,'' Panthers coach Paul Maurice said about Hornqvist.
Gudas extended the Panthers' lead with 4:10 left in the second with a one-timer from the point through traffic for his first.
THE QUEST FOR 100
Sharks coach David Quinn fell short again of getting his 100th career NHL win. San Jose is now 0-1-2 since Quinn got No. 99 against Toronto on Oct. 27.
Panthers: At Los Angeles on Saturday night.
Sharks: Host Anaheim on Saturday night to finish a six-game homestand.
Copyright 2023 STATS LLC and Associated Press. Any commercial use or distribution without the express written consent of STATS LLC and Associated Press is strictly prohibited.