The Old Lady have chosen ex- Azzurri boss Spalletti to take the helm for the remainder of the campaign.
The 66-year-old replaces the Croatian manager, who was dismissed after the Serie A side's defeat by Lazio recently.
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 led Napoli to the Serie A title in 2022-23 prior to assuming the Italy role, who had failed to qualify for the 2022 World Cup during Roberto Mancini's tenure.
Under his guidance, they made it to Euro 2024 but were eliminated in the round of 16 by Switzerland.
However, Spalletti was sacked by Italy 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 won the Russian Premier League twice with Zenit St Petersburg.
Massimo Brambilla served as interim manager for Juventus for their 3-1 win against Udinese on Wednesday moving them to seventh position in the league - six points behind leaders Napoli after nine games.
They are 25th in the league phase of the Champions League, having lost once and drawn twice in their opening three matches.