The Serie A powerhouse have chosen former Italy boss Spalletti as their manager until the end of the season.
Spalletti steps in for Igor Tudor, who was let go after the Serie A side's defeat by Lazio recently.
Tudor arrived at the club in March as Thiago Motta's replacement but departed after seven months after an eight-game winless streak.
Spalletti led Napoli to the Serie A title in 2022-23 before taking charge of Italy, which missed out on the 2022 World Cup during Roberto Mancini's tenure.
He helped them qualify for Euro 2024 exiting in the last 16 stage against Switzerland.
Nonetheless, Italy dismissed Spalletti 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 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.
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.