The Serie A powerhouse have chosen former Azzurri boss the veteran manager as their manager until the end of the season.
The experienced coach takes over from the Croatian manager, who was let go after the Serie A side's defeat by Lazio on Sunday.
The former boss came on board in March to replace Thiago Motta but departed after seven months after an eight-game winless streak.
Under Spalletti, Napoli clinched the Serie A championship in 2022-23 prior to assuming the Italy role, after the team's failure to reach the 2022 World Cup under former boss Roberto Mancini.
He secured their spot in Euro 2024 exiting in the last 16 stage against Switzerland.
However, Spalletti was sacked by Italy in June after a World Cup qualifying defeat by Norway, with the Azzurri at risk of missing out on a third consecutive World Cup.
Spalletti's managerial career includes Inter Milan, Roma, and Udinese in Serie A and won the Russian Premier League twice 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 - trailing leaders Napoli by six points after nine matches.
They are 25th in the league phase of the Champions League, having lost once and drawn twice in their opening three matches.