The Serie A powerhouse have chosen ex- Italian national team manager the veteran manager as their manager 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 recently.
The former boss came on board in March filling the shoes of Thiago Motta but departed after seven months at the end of an eight-match winless run.
Spalletti led Napoli to the Serie A title in 2022-23 before taking charge of Italy, which missed out on the 2022 World Cup during Roberto Mancini's tenure.
He secured their spot in Euro 2024 exiting in the last 16 stage against Switzerland.
Nonetheless, Italy dismissed Spalletti in June post a qualifying defeat against Norway, as Italy faced the possibility of not making a third World Cup in a row.
Spalletti has also managed Inter Milan, Roma and Udinese in Serie A and lifted the Russian league trophy twice while at 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.
Their Champions League campaign sees them in 25th place in the group stage, having lost once and drawn twice in their opening three matches.