The Serie A powerhouse have named ex- Azzurri boss Spalletti as their manager until the end of the season.
Spalletti takes over from his predecessor, who was dismissed 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.
Spalletti led Napoli to the Serie A title in 2022-23 prior to assuming the Italy role, which missed out on the 2022 World Cup during Roberto Mancini's tenure.
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, putting Italy in danger of missing a third straight 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 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.
In the Champions League, they sit 25th in the league phase, having lost once and drawn twice in their opening three matches.