The Old Lady have appointed ex- Italy manager the veteran manager to take the helm for the rest of the term.
The experienced coach takes over from Igor Tudor, who was dismissed following the loss to Lazio recently.
Tudor arrived at the club in March to replace 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 under former boss Roberto Mancini.
He secured their spot in Euro 2024 but were eliminated in the round of 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.
Spalletti has also managed 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 placing them seventh in the Serie A standings - six points adrift of Napoli at the top after nine rounds.
Their Champions League campaign sees them in 25th place in the group stage, with one loss and two draws in their first three games.