The Serie A powerhouse have chosen former Italian national team manager Spalletti to lead the team for the rest of the term.
The 66-year-old replaces Igor Tudor, who was let go after the Serie A side's defeat by Lazio on Sunday.
The former boss came on board in March as Thiago Motta's replacement but departed after seven months following a string of eight matches without a victory.
Spalletti led Napoli to the Serie A title in 2022-23 then moving on to lead the Italian national team, which missed out on 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 after a World Cup qualifying defeat by Norway, as Italy faced the possibility of not making a third World Cup in a row.
Spalletti's managerial career includes Inter Milan, Roma, and Udinese in Serie A and secured two Russian Premier League titles with Zenit St Petersburg.
Massimo Brambilla served as interim manager for Juventus in the midweek 3-1 triumph over Udinese placing them seventh in the Serie A standings - six points behind leaders Napoli after nine games.
They are 25th in the league phase of the Champions League, having lost once and drawn twice in their opening three matches.