The Old Lady have chosen former Azzurri head coach Spalletti to take the helm for the remainder of the campaign.
The experienced coach takes over from Igor Tudor, who was dismissed following the loss to Lazio recently.
Tudor had joined the club in March as Thiago Motta's replacement but exited following a seven-month stint after an eight-game winless streak.
Under Spalletti, Napoli clinched the Serie A championship in 2022-23 then moving on to lead the Italian national team, who had failed to qualify for the 2022 World Cup under former boss Roberto Mancini.
He secured their spot in Euro 2024 but were eliminated in the round of 16 by Switzerland.
Yet, the Italian FA let Spalletti go in June following a loss to Norway in World Cup qualifying, with the Azzurri at risk of missing out on a third consecutive World Cup.
He has previously coached Inter Milan, Roma, and Udinese in Italy's top flight and lifted the Russian league trophy twice while at Zenit St Petersburg.
Massimo Brambilla served as interim manager for Juventus during the 3-1 victory over Udinese on Wednesday which left them seventh in Serie A - six points behind leaders Napoli after nine games.
They are 25th in the league phase of the Champions League, having lost once and drawn twice in their opening three matches.