Juventus have chosen previous Italian national team manager the veteran manager to lead the team until the end of the season.
The experienced coach replaces the Croatian manager, who was let go following the loss to Lazio last weekend.
The former boss came on board in March to replace Thiago Motta but departed after seven months following a string of eight matches without a victory.
Under Spalletti, Napoli clinched the Serie A championship in 2022-23 prior to assuming the Italy role, 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.
Yet, the Italian FA let Spalletti go in June post a qualifying defeat against Norway, 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 secured two Russian Premier League titles with Zenit St Petersburg.
Juventus were temporarily led by Massimo Brambilla during the 3-1 victory over Udinese on Wednesday moving them to seventh position in the league - six points behind leaders Napoli after nine games.
Their Champions League campaign sees them in 25th place in the group stage, with one loss and two draws in their first three games.