The Old Lady have appointed ex- Azzurri manager the veteran manager to take the helm for the rest of the term.
The experienced coach steps in for the Croatian manager, who was sacked following the loss to Lazio on Sunday.
The former boss came on board in March to replace Thiago Motta but left after seven months following a string of eight matches without a victory.
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 helped them qualify for Euro 2024 but were eliminated in the round of 16 by Switzerland.
However, Spalletti was sacked by Italy in June following a loss to Norway in World Cup qualifying, putting Italy in danger of missing a third straight World Cup.
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 during the 3-1 victory over Udinese on Wednesday 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, after recording one defeat and two ties in the initial three fixtures.