The Serie A powerhouse have chosen ex- Azzurri head coach Spalletti to take the helm for the rest of the term.
Spalletti replaces his predecessor, who was let go after the Serie A side's defeat by Lazio recently.
The former boss came on board in March to replace Thiago Motta but left after seven months following a string of eight matches without a victory.
Under Spalletti, Napoli clinched the Serie A championship in 2022-23 then moving on to lead the Italian national team, which missed out on the 2022 World Cup during Roberto Mancini's tenure.
He helped them qualify for Euro 2024 but were eliminated in the round of 16 by Switzerland.
However, Spalletti was sacked by Italy in June after a World Cup qualifying defeat by Norway, putting Italy in danger of missing a third straight 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 took interim charge of Juventus in the midweek 3-1 triumph over Udinese which left them seventh in Serie A - trailing leaders Napoli by six points after nine matches.
In the Champions League, they sit 25th in the league phase, with one loss and two draws in their first three games.