The theme song was written by Bill Conti (music) and Michael Leeson (lyrics), and performed by Sheena Easton. The song was later nominated for both an Academy Award and Golden Globe in 1982. Easton also made Bond film history as the first (and, to date, only) artist to perform the theme song on-screen during the opening title sequence.
Originally, the band Blondie was approached to write and perform the theme song for the film. They produced a song also called For Your Eyes Only that they turned in to the producers, however, this was rejected because the company wanted the Conti song and the band refused, and subsequently asked Easton to record an entirely new theme. Blondie eventually released their song on the 1982 album The Hunter. The track Make It Last All Night, performed by Rage and used for the scene at hitman Gonzales' Spanish poolside, is notable for lyrics more suggestive even than the raunchiest Bond title track (arguably, The Man with the Golden Gun).
The soundtrack was composed by Bill Conti, since the series' regular composer, John Barry, was unable to work in the UK for tax reasons (he, like many high earning Britons, had become a tax exile in the 1970s). Barry had recommended Conti as a possible alternative. Conti's score is notable for its use of disco elements (which prompted Danny Biederman to write in the liner notes to the two-CD releaseThe Best of James Bond: 30th Anniversary Limited Edition, "Conti's largely disco-styled score feels more like a celebration of the music of the moment than a score of durability"). The main ski chase sequence (the track Runaway), Conti showed that he had versed himself in the previous Bond films' music, as his manages to evoke memories of the music from previous ski action in both OHMSS and The Spy Who Loved Me. This, Conti's only contribution to the series to date, was released as an album concurrent with the film's release and later on a bootleg compact disc in combination with John Barry's music from Octopussy. When the soundtrack was officially released on CD in the year 2000, six bonus tracks were added that further showed Conti's versatile approach to the film, aiding the production in its return to a tougher, more realistic James Bond. Not released but also heard in the film is a brief homage to John Williams' familiar theme from Jaws, when an unseen underwater horror (it is revealed to be an attacker in a J.I.M. diving suit) approaches within the sunken ship. This was the third Bond film in a row to wittily include familiar music from a classic film. Additionally, notes from the title song to The Spy Who Loved Me, "Nobody Does It Better", can be heard as the tones of a key code for a security door early in the film.