Harrison, McCartney and Starr recorded the song in 13 takes on July 7, 1969. John Lennon did not contribute to the song as he was recovering from a car crash. Towards the end of the session, Harrison spent an hour re-recording his acoustic guitar part. Harrison capoed his guitar on the 7th fret, resulting the final key of A major. He also used the same technique on his 1965 song "If I Needed Someone," which shares a similar melodic pattern. The following day he taped his lead vocals, and he and McCartney recorded their backing vocals twice to give a fuller sound.