Juventus have appointed previous Azzurri head coach the veteran manager to lead the team for the remainder of the campaign.
Spalletti replaces his predecessor, who was sacked after the Serie A side's defeat by Lazio on Sunday.
The former boss came on board in March to replace Thiago Motta but departed after seven months after an eight-game winless streak.
Under Spalletti, Napoli clinched the Serie A championship in 2022-23 before taking charge of Italy, after the team's failure to reach 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.
Yet, the Italian FA let Spalletti go in June post a qualifying defeat against Norway, putting Italy in danger of missing a third straight World Cup.
Spalletti has also managed Inter Milan, Roma and Udinese in Serie A and won the Russian Premier League twice with Zenit St Petersburg.
Massimo Brambilla took interim charge of Juventus during the 3-1 victory over Udinese on Wednesday which left them seventh in Serie A - six points adrift of Napoli at the top after nine rounds.
In the Champions League, they sit 25th in the league phase, with one loss and two draws in their first three games.