At the end of the Cure's 1979 UK tour supporting Siouxsie and the Banshees, Robert Smith spoke less and less with bassist Michael Dempsey. Early versions of "Play for Today" and "M" had been performed at a few concerts, but Dempsey did not like the new musical direction that Smith wanted to take. Smith commented: "I think the final straw came when I played Michael the demos for the next album and he hated them. He wanted us to be XTC part 2 and – if anything – I wanted us to be the Banshees part 2. So he left". Playing guitar with the Banshees for two months and learning their songs opened up another horizon to Smith. "It allowed me to think beyond what we were doing. I wanted to have a band that does what Steven Severin and Budgie do, where they just get a bassline and the drum part and Siouxsie wails". The records to which Smith was frequently listening during the composition of the album were "Five Leaves Left" by Nick Drake, "Isle of Wight" by Jimi Hendrix, "Astral Weeks" by Van Morrison and "Low" by David Bowie. Smith wrote the lyrics and music for most of the record at his parents' home, on a Hammond organ with a built-in tape recorder. Interviewed in 2004, producer Mike Hedges did not recall any demo tracks, with the band generally playing the track in the studio before laying down a backing track to which overdubs were added.