Timberlake, in his best suit and tie, delivered the Trolls single as he sauntered down the aisles of the Dolby Theatre and took the stage, where he was joined by a slew of sharp-dressed dancers. The musician delivered the hit with a few special twists, notably tacking on a delightful cover of Bill Withers' "Lovely Day" at the end.
"I know you know this, Denzel," Timberlake cracked to Denzel Washington, as he transitioned seamlessly between the two songs.
"Can't Stop the Feeling" marks Timberlake's first nomination and the first time he's performed at the Oscars.
Timberlake is up for the award alongside co-writers Max Martin and Karl Johan Schuster. The pop star executive produced the soundtrack, which features a few originals alongside the film's stars covering classic songs like Lionel Richie's "Hello," Cyndi Lauper's "True Colors" and Simon & Garfunkel's "The Sound of Silence." "Can't Stop the Feeling" was Timberlake's first single since his posthumous Michael Jackson collaboration "Love Never Felt So Good" was released in 2014, though he continued to debut singles off his 2013 album The 20/20 Experience — 2 of 2 until 2015.