The Old Lady have appointed previous Azzurri head coach the veteran manager as their manager for the remainder of the campaign.
The experienced coach replaces Igor Tudor, who was dismissed after the Serie A side's defeat by Lazio last weekend.
Tudor arrived at the club in March filling the shoes of Thiago Motta but exited following a seven-month stint at the end of an eight-match winless run.
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.
Under his guidance, they made it to Euro 2024 but were eliminated in the round of 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's managerial career includes Inter Milan, Roma, and Udinese in Serie A and lifted the Russian league trophy twice while at Zenit St Petersburg.
Juventus were temporarily led by Massimo Brambilla for their 3-1 win against Udinese on Wednesday which left them seventh in Serie A - six points behind leaders Napoli after nine games.
They are 25th in the league phase of the Champions League, with one loss and two draws in their first three games.