The Old Lady have appointed ex- Italy head coach the veteran manager to lead the team for the rest of the term.
The experienced coach replaces Igor Tudor, who was let go post the Lazio setback recently.
The former boss came on board in March filling the shoes of Thiago Motta but exited following a seven-month stint after an eight-game winless streak.
Spalletti guided Napoli to the Serie A crown in 2022-23 prior to assuming the Italy role, after the team's failure to reach the 2022 World Cup during Roberto Mancini's tenure.
Under his guidance, they made it to Euro 2024 but were eliminated in the round of 16 by Switzerland.
Yet, the Italian FA let Spalletti go in June post a qualifying defeat against Norway, with the Azzurri at risk of missing out on a third consecutive World Cup.
Spalletti has also managed Inter Milan, Roma and Udinese in Serie A and secured two Russian Premier League titles with 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.