<Tr> <Th> Songwriter (s) </Th> <Td> Harold Faltermeyer </Td> </Tr> <Tr> <Th> Producer (s) </Th> <Td> Harold Faltermeyer </Td> </Tr> <P> "Top Gun Anthem" is an instrumental rock composition and the theme for the 1986 film Top Gun . Harold Faltermeyer wrote the music . Steve Stevens played guitar on the recording . In the film, the full song is heard in the film's ending scene . </P> <P> An edited version of the song without the electric guitar is played in the opening scene when an F - 14 Tomcat is being prepared to take off from an aircraft carrier . After the F - 14's engines are on full afterburners and the aircraft subsequently launches from the catapult, the music changes immediately to "Danger Zone" by Kenny Loggins . </P>

Who wrote the theme song to top gun