The Serie A powerhouse have appointed ex- Italian national team head coach Spalletti as their manager for the rest of the term.
The experienced coach replaces the Croatian manager, who was let go post the Lazio setback on Sunday.
The former boss came on board in March to replace Thiago Motta but left after seven months at the end of an eight-match winless run.
Spalletti guided Napoli to the Serie A crown in 2022-23 before taking charge of Italy, which missed out on the 2022 World Cup with Mancini at the helm.
He secured their spot in Euro 2024 exiting in the last 16 stage against Switzerland.
However, Spalletti was sacked by Italy in June post a qualifying defeat against Norway, with the Azzurri at risk of missing out on a third consecutive World Cup.
He has previously coached Inter Milan, Roma, and Udinese in Italy's top flight and won the Russian Premier League twice with Zenit St Petersburg.
Massimo Brambilla served as interim manager for Juventus for their 3-1 win against Udinese on Wednesday moving them to seventh position in the league - trailing leaders Napoli by six points after nine matches.
Their Champions League campaign sees them in 25th place in the group stage, having lost once and drawn twice in their opening three matches.