The Serie A powerhouse have named ex- Italian national team manager the veteran manager to take the helm for the remainder of the campaign.
Spalletti steps in for Igor Tudor, who was let go following the loss to Lazio on Sunday.
The former boss came on board in March as Thiago Motta's replacement but departed after seven months following a string of eight matches without a victory.
Spalletti led Napoli to the Serie A title in 2022-23 before taking charge of Italy, who had failed to qualify for the 2022 World Cup during Roberto Mancini's tenure.
He secured their spot in Euro 2024 exiting in the last 16 stage against Switzerland.
However, Spalletti was sacked by Italy 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 which left them seventh in Serie A - 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.