Anaheim tied the game midway through the third, and the Sharks needed overtime to beat the Ducks 3-2 for their third straight win.
Brent Burns beat Ducks goalie John Gibson for the game-winner.
In the first game after the holiday break, Paul Martin got the scoring started with a goal at 6:30 in the first.
The Ducks tied it 1-1 at 8:22 in the second courtesy of a goal by Ondrej Kase.
Melker Karlsson gave the Sharks a 2-1 lead after he deflected a puck past Gibson at 14:18 in the second.
Jakob Silfverberg evened the game at 13:35 in the final period.