The Old Lady have chosen former Azzurri manager the veteran manager to lead the team for the remainder of the campaign.
The experienced coach replaces Igor Tudor, who was let go post the Lazio setback on Sunday.
The former boss came on board in March to replace Thiago Motta 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, 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.
Nonetheless, Italy dismissed Spalletti 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 has also managed Inter Milan, Roma and Udinese in Serie A 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 adrift of Napoli at the top after nine rounds.
In the Champions League, they sit 25th in the league phase, with one loss and two draws in their first three games.