The Old Lady have chosen previous Azzurri head coach Spalletti as their manager for the rest of the term.
Spalletti replaces Igor Tudor, who was let go post the Lazio setback on Sunday.
Tudor arrived at the club in March to replace Thiago Motta but left after seven months 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 during Roberto Mancini's tenure.
Under his guidance, they made it to Euro 2024 exiting in the last 16 stage against Switzerland.
Yet, the Italian FA let Spalletti go in June post a qualifying defeat against Norway, 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 placing them seventh in the Serie A standings - six points behind leaders Napoli after nine games.
In the Champions League, they sit 25th in the league phase, with one loss and two draws in their first three games.