The Serie A powerhouse have appointed previous Azzurri boss the veteran manager to lead the team for the remainder of the campaign.
Spalletti steps in for Igor Tudor, who was sacked post the Lazio setback recently.
Tudor arrived at the club in March to replace Thiago Motta but exited following a seven-month stint following a string of eight matches without a victory.
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 under former boss Roberto Mancini.
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 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 took interim charge of Juventus during the 3-1 victory over 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, after recording one defeat and two ties in the initial three fixtures.