The Serie A powerhouse have chosen previous Italy manager the veteran manager to lead the team for the remainder of the campaign.
The experienced coach replaces his predecessor, who was let go after the Serie A side's defeat by Lazio recently.
The former boss came on board in March filling the shoes of Thiago Motta but departed after seven months after an eight-game winless streak.
Spalletti led Napoli to the Serie A title in 2022-23 before taking charge of Italy, which missed out on the 2022 World Cup under former boss Roberto Mancini.
He secured their spot in Euro 2024 exiting in the last 16 stage against Switzerland.
Nonetheless, Italy dismissed Spalletti in June after a World Cup qualifying defeat by Norway, putting Italy in danger of missing a third straight World Cup.
Spalletti's managerial career includes Inter Milan, Roma, and Udinese in Serie A and won the Russian Premier League twice 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 - six points adrift of Napoli at the top after nine rounds.
In the Champions League, they sit 25th in the league phase, after recording one defeat and two ties in the initial three fixtures.