The definition of an earworm is a bit of music that stays in your head.
An example of an earworm is a catchy advertising jingle.
See earworm in American Heritage Dictionary 4
Why Does Music Stay In Your Head Long After Hearing It?
Browse entries near earworm