The Old Lady have appointed ex- Azzurri manager Spalletti to lead the team for the rest of the term.
The 66-year-old replaces his predecessor, who was let go following the loss to Lazio recently.
The former boss came on board in March to replace Thiago Motta but departed after seven months at the end of an eight-match winless run.
Spalletti led Napoli to the Serie A title 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 secured their spot in Euro 2024 but were eliminated in the round of 16 by Switzerland.
Yet, the Italian FA let Spalletti go 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 in the midweek 3-1 triumph over Udinese placing them seventh in the Serie A standings - six points adrift of Napoli at the top after nine rounds.
They are 25th in the league phase of the Champions League, having lost once and drawn twice in their opening three matches.