The Serie A powerhouse have chosen ex- Azzurri head coach Spalletti as their manager for the remainder of the campaign.
The 66-year-old takes over from Igor Tudor, who was let go following the loss to Lazio recently.
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 led Napoli to the Serie A title in 2022-23 then moving on to lead the Italian national team, which missed out on the 2022 World Cup under former boss Roberto Mancini.
He secured their spot in Euro 2024 where they were knocked out in the last 16 by 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.
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 took interim charge of Juventus for their 3-1 win against Udinese on Wednesday moving them to seventh position in the league - trailing leaders Napoli by six points after nine matches.
Their Champions League campaign sees them in 25th place in the group stage, with one loss and two draws in their first three games.