Ed Sheeran has revealed he had penned a James Bond theme three years ago, thinking he would be ready if asked to compose a tune for the popular franchise in future.

The 26-year-old musician although said he has not been approached to write a song for the Agent 007 films yet.

“With Bond, I’ve had a theme tune written for about three years, just in case!” Sheeran said on Ireland’s The Late Late Show.

The Shape of You singer said his Bond theme is “good”, but he did not want to give away any details about the song, including the title.

“I’m not going to say ’cause someone might steal it,” he said.

Sheeran added his collaboration with Eminem, ‘River’, was also a something he had had ready with him for a while.

“I just recently did a song with one of my all time heroes, Eminem and when we did the song together I had already had this song. It’s the same with Bond. If ever I am called, I will be like, ‘Here you go’,” he said.