The Serie A powerhouse have appointed ex- Italian national team manager the veteran manager to lead the team for the remainder of the campaign.
Spalletti steps in for Igor Tudor, who was sacked after the Serie A side's defeat by Lazio recently.
Tudor arrived at the club in March to replace Thiago Motta but departed after seven months after an eight-game winless streak.
Spalletti led Napoli to the Serie A title in 2022-23 prior to assuming the Italy role, who had failed to qualify for the 2022 World Cup during Roberto Mancini's tenure.
He helped them qualify for Euro 2024 where they were knocked out in the last 16 by Switzerland.
Nonetheless, Italy dismissed Spalletti in June following a loss to Norway in World Cup qualifying, putting Italy in danger of missing a third straight World Cup.
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 during the 3-1 victory over 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.