The song was written and produced by by Bloodshy of Miike Snow, who has co-helmed with his production partner Avant, several of Britney Spears' hits (including "Toxic
" and "Piece Of Me
"). Swedish singer-songwriter Tove-Lo, best known for her hit single "Habits (Stay High)
," also contributed to the writing of the track.