The Old Lady have named former Azzurri boss Spalletti to lead the team for the remainder of the campaign.
Spalletti replaces his predecessor, who was dismissed after the Serie A side's defeat by 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 guided Napoli to the Serie A crown in 2022-23 then moving on to lead the Italian national team, which missed out on the 2022 World Cup under former boss Roberto Mancini.
Under his guidance, they made it to 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, 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.
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.
Their Champions League campaign sees them in 25th place in the group stage, having lost once and drawn twice in their opening three matches.