Juventus have chosen previous Azzurri manager Spalletti as their manager for the rest of the term.
Spalletti replaces Igor Tudor, who was let go after the Serie A side's defeat by Lazio on Sunday.
The former boss came on board in March as Thiago Motta's replacement but departed after seven months after an eight-game winless streak.
Spalletti guided Napoli to the Serie A crown in 2022-23 before taking charge of Italy, which missed out on the 2022 World Cup with Mancini at the helm.
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 after a World Cup qualifying defeat by Norway, putting Italy in danger of missing a third straight World Cup.
He has previously coached Inter Milan, Roma, and Udinese in Italy's top flight and won the Russian Premier League twice with Zenit St Petersburg.
Juventus were temporarily led by Massimo Brambilla in the midweek 3-1 triumph over Udinese placing them seventh in the Serie A standings - trailing leaders Napoli by six points after nine matches.
They are 25th in the league phase of the Champions League, after recording one defeat and two ties in the initial three fixtures.