An earworm is a snippet of music that gets stuck in your head and replays on a loop without any conscious effort on your part. Scientists call it involuntary musical imagery (INMI), and it’s one of the most common forms of spontaneous thought. In large-scale surveys, roughly 90% of people report experiencing an earworm at least once a week. It’s not a sign that something is wrong with your brain. It’s just your brain doing what brains do with music.
Why Songs Get Stuck in Your Head
Your brain doesn’t treat music the way it treats other sounds. Music activates networks involved in perception, emotion, memory, and spontaneous thought all at once. When a song gets lodged in your mind, areas in the right frontal and temporal regions of the brain, along with parts tied to emotional processing and memory, light up as though you’re actually hearing the song. Your brain is essentially replaying a recording it made, and certain songs are better at triggering that replay than others.
Not every song has the same earworm potential. Research from the American Psychological Association found that songs more likely to become earworms share a few traits: they tend to have a faster tempo (averaging around 124 beats per minute compared to about 116 for non-earworm songs), use smaller jumps between notes, and follow a melodic shape that feels familiar and predictable. Think of the kind of melody you could hum after hearing it once. If the overall contour of a melody closely matches common patterns in pop music, it’s significantly more likely to stick. Interestingly, songs that break from the norm can also become earworms, but only if their melodic rises and falls are unusual enough to be memorable in a different way.
What Triggers an Earworm
The most straightforward trigger is simple exposure. The more you hear a song, the more familiar it becomes, and the more likely it is to surface uninvited later. This applies to music on the radio, in TV shows, or on your own playlists. Research consistently shows that familiarity, enjoyment, and the desire to sing along are all positively linked to earworm frequency. If you love a song and have it on repeat, you’re priming it to become an earworm.
But exposure alone doesn’t explain everything. Earworms often pop up during low-attention activities like walking, showering, or doing chores, when your mind has room to wander. Emotional states play a role too. Stress and mental fatigue can make your brain more prone to latching onto a musical loop. Even just thinking about the concept of earworms, or having someone mention them, can be enough to trigger one.
Some People Get Earworms More Than Others
Earworms are nearly universal, but some people experience them far more often. Two factors stand out in the research: musical ability and certain personality traits.
People with greater musical sophistication, particularly those who rate themselves as strong singers, report significantly more frequent earworms. This makes intuitive sense. If your brain is well-practiced at generating and manipulating musical sounds internally, it’s going to do so more readily, even when you don’t ask it to.
On the personality side, people who score higher in neuroticism (a tendency toward worry and emotional reactivity) are somewhat more prone to earworms. More notably, people with stronger obsessive-compulsive tendencies, specifically the intrusive-thought component, experience earworms more often and find them harder to dismiss. The connection makes sense when you think of an earworm as a type of intrusive thought: a mental event that repeats itself despite your efforts to move on. In studies that controlled for multiple traits simultaneously, intrusive-thought tendencies and singing ability were the two strongest predictors of earworm frequency.
How to Get Rid of One
Most earworms fade on their own within minutes to hours. But when one won’t quit, a few strategies can help.
One of the more surprising findings comes from research showing that chewing gum can reduce the frequency and vividness of earworms. The explanation has to do with how your brain generates the experience. Hearing a song in your head involves the same motor-planning circuits you use when you actually sing or hum. Chewing gum occupies those circuits with a competing motor task, making it harder for your brain to “play” the internal music. Study participants who chewed gum reported fewer unwanted musical thoughts and described the music as less vivid when it did appear.
Other approaches that work on a similar principle include engaging in a task that demands verbal or auditory attention. Listening to a different song can sometimes replace the loop, though this carries the risk of simply swapping one earworm for another. Engaging conversations, podcasts, or mentally demanding work can also redirect the brain’s resources away from the musical replay.
When an Earworm Is Something Else
For the vast majority of people, earworms are harmless and fleeting. But there’s a distinct phenomenon called musical hallucination that’s worth understanding, because the two can be confused.
The key differences come down to a few characteristics. Earworms are recognized as internal, something playing inside your head that you know isn’t real sound. Musical hallucinations, by contrast, are more likely to be perceived as coming from outside the body, as though actual music is playing somewhere nearby. Earworms tend to be repetitive, familiar, and easy to hum along with. Musical hallucinations are less repetitive, less familiar, and harder to control.
Research published in Conscious Cognition found that musical hallucinations differ from earworms on multiple dimensions, not just intensity. They’re a qualitatively different experience, not simply a worse version of a stuck song. Musical hallucinations are more commonly associated with hearing loss, neurological conditions, or older age, though they can occur in otherwise healthy individuals without causing distress.
The connection to obsessive-compulsive traits is also worth noting. If your earworms feel genuinely distressing, last for extended periods, or interfere with your ability to concentrate or sleep on a regular basis, that pattern may reflect something closer to intrusive-thought symptoms rather than a typical earworm.
Why Our Brains Do This at All
There’s no single accepted explanation for why humans experience earworms, but the leading theories connect it to music’s deep roots in how our brains process sound and emotion. From an evolutionary standpoint, our sensitivity to patterned, emotional sound likely developed because reading vocal emotional cues was critical for survival in social groups. Music appears to piggyback on these ancient circuits, activating primitive emotional-response systems that evolved long before anyone wrote a pop song. Some researchers describe music as an evolutionary byproduct of capacities that originally served communication, emotion processing, and motor coordination. Earworms, then, may simply be a side effect of having a brain that’s exquisitely tuned to latch onto melodic, emotionally charged sound patterns and replay them for reinforcement.

