The soundtrack is produced primarily by singer Justin Timberlake, Max Martin, and Shellback.
It features work from Timberlake himself, along with Anna Kendrick, Ron Funches, Zooey Deschanel and Gwen Stefani, who all voice characters in the film, as well as Earth, Wind & Fire and Ariana Grande.
And when I came out of the room Jeffrey was there, and he said, "And there’s this other thing you could do…"[4]By the time Timberlake joined the project, there was still some original music needed to be written for the film.
Timberlake planned to cover the disco genre among the variety of pop songs present in the film.
[4] For the soundtrack album, Earth, Wind & Fire re-recorded "September" with Timberlake and Kendrick.
performed by Justin Timberlake, was released on May 6, 2016, and reached number one on the official charts of 17 countries, including the US Billboard Hot 100.