The Serie A powerhouse have appointed former Azzurri manager Spalletti to take the helm for the rest of the term.
The experienced coach replaces his predecessor, who was let go after the Serie A side's defeat by Lazio recently.
The former boss came on board in March as Thiago Motta's replacement but left after seven months at the end of an eight-match winless run.
Under Spalletti, Napoli clinched the Serie A championship in 2022-23 before taking charge of Italy, which missed out on the 2022 World Cup during Roberto Mancini's tenure.
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, 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 in the midweek 3-1 triumph over Udinese moving them to seventh position in the league - six points adrift of Napoli at the top after nine rounds.
In the Champions League, they sit 25th in the league phase, having lost once and drawn twice in their opening three matches.