Juventus were again heading for a 1-1 draw until Cristiano Ronaldo arrived from the bench, clear of coronavirus and in top form.
Andrea Pirlo’s men had been held by both Crotone and Hellas Verona in the absence of the five-time Ballon d’Or winner before he finally tested negative on Friday and was cleared to make his comeback.
Ronaldo was still only fit enough to make the bench, however, and watched on as Alvaro Morata’s opener was cancelled out by Tommaso Pobega in fortuitous fashion and the Bianconeri subsequently toiled.
Inevitably, Pirlo turned to his talisman and the 35-year-old netted just 126 seconds after his arrival, later converting a Panenka penalty for his second after fellow substitute Adrien Rabiot had all but secured a welcome victory.
Morata – denied three times by the offside flag against Barcelona in midweek – was grateful for a VAR review as he tapped in the opener from an onside position following Weston McKennie’s unselfish square pass.
A second Morata goal was ruled out, however, and another decision went against Juve as Spezia levelled.
Pobega fired beyond Gianluigi Buffon with the aid of a deflection as the Bianconeri appealed in vain that M’Bala Nzola had made the telling touch while offside.
A sublime last-ditch Julian Chabot challenge denied Juan Cuadrado in front of the goal line late in the first half, but Pirlo did not wait long after the restart to introduce Ronaldo
The impact was immediate as the Portuguese rounded Ivan Provedel from Morata’s pass to slot into the net.
While Juve survived another scare as Kevin Agudelo saw a leveller chalked off when Buffon spilled Chabot’s header, Rabiot put the result beyond doubt, dancing through the Spezia defence and finishing via the post.
And when Federico Chiesa was clumsily tripped Paolo Bartolomei, Ronaldo clipped a cute spot-kick down the centre of the goal for number four.