The Serie A powerhouse have named previous Azzurri head coach Spalletti to lead the team for the remainder of the campaign.
The 66-year-old replaces Igor Tudor, who was let go post the Lazio setback on Sunday.
Tudor arrived at the club in March filling the shoes of Thiago Motta but left after seven months following a string of eight matches without a victory.
Spalletti guided Napoli to the Serie A crown in 2022-23 prior to assuming the Italy role, who had failed to qualify for the 2022 World Cup under former boss Roberto Mancini.
He secured their spot in Euro 2024 exiting in the last 16 stage against Switzerland.
However, Spalletti was sacked by Italy 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'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 served as interim manager for Juventus in the midweek 3-1 triumph over Udinese 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, having lost once and drawn twice in their opening three matches.