This is one of several tracks that was produced by Stefani's fellow Voice mentor and longtime collaborator Pharrell for her third solo album. Speaking with AMP radio's Carson Daly, the singer explained the story of the song. "He's like, 'I've got to play you this. I have to play you this,'" she said. "And so he plays me this song, and it's like magic. All it was was a beat and he was singing this melody on top and I just knew, that's it. That night, after shooting all day, we went in the studio all night long, stayed up till four in the morning, came back, got on set and then didn't finish."
Stefani added that completing the song was a challenge, given their busy schedules. "I met him in New York at my fashion show after working all week, and again, we went into the studio all night long," she said "didn't finish, but had these incredible songs coming out, so he came off of tour from Europe, met me in Miami, and we finished the song."