The Old Lady have appointed former Italy manager Spalletti to take the helm for the remainder of the campaign.
The experienced coach replaces Igor Tudor, who was sacked post the Lazio setback last weekend.
Tudor had joined the club in March as Thiago Motta's replacement but exited following a seven-month stint following a string of eight matches without a victory.
Spalletti guided Napoli to the Serie A crown in 2022-23 then moving on to lead the Italian national team, who had failed to qualify for the 2022 World Cup during Roberto Mancini's tenure.
He secured their spot in Euro 2024 where they were knocked out in the last 16 by Switzerland.
However, Spalletti was sacked by Italy in June following a loss to Norway in World Cup qualifying, putting Italy in danger of missing a third straight World Cup.
He has previously coached Inter Milan, Roma, and Udinese in Italy's top flight and secured two Russian Premier League titles with Zenit St Petersburg.
Juventus were temporarily led by Massimo Brambilla in the midweek 3-1 triumph over Udinese 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.