The song was not part of the original musical production (and was replaced with the 1950s standard "Since I Don't Have You" for the 1994 revival), but it was added to the score for the 2007 revival and was included in the 2016 Grease: Live performance, sung by Julianne Hough.
In June 2004, Farrar recalled writing the song: "'Hopelessly Devoted To You': I spent the longest period writing the lyrics of any song I've ever written. Every thesaurus and every rhyming dictionary I had, just trying to really make it work properly".
Halfway through shooting Grease, Newton-John's contractually-entitled vocal solo had yet to be written. Farrar, Newton-John's personal producer, wrote the song and submitted it to the film's production team. They were reluctant but then approved it; shooting and recording took place after the other parts of the film had been completed.
Sonia (pictured in 2008) covered the song in 1996.
In 1994, English singer Sonia took over the role of Sandy at a West End production of Grease, replacing Debbie Gibson. In conjunction, she released a cover version of the song. The single was released in July 1994 as a non-album single. It has a double A-side released as a B-side "The Anthem Medley". On the 12-inch single, "The Anthem Medley" was released as the A-side and "Hopelessly Devoted to You" as the B-side. The music video for Sonia's version of "Hopelessly Devoted to You" features Sonia walking through an old city and singing. The music video for "The Anthem Medley" features Sonia dancing and singing in a nightclub. The single become her first not to reach top forty in the United Kingdom, where it peaked at number sixty-one.