Juventus have appointed previous Azzurri manager the veteran manager as their manager for the remainder of the campaign.
The 66-year-old steps in for his predecessor, who was sacked after the Serie A side's defeat by Lazio on Sunday.
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.
Under Spalletti, Napoli clinched the Serie A championship in 2022-23 before taking charge of Italy, which missed out on the 2022 World Cup under former boss Roberto Mancini.
He helped them qualify for Euro 2024 where they were knocked out in the last 16 by Switzerland.
However, Spalletti was sacked by Italy in June following a loss to Norway in World Cup qualifying, with the Azzurri at risk of missing out on a third consecutive 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 served as interim manager for Juventus 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, having lost once and drawn twice in their opening three matches.