Benny Blanco
"Love Yourself" was written by Ed Sheeran, Benny Blanco and Justin Bieber, with production being done by Benny Blanco, who was also responsible for the song's instrumentation and programming. It features lyrical vocals by Bieber and background vocals by Sheeran. According to the sheet music published at Musicnotes.com by Sony/ATV Music Publishing, the song is composed in the key of E major with a moderate tempo of 100 beats per minute and a time signature of . Bieber's vocals range from the note of B2 to B3. It is an acoustic pop song, featuring just vocals and an electric guitar, and a brief flurry of trumpets, which was considered "the most subdued and least electronic of Bieber's new tracks."