Juventus have named ex- Azzurri boss Spalletti to lead the team for the remainder of the campaign.
The 66-year-old steps in for Igor Tudor, who was dismissed after the Serie A side's defeat by Lazio on Sunday.
Tudor had joined the club in March as Thiago Motta's replacement but left 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 but were eliminated in the round of 16 by Switzerland.
Nonetheless, Italy dismissed Spalletti in June post a qualifying defeat against Norway, 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.
Massimo Brambilla took interim charge of Juventus in the midweek 3-1 triumph over Udinese moving them to seventh position in the league - six points behind leaders Napoli after nine games.
They are 25th in the league phase of the Champions League, with one loss and two draws in their first three games.