The Serie A powerhouse have appointed previous Azzurri head coach the veteran manager as their manager for the rest of the term.
Spalletti steps in for Igor Tudor, who was dismissed post the Lazio setback on Sunday.
Tudor had joined the club in March filling the shoes of 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, which missed out on 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.
Nonetheless, Italy dismissed Spalletti in June following a loss to Norway in World Cup qualifying, as Italy faced the possibility of not making a third World Cup in a row.
Spalletti's managerial career includes Inter Milan, Roma, and Udinese in Serie A 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 moving them to seventh position in the league - 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.