The Serie A powerhouse have appointed former Italy manager Spalletti as their manager for the rest of the term.
Spalletti takes over from the Croatian manager, who was sacked post the Lazio setback 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 then moving on to lead the Italian national team, after the team's failure to reach the 2022 World Cup under former boss Roberto Mancini.
Under his guidance, they made it to Euro 2024 where they were knocked out in the last 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.
He has previously coached Inter Milan, Roma, and Udinese in Italy's top flight and secured two Russian Premier League titles with Zenit St Petersburg.
Massimo Brambilla served as interim manager for Juventus during the 3-1 victory over Udinese on Wednesday moving them to seventh position in the league - six points adrift of Napoli at the top after nine rounds.
Their Champions League campaign sees them in 25th place in the group stage, having lost once and drawn twice in their opening three matches.