The Old Lady have chosen former Azzurri manager Spalletti to lead the team for the remainder of the campaign.
Spalletti steps in for his predecessor, who was dismissed following the loss to Lazio last weekend.
The former boss came on board in March filling the shoes of Thiago Motta but left after seven months after an eight-game winless streak.
Spalletti guided Napoli to the Serie A crown 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.
He helped them qualify for Euro 2024 exiting in the last 16 stage against Switzerland.
Yet, the Italian FA let Spalletti go in June following a loss to Norway in World Cup qualifying, 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 lifted the Russian league trophy twice while at Zenit St Petersburg.
Massimo Brambilla took interim charge of Juventus for their 3-1 win against Udinese on Wednesday placing them seventh in the Serie A standings - six points adrift of Napoli at the top after nine rounds.
They are 25th in the league phase of the Champions League, after recording one defeat and two ties in the initial three fixtures.