The Serie A powerhouse have chosen former Italian national team manager Spalletti to lead the team for the rest of the term.
The 66-year-old steps in for the Croatian manager, who was sacked after the Serie A side's defeat by Lazio on Sunday.
The former boss came on board in March to replace Thiago Motta but exited following a seven-month stint at the end of an eight-match winless run.
Spalletti guided Napoli to the Serie A crown in 2022-23 before taking charge of Italy, after the team's failure to reach the 2022 World Cup during Roberto Mancini's tenure.
Under his guidance, they made it to Euro 2024 exiting in the last 16 stage against Switzerland.
Yet, the Italian FA let Spalletti go in June post a qualifying defeat against Norway, putting Italy in danger of missing a third straight 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 which left them seventh in Serie A - six points behind leaders Napoli after nine games.
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.