The Old Lady have chosen former Italian national team manager the veteran manager to take the helm for the rest of the term.
The experienced coach steps in for the Croatian manager, who was sacked after the Serie A side's defeat by 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.
Under Spalletti, Napoli clinched the Serie A championship in 2022-23 prior to assuming the Italy role, which missed out on the 2022 World Cup with Mancini at the helm.
Under his guidance, they made it to Euro 2024 but were eliminated in the round of 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 has also managed Inter Milan, Roma and Udinese in Serie A and secured two Russian Premier League titles with Zenit St Petersburg.
Juventus were temporarily led by Massimo Brambilla for their 3-1 win against Udinese on Wednesday placing them seventh in the Serie A standings - six points adrift of Napoli at the top after nine rounds.
In the Champions League, they sit 25th in the league phase, with one loss and two draws in their first three games.