Juventus have appointed ex- Italy boss the veteran manager to take the helm for the remainder of the campaign.
The experienced coach steps in for Igor Tudor, who was dismissed post the Lazio setback on Sunday.
The former boss came on board in March as Thiago Motta's replacement but exited following a seven-month stint at the end of an eight-match winless run.
Spalletti guided Napoli to the Serie A crown in 2022-23 prior to assuming the Italy role, who had failed to qualify for the 2022 World Cup under former boss Roberto Mancini.
Under his guidance, they made it to Euro 2024 but were eliminated in the round of 16 by Switzerland.
Yet, the Italian FA let Spalletti go in June following a loss to Norway in World Cup qualifying, with the Azzurri at risk of missing out on a third consecutive World Cup.
Spalletti has also managed Inter Milan, Roma and Udinese in Serie A and secured two Russian Premier League titles with Zenit St Petersburg.
Juventus were temporarily led by Massimo Brambilla during the 3-1 victory over Udinese on Wednesday placing them seventh in the Serie A standings - six points behind leaders Napoli after nine games.
In the Champions League, they sit 25th in the league phase, with one loss and two draws in their first three games.