Juventus have appointed previous Azzurri boss the veteran manager as their manager for the rest of the term.
Spalletti takes over from Igor Tudor, who was dismissed following the loss to Lazio on Sunday.
Tudor arrived at the club in March filling the shoes of Thiago Motta but departed after seven months after an eight-game winless streak.
Spalletti guided Napoli to the Serie A crown in 2022-23 prior to assuming the Italy role, after the team's failure to reach the 2022 World Cup with Mancini at the helm.
He helped them qualify for Euro 2024 exiting in the last 16 stage against Switzerland.
Nonetheless, Italy dismissed Spalletti in June post a qualifying defeat against Norway, as Italy faced the possibility of not making a third World Cup in a row.
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 for their 3-1 win against Udinese on Wednesday moving them to seventh position in the league - trailing leaders Napoli by six points after nine matches.
In the Champions League, they sit 25th in the league phase, with one loss and two draws in their first three games.