The Serie A powerhouse have appointed previous Azzurri head coach Spalletti to lead the team for the remainder of the campaign.
The 66-year-old takes over from Igor Tudor, who was dismissed after the Serie A side's defeat by Lazio on Sunday.
Tudor arrived at the club in March as Thiago Motta's replacement 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 then moving on to lead the Italian national team, which missed out on the 2022 World Cup during Roberto Mancini's tenure.
He secured their spot in Euro 2024 but were eliminated in the round of 16 by Switzerland.
Nonetheless, Italy dismissed Spalletti in June after a World Cup qualifying defeat by Norway, as Italy faced the possibility of not making a third World Cup in a row.
He has previously coached Inter Milan, Roma, and Udinese in Italy's top flight and secured two Russian Premier League titles 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.
Their Champions League campaign sees them in 25th place in the group stage, having lost once and drawn twice in their opening three matches.