The song was written by Max Martin, Savan Kotecha, Ilya Salmanzadeh, Ali Payami and Tove Lo, and produced by Martin and Payami.
Авторами песни выступили Макс Мартин, Саван Котеха, Илья Салманзаде, Ali Payami и Туве Лу.