The Serie A powerhouse have named ex- Azzurri head coach Spalletti to take the helm until the end of the season.
The 66-year-old replaces Igor Tudor, who was sacked post the Lazio setback last weekend.
The former boss came on board in March to replace 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, after the team's failure to reach the 2022 World Cup during Roberto Mancini's tenure.
He secured their spot in Euro 2024 but were eliminated in the round of 16 by Switzerland.
Yet, the Italian FA let Spalletti go in June following a loss to Norway in World Cup qualifying, putting Italy in danger of missing a third straight World Cup.
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, having lost once and drawn twice in their opening three matches.