"Can't Fight the Moonlight" is a pop song of 3 minutes and 35 seconds. The song was written by American Grammy Award-winning songwriter, Diane Warren and performed by Rimes. The verses are written in the key of E-flat major with the first and second choruses in D-flat minor and the final chorus in D minor. The song is produced by Trevor Horn with executive production by Jerry Bruckheimer, Kathy Nelson and Mike Curb. Orchestral arrangements were done by David Campbell with engineering and mixing done by Steve MacMillan. Additional engineering was done by Tim Weidner, Greg Hunt, Gary Leach and Austin Deptula. According to Warren it is the first song she had written with so many key changes. A review by Billboard praised producer Trevor Horn by stating "Oh-so creatively produced by Trevor Horn with guitars, lush layers of harmony, and a funky albeit delicate hip-hop track (no, really), this easy-flowing midtempo popper is a sassy number, demonstrating that Rimes has crossed the line to adult-leaning lyrics."
