The Old Lady have appointed ex- Italy head coach Spalletti to lead the team for the remainder of the campaign.
The 66-year-old replaces Igor Tudor, who was dismissed following the loss to Lazio on Sunday.
Tudor had joined the club in March as Thiago Motta's replacement but left after seven months after an eight-game winless streak.
Spalletti led Napoli to the Serie A title 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.
Under his guidance, they made it to Euro 2024 where they were knocked out in the last 16 by Switzerland.
Nonetheless, Italy dismissed Spalletti in June post a qualifying defeat against Norway, putting Italy in danger of missing a third straight World Cup.
Spalletti has also managed Inter Milan, Roma and Udinese in Serie A and lifted the Russian league trophy twice while at 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 behind leaders Napoli after nine games.
Their Champions League campaign sees them in 25th place in the group stage, with one loss and two draws in their first three games.