The Old Lady have chosen ex- Italian national team manager the veteran manager to take the helm until the end of the season.
Spalletti takes over from the Croatian manager, who was dismissed post the Lazio setback recently.
The former boss came on board in March filling the shoes of Thiago Motta but departed after seven months at the end of an eight-match winless run.
Under Spalletti, Napoli clinched the Serie A championship 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 following a loss to Norway in World Cup qualifying, as Italy faced the possibility of not making a third World Cup in a row.
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 during the 3-1 victory over Udinese on Wednesday placing them seventh in the Serie A standings - trailing leaders Napoli by six points after nine matches.
They are 25th in the league phase of the Champions League, having lost once and drawn twice in their opening three matches.