Juventus have chosen former Italy head coach the veteran manager to take the helm until the end of the season.
Spalletti replaces Igor Tudor, who was let go post the Lazio setback recently.
Tudor had joined the club 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 then moving on to lead the Italian national team, after the team's failure to reach the 2022 World Cup with Mancini at the helm.
Under his guidance, they made it to Euro 2024 where they were knocked out in the last 16 by Switzerland.
However, Spalletti was sacked by Italy in June after a World Cup qualifying defeat by Norway, putting Italy in danger of missing a third straight World Cup.
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 behind leaders Napoli after nine games.
Their Champions League campaign sees them in 25th place in the group stage, after recording one defeat and two ties in the initial three fixtures.