“Enter Sandman” was the first song Metallica wrote for its 1991 album, commonly called The Black Album.
The song began with a guitar riff by Kirk Hammett, who had been influenced by Soundgarden's music. Lars Ulrich helped reshape the riff's pattern, and the instrumental framework developed quickly while the band was gathering ideas for the new record.
The lyrics came later than the music. James Hetfield initially struggled with the vocal concept, and the final lyrics turned the song toward childhood nightmares and unsettling bedtime imagery. That contrast between a catchy, spacious riff and darker subject matter became central to its identity.
Although it was the first song written, “Enter Sandman” was among the last to receive its final lyrics. It eventually became the album's opening track and lead single, released on July 29, 1991.