Juventus have appointed previous Italian national team boss the veteran manager to lead the team until the end of the season.
The 66-year-old steps in for Igor Tudor, who was let go following the loss to Lazio recently.
Tudor had joined the club in March as Thiago Motta's replacement but left after seven months after an eight-game winless streak.
Spalletti guided Napoli to the Serie A crown in 2022-23 then moving on to lead the Italian national team, who had failed to qualify for the 2022 World Cup with Mancini at the helm.
Under his guidance, they made it to Euro 2024 exiting in the last 16 stage against Switzerland.
Nonetheless, Italy dismissed Spalletti in June post a qualifying defeat against Norway, as Italy faced the possibility of not making a third World Cup in a row.
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 for their 3-1 win against Udinese on Wednesday which left them seventh in Serie A - trailing leaders Napoli by six points after nine matches.
In the Champions League, they sit 25th in the league phase, after recording one defeat and two ties in the initial three fixtures.