The Old Lady have named previous Azzurri manager Spalletti to lead the team for the remainder of the campaign.
The 66-year-old takes over from 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 filling the shoes of Thiago Motta but departed after seven months following a string of eight matches without a victory.
Spalletti led Napoli to the Serie A title in 2022-23 prior to assuming the Italy role, which missed out on the 2022 World Cup under former boss Roberto Mancini.
Under his guidance, they made it to Euro 2024 where they were knocked out in the last 16 by Switzerland.
However, Spalletti was sacked by Italy in June after a World Cup qualifying defeat by 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.
Massimo Brambilla served as interim manager for Juventus in the midweek 3-1 triumph over Udinese which left them seventh in Serie A - trailing leaders Napoli by six points after nine matches.
In the Champions League, they sit 25th in the league phase, with one loss and two draws in their first three games.