The song was originally written by Chvrches and Steve Mac in London. They came up with a rough acoustic version, which people at their label and management company suggested might interest Marshmello. As soon as the producer heard it he was excited.
"We were on tour at the time, so we would e-mail versions of the song back and forth [to Marshmello] - the first time we met him was when we tracked the final vocal," Mayberry recalled to Billboard
. "It really felt like he was making room for our genre and we were making space for his; it wasn't like we were trying to shoehorn each other in. It was a very respectful environment where everybody wanted to hear what everybody was thinking."