The Serie A powerhouse have named former Azzurri manager the veteran manager to take the helm until the end of the season.
The 66-year-old steps in for his predecessor, who was let go post the Lazio setback recently.
The former boss came on board 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 before taking charge of Italy, which missed out on the 2022 World Cup with Mancini at the helm.
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 post a qualifying defeat against Norway, with the Azzurri at risk of missing out on a third consecutive World Cup.
Spalletti's managerial career includes Inter Milan, Roma, and Udinese in Serie A and won the Russian Premier League twice with Zenit St Petersburg.
Juventus were temporarily led by Massimo Brambilla 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, after recording one defeat and two ties in the initial three fixtures.