Why Do Songs Get Stuck in Your Head, and How Do You Get Them Out?

Quick answer

Earworms tend to be simple, repetitive melodies with just enough of an unusual twist, an odd interval, an unexpected rhythm, to be slightly hard for your brain to fully predict, which seems to be exactly what makes them loop. Stress, boredom, and an idle mind all make earworms more likely and more persistent, since a distracted or under-stimulated brain has more spare attention for an intrusive melody to grab onto. The most reliably reported fix is listening to the actual song all the way through, which appears to let the brain resolve whatever incomplete musical loop it was stuck trying to finish.

Want to try this yourself? Open the Focus page.

An earworm can hijack your attention for hours over a song you didn't even choose to think about, and the cognitive science behind why some songs do this so reliably is more specific than "catchy."

What makes a song "sticky"

Researchers studying earworms have found a consistent pattern: the songs most likely to get stuck tend to be simple and repetitive overall, but include one unusual element, an unpredictable rhythmic quirk or an interval jump that breaks from an otherwise easy-to-follow melody. That combination of familiarity plus a small twist appears to be exactly what keeps a melody looping in short-term auditory memory rather than fading out normally.

Why stress and boredom make it worse

Several studies link higher stress levels and more frequent mind-wandering with a higher rate of earworms and longer-lasting ones. The likely explanation is straightforward: an idle, understimulated, or anxious mind has more spare attentional capacity available for an intrusive melody to occupy, while a mind fully absorbed in a demanding task tends to have less room for one to take hold.

The strategy that actually works for most people

One proposed explanation for earworms is that they're partly the brain attempting to "complete" an incomplete musical memory, playing a fragment on loop because it never got resolved to an ending. Consistent with that idea, many people report that actually listening to the full song, letting it play out properly, is more effective at ending an earworm than trying to distract from it or suppress it, which can sometimes make the loop more persistent instead of less.

If an earworm is competing with your ability to focus, replacing it with a different steady auditory input can help redirect attention. Our Sounds mixer and Focus page both offer non-melodic background sound specifically because it doesn't compete with working memory the way another song would.

Frequently Asked Questions

Is there a "type" of song most likely to get stuck? +
Research on earworms consistently points to songs with simple, repetitive melodies and an unusual interval or rhythmic quirk that makes them slightly harder for the brain to predict all the way through, a combination researchers sometimes call "sticky" music.
Does stress make earworms worse? +
Yes, several studies link higher stress and mind-wandering with more frequent and longer-lasting earworms, likely because an idle or anxious mind has more spare attention for an intrusive melody to latch onto.
Does listening to the full song actually help get rid of it? +
For many people, yes. One proposed explanation is that earworms are partly the brain's way of trying to "complete" an incomplete musical memory, so hearing the song through to its actual ending can resolve that unfinished loop.
Are earworms ever a sign of something else going on? +
Occasional earworms are considered a completely normal cognitive quirk. Persistent, distressing, intrusive musical loops that don't respond to normal strategies are sometimes associated with certain anxiety or obsessive-compulsive patterns and worth mentioning to a professional if they're genuinely disruptive.

Share

Share this article

For anyone who's had the same 15 seconds of a song looping in their head since 9 AM.