The Old Lady have chosen previous Azzurri boss the veteran manager as their manager for the rest of the term.
Spalletti steps in for Igor Tudor, who was sacked post the Lazio setback recently.
The former boss came on board in March filling the shoes of 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 before taking charge of Italy, who had failed to qualify for the 2022 World Cup with Mancini at the helm.
He secured their spot in Euro 2024 but were eliminated in the round of 16 by Switzerland.
Nonetheless, Italy dismissed Spalletti 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 lifted the Russian league trophy twice while at Zenit St Petersburg.
Massimo Brambilla served as interim manager for Juventus during the 3-1 victory over Udinese on Wednesday moving them to seventh position in the league - trailing leaders Napoli by six points after nine matches.
In the Champions League, they sit 25th in the league phase, with one loss and two draws in their first three games.