The Old Lady have appointed ex- Azzurri manager the veteran manager as their manager for the rest of the term.
The experienced coach takes over from Igor Tudor, who was let go after the Serie A side's defeat by Lazio last weekend.
Tudor had joined 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 during Roberto Mancini's tenure.
He helped them qualify for Euro 2024 but were eliminated in the round of 16 by 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.
Spalletti has also managed Inter Milan, Roma and Udinese in Serie A 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 placing them seventh in the Serie A standings - six points behind leaders Napoli after nine games.
In the Champions League, they sit 25th in the league phase, with one loss and two draws in their first three games.