The Serie A powerhouse have named previous Azzurri boss Spalletti to lead the team for the rest of the term.
The 66-year-old steps in for Igor Tudor, who was dismissed after the Serie A side's defeat by Lazio on Sunday.
Tudor had joined 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.
Under Spalletti, Napoli clinched the Serie A championship in 2022-23 then moving on to lead the Italian national team, which missed out on the 2022 World Cup with Mancini at the helm.
Under his guidance, they made it to Euro 2024 exiting in the last 16 stage against Switzerland.
Nonetheless, Italy dismissed Spalletti in June after a World Cup qualifying defeat by Norway, as Italy faced the possibility of not making a third World Cup in a row.
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.
Massimo Brambilla took interim charge of Juventus for their 3-1 win against Udinese on Wednesday which left them seventh in Serie A - 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.