The Serie A powerhouse have named previous Italy manager Spalletti to lead the team for the rest of the term.
The 66-year-old replaces his predecessor, who was let go after the Serie A side's defeat by Lazio last weekend.
The former boss came on board in March to replace Thiago Motta but departed after seven months after an eight-game winless streak.
Spalletti guided Napoli to the Serie A crown in 2022-23 prior to assuming the Italy role, which missed out on 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 following a loss to Norway in World Cup qualifying, 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 secured two Russian Premier League titles with Zenit St Petersburg.
Massimo Brambilla served as interim manager for Juventus during the 3-1 victory over Udinese on Wednesday which left them seventh in Serie A - trailing leaders Napoli by six points after nine matches.
Their Champions League campaign sees them in 25th place in the group stage, having lost once and drawn twice in their opening three matches.