Spezia started the match well and took the lead early when Tommaso Pobega scored a goal after 15 minutes, making it 1-0.
Sampdoria equalised to make it 1-1, as Valerio Verre scored a goal, in the 32nd minute.
It took until the 73rd minute before Tommaso Pobega gave Spezia the lead, from a pass from Simone Bastoni.
Keita Balde equalised for Sampdoria, with an assist by Maya Yoshida, in the 80th minute. The 2-2 goal was the last goal of the game.
The result means the sixth game in a row without a win for Spezia.
Sampdoria have 2 wins, 1 draw and 2 losses with a 6–8 goal difference in the last 5 games, while Spezia have 3 draws and 2 losses and a 5–10 goal difference.
With two games remaining, Sampdoria are in ninth place in the table and Spezia are in 17th.
Spezia will play against Torino on Saturday. Samp will face Udinese on Sunday.