"A Day in the Life" is a song by the English rock band the Beatles that was released as the final track of their 1967 album Sgt. Pepper's Lonely Hearts Club Band. Credited to Lennon–McCartney, the verses were mainly written by John Lennon, with Paul McCartney primarily contributing the song's middle section.