G-flat major
“History” was written by members Liam Payne and Louis Tomlinson, along with Wayne Hector, Ed Drewett and the band's regular collaborators Julian Bunetta and John Ryan. It is a jaunty acoustic singalong that closes the album's standard edition and was composed in G-flat major with a tempo of 88 beats per minute and a time signature of .