The Serie A powerhouse have chosen ex- Italian national team head coach Spalletti to lead the team for the remainder of the campaign.
The 66-year-old takes over from Igor Tudor, who was let go following the loss to Lazio recently.
The former boss came on board in March filling the shoes of 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 before taking charge of Italy, which missed out on 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 after a World Cup qualifying defeat by 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 secured two Russian Premier League titles with Zenit St Petersburg.
Juventus were temporarily led by Massimo Brambilla for their 3-1 win against 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, after recording one defeat and two ties in the initial three fixtures.