The verses are in the key of B major and modulate up a half step to B major for the main chorus and modulate once more to C major during the final repetition of the chorus.
The song's verses are written in the B major key and progress to B major for the main chorus, before resolving to C major on the final chorus repeat.