The Serie A powerhouse have appointed previous Italian national team boss Spalletti as their manager until the end of the season.
Spalletti takes over from the Croatian manager, who was let go after the Serie A side's defeat by Lazio 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 guided Napoli to the Serie A crown in 2022-23 prior to assuming the Italy role, who had failed to qualify for the 2022 World Cup during Roberto Mancini's tenure.
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, putting Italy in danger of missing a third straight World Cup.
Spalletti's managerial career includes Inter Milan, Roma, and Udinese in Serie A 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 placing them seventh in the Serie A standings - six points behind leaders Napoli after nine games.
In the Champions League, they sit 25th in the league phase, having lost once and drawn twice in their opening three matches.