The Serie A powerhouse have appointed ex- Azzurri boss 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 recently.
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 led Napoli to the Serie A title in 2022-23 prior to assuming the Italy role, which missed out on the 2022 World Cup during Roberto Mancini's tenure.
He helped them qualify for Euro 2024 where they were knocked out in the last 16 by 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.
He has previously coached Inter Milan, Roma, and Udinese in Italy's top flight 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, having lost once and drawn twice in their opening three matches.