Lennon wrote the guitar riff while in the studio recording "Eight Days a Week". "I wrote 'I Feel Fine' around that riff going on in the background", he recalled. "I told them I'd write a song specially for the riff. So they said, 'Yes. You go away and do that', knowing that we'd almost finished the album Beatles for Sale. Anyway, going into the studio one morning, I said to Ringo, 'I've written this song but it's lousy'. But we tried it, complete with riff, and it sounded like an A-side, so we decided to release it just like that. " Both John Lennon and George Harrison said that the riff was influenced by a riff in "Watch Your Step", a 1961 release written and performed by Bobby Parker and covered by the Beatles in concerts during 1961 and 1962. Paul McCartney said the drums on "I Feel Fine" were inspired by Ray Charles's 1959 single "What'd I Say".