Juventus have chosen previous Azzurri boss Spalletti to lead the team until the end of the season.
The 66-year-old steps in for Igor Tudor, who was dismissed after the Serie A side's defeat by Lazio last weekend.
Tudor had joined the club in March to replace Thiago Motta but exited following a seven-month stint after an eight-game winless streak.
Spalletti led Napoli to the Serie A title 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 helped them qualify for Euro 2024 exiting in the last 16 stage against Switzerland.
However, Spalletti was sacked by Italy 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 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 moving them to seventh position in the league - six points adrift of Napoli at the top after nine rounds.
Their Champions League campaign sees them in 25th place in the group stage, after recording one defeat and two ties in the initial three fixtures.