The song was recorded on 6 December 1966, during one of the first sessions for the as-yet-unnamed album that became "Sgt. Pepper's Lonely Hearts Club Band". There were multiple overdub sessions, including the lead vocal by McCartney on 8 December and backing vocals by McCartney, Lennon, and George Harrison on 20 December. The clarinets were recorded on 21 December.