The Serie A powerhouse have named former Italy manager the veteran manager as their manager until the end of the season.
The 66-year-old takes over from the Croatian manager, who was let go 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 left after seven months 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, who had failed to qualify for the 2022 World Cup during Roberto Mancini's tenure.
Under his guidance, they made it to Euro 2024 where they were knocked out in the last 16 by Switzerland.
Yet, the Italian FA let Spalletti go 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 took interim charge of Juventus during the 3-1 victory over Udinese on Wednesday 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, after recording one defeat and two ties in the initial three fixtures.