Juventus have appointed ex- Italy boss Spalletti to take the helm until the end of the season.
The 66-year-old takes over from Igor Tudor, who was dismissed post the Lazio setback recently.
Tudor arrived at the club in March to replace Thiago Motta but left after seven months at the end of an eight-match winless run.
Spalletti led Napoli to the Serie A title in 2022-23 then moving on to lead the Italian national team, after the team's failure to reach the 2022 World Cup during Roberto Mancini's tenure.
He helped them qualify for Euro 2024 where they were knocked out in the last 16 by Switzerland.
Yet, the Italian FA let Spalletti go in June after a World Cup qualifying defeat by Norway, as Italy faced the possibility of not making a third World Cup in a row.
Spalletti's managerial career includes Inter Milan, Roma, and Udinese in Serie A and secured two Russian Premier League titles with Zenit St Petersburg.
Massimo Brambilla took interim charge of Juventus during the 3-1 victory over Udinese on Wednesday placing them seventh in the Serie A standings - six points adrift of Napoli at the top after nine rounds.
In the Champions League, they sit 25th in the league phase, after recording one defeat and two ties in the initial three fixtures.