Puth was inspired to pen this tune after hearing an Ariana Grande song. He told Entertainment Weekly
"I had grown up playing jazz music - John Coltrane, Miles Davis - and I always wondered why those chord changes were so absent in Top 40 radio. I wanted to make a song like 'Done for Me,' which doesn't have the typical four-chord changes in pop. What pop song on Top 40 radio right now climbing the charts has a diminished chord as a second chord?! Then I hear the new Ariana Grande single, 'No Tears Left to Cry
' and the chord changes in the verse are so interesting and not typical, and I just wanted to be part of that. In 'Done for Me,' it's a late '80s synthesizer that takes the lead. It's ambient, but danceable, at the same time."