Why Do Songs Get Stuck in Your Head the Science of Earworms Explained

You’re brushing your teeth, walking the dog, or trying to fall asleep, and suddenly there it is again: the same four seconds of a song, looping on repeat, with no off switch in sight. You didn’t choose it. You might not even like it. So why do songs get stuck in your head, and why does your brain seem so determined to keep the chorus playing

The good news is that this little mental hiccup has a name, a small mountain of research behind it, and a few proven tricks for switching it off. Scientists call it an earworm, and far from being a glitch, it’s a sign that your memory and your love of music are working exactly as they should.

In this guide we’ll unpack what earworms actually are, how common they are, what’s happening inside your brain, why certain songs are repeat offenders, and — when you’ve finally had enough — how to make one go away.

[toc]

What Is An Earworm, Exactly

An earworm is that snippet of music that plays in your mind on a loop, all by itself, without you trying to summon it. Researchers have a more formal name for it: Involuntary Musical Imagery, usually shortened to INMI.

The word “earworm” is a translation of the German Ohrwurm, and it captures the feeling perfectly — a tune that burrows in and won’t leave.

Here’s a detail most people get wrong: an earworm is almost never a whole song. It’s usually just a fragment — often the hook or chorus — that repeats for anywhere from a few seconds to, on a bad day, hours. Your brain grabs the catchiest 15-second chunk and puts it on loop, not the full three-minute track.

How Common Are Earworms

If you get earworms, you are in extremely good company. They’re one of the most universal quirks of the human mind.

Research by marketing professor James Kellaris found that around 98% of people experience earworms, meaning almost nobody is immune. Separately, the Goldsmiths Earworm Project has estimated that roughly 90% of people get one at least once a week.

The exact percentages vary from study to study depending on how researchers ask the question, but the takeaway never changes: getting a song stuck in your head is normal, frequent, and shared by nearly everyone you know.

So if you’ve ever felt like your brain is broken because “Baby Shark” won’t quit, relax. Earworms are a sign of a perfectly healthy, music-loving mind — not a malfunction.

What’s Happening In Your Brain

This is where it gets fascinating. When a song loops in your head, you’re not actually hearing anything — there’s no sound — yet the experience feels remarkably like the real thing.

That’s because earworms light up the auditory cortex, the part of your brain that processes sound when you actually listen to music. Your brain essentially replays the memory of the music using the same machinery it would use to hear it for real.

Researcher James Kellaris famously described the earworm as a kind of “cognitive itch.” A catchy phrase gets started, your brain feels compelled to finish it, and finishing it just kicks off the loop all over again — an itch that scratching only makes worse.

There’s a tidy psychological idea behind this. Your mind dislikes unfinished patterns and wants to complete them. A looping song fragment is essentially a pattern your brain keeps trying — and failing — to resolve, so it keeps rehearsing it.

In other words, an earworm isn’t your brain glitching. It’s your brain doing what it’s brilliant at: recognizing patterns and rehearsing memories.

Why Do Certain Songs Get Stuck And Not Others

Not every song has earworm potential. So what separates a tune that haunts you from one you forget instantly

The biggest study on this was led by Dr. Kelly Jakubowski in 2016. Her team surveyed around 3,000 people, mostly in the UK, and compared their most common earworms against similar hit songs that didn’t get stuck. They found that earworm songs share a recognizable recipe.

A Faster, Upbeat Tempo

Earworms tend to be faster-paced — the kind of song you could move or walk to. An energetic tempo makes a tune easier to replay in your mind.

A Familiar, Easy Melodic Shape

The study found earworms usually have a common overall melodic contour — a typical up-then-down shape found all over pop music. A classic example is “Twinkle Twinkle Little Star,” where the first phrase rises and the second falls. Your brain already knows this shape, so the melody feels effortless to sing back.

A Surprising Twist

Here’s the clever part: earworms are familiar and a little unusual at the same time. They often contain unexpected intervals, leaps, or repetitions that set them apart from the average song. That small surprise is the hook that snags your attention.

Kellaris summed up the formula with three ingredients: repetition, simplicity, and a touch of rhythmic surprise. Easy to sing, easy to remember, but with just enough of a twist to stick.

Do Lyrics Make A Song Stickier

They really do. Words give your brain something extra to grab onto.

In Kellaris’s research, roughly 73.7% of catchy songs had lyrics, about 18.6% were advertising jingles, and only around 7.7% were instrumental pieces. That’s a huge tilt toward music with words.

It makes sense. A lyric is a memory cue, a rhythm, and a melody all rolled into one — three hooks instead of one. This is also why jingles you heard as a kid can resurface decades later, fully intact.

Which Songs Are The Worst Offenders

People often assume earworms are random, but some songs are repeat champions across thousands of listeners.

In Jakubowski’s study, the songs most often named as earworms included “Bad Romance” by Lady Gaga, “Don’t Stop Believin'” by Journey, and “Can’t Get You Out of My Head” by Kylie Minogue. In fact, three of the top 10 most-named earworms were Lady Gaga tracks.

Notice the pattern: these are upbeat, hook-driven pop songs built around a repeated phrase — exactly the recipe the research predicts.

What Triggers An Earworm In The First Place

Earworms rarely appear out of nowhere. Usually something sets them off, even if you don’t notice the trigger.

The most common spark is recent or repeated exposure — you heard the song earlier, or you’ve heard it a hundred times. Sometimes a single word, name, or sound is enough to cue the tune. Earworms also love an idle mind, so they tend to surface when you’re doing something low-effort like showering, commuting, or drifting off to sleep.

Stress, tiredness, and low mood can make them more frequent and harder to shake, too. An earworm often thrives precisely when your mind has spare room to wander.

Who Gets Earworms The Most

Everyone gets them, but some people get them more often — and that turns out to be a clue about your relationship with music.

Research by Victoria Williamson and colleagues found that earworms are linked to musicality: the more you engage with music — listening, playing, singing — the more earworms you tend to get. If music is a big part of your life, your brain simply has more tunes loaded and ready to loop.

There are also some gentle links to personality, with certain traits associated with more frequent or more intrusive earworms. The research here is still developing, so it’s best treated as a tendency rather than a rule. Either way, frequent earworms usually just mean you love music — not that anything is wrong.

How Do You Get Rid Of An Earworm

When a loop overstays its welcome, you’re not stuck with it. Researchers have actually tested ways to evict an earworm, and a few genuinely work. Here are the best evidence-based options to try.

1. Chew some gum. In a University of Reading study, volunteers who chewed gum after hearing catchy songs reported “hearing” the tune in their heads about a third less often. The theory is that the jaw movement interferes with the “inner voice” your brain uses to replay music.

2. Listen to the whole song. Because an earworm is often an unfinished loop, playing the track all the way through can give your brain the sense of completion it’s craving and release the itch.

3. Distract and engage your mind. Switching to a moderately demanding mental task — an anagram, a crossword, a few pages of a book — can crowd the song out. The trick is the right difficulty: too easy lets the tune sneak back, and too hard makes you give up.

4. Swap in a “cure tune.” Some people replace a stubborn earworm with a different, more agreeable song. Just be warned — you might just be trading one loop for another.

5. Let it fade. Sometimes the best move is to stop fighting it. The more you resist an earworm, the more attention you feed it, and most fade on their own once your mind moves on.

The golden rule: don’t panic and don’t fixate. The calmer you are about an earworm, the faster it tends to disappear.

A Few Fun Facts About Earworms

To leave you with some trivia for your next conversation:

Earworms almost always loop a fragment, not the full song, which is why you can be tortured by a chorus while forgetting the verses entirely. Advertisers know all of this and engineer jingles to be deliberately sticky. And the phenomenon is so universal across cultures and generations that researchers keep returning to one reassuring conclusion: it’s a normal feature of a healthy, pattern-loving brain.

Final Thoughts

So, why do songs get stuck in your head Because your brain is a relentless pattern-finder that adores music, and a catchy, easy-to-sing tune with one surprising twist is almost irresistible to it. The chorus loops because your mind is trying to complete a pattern it can’t quite finish — a “cognitive itch” that’s really just a sign of a healthy memory at work.

The next time a song hijacks your afternoon, you’ll know exactly what’s going on — and you’ll have a toolkit to fight back, from a stick of gum to simply playing the song through to the end.

Earworms aren’t a flaw in the system. They’re proof of how deeply music lives in your mind — and honestly, that’s a pretty wonderful thing. If you’d like to go deeper on how melodies and rhythms shape the way you think and feel, our look at how music affects your brain is the perfect next stop.

About Bobby Kania

Bobby is a full-time blogger and writer. He has played viola for 20+ years and lives in Seattle with his wife and cat.