The song was written by British R&B singer-songwriter Talay Riley, whose other credits include tracks by Nick Jonas ("Levels
"), Jessie J ("Who's Laughing Now
") and Chris Brown ("Zero
"). It was co-produced by Warren "Oak" Felder (of the production duo Pop & Oak) and Alex Nice.