Why Songs Get Stuck in Your Head (and Why It’s Always the Same 20 Seconds)

Which twenty seconds is it for you right now? Not the whole song. Never the whole song. You know that feeling — you catch four bars of something in a grocery store, and eleven hours later your brain is still running the exact same fragment on a loop, minus the verse, minus the bridge, minus any of the parts you would actually choose to hear.

By the time you finish reading this, you will know why your brain picked that fragment instead of the song, which single musical feature makes a melody most likely to stick, why your own loop is a more accurate readout of your listening habits than you would expect, and why the thing you probably try first to get rid of one is the thing least likely to work.

The short version: this is not a quirk, it is nearly universal

Researchers do not call it an earworm in the literature. They call it involuntary musical imagery, and the headline number is remarkable. More than 90 percent of the population experiences it, according to the Empirical Musicology Laboratory at UNSW Sydney. A Finnish survey put finer grain on it: more than 90 percent of people reported an earworm at least weekly, and around 60 percent experienced one daily, as summarised by the University of Wollongong.

So if you have ever quietly suspected there is something slightly wrong with a brain that plays Baby Shark unprompted at 4 a.m., the data says the opposite. Roughly a third of people find the experience annoying, per Harvard Medical School’s David Silbersweig. The other two-thirds are essentially fine with it. That’s not a disorder distribution. That’s a normal feature of how your musical memory works.

One quick correction, because the internet gets this wrong constantly. The English word is a direct translation of the German Ohrwurm, and per Merriam-Webster, the English term is a calque of that German original — the earliest known English use in the musical sense appears in a 1978 novel. If you go looking, you will run into a confident claim that a specific psychiatrist coined the word in a specific year. We are leaving that out, because the dictionaries and etymological records do not support it, and you deserve better than a fact that only survives because everyone copied it.

Why it is a fragment and not a song

Silbersweig describes an earworm as a looped segment of music, usually about 20 seconds long, that enters awareness automatically and repeats. Twenty seconds is not an arbitrary number. It is roughly the working capacity of what cognitive scientists call the phonological loop — the short-term buffer that holds sound in your mind for a handful of seconds so you can act on it. It is the same machinery you use to hold a phone number between hearing it and writing it down, and you can feel the limit of it if you try to hold two at once.

Your brain is not replaying a song for you. It is holding a fragment in a buffer that refreshes, and each refresh starts the fragment again. That’s not a memory playing back. That’s a memory being rehearsed, over and over, without your permission.

The anatomy backs this up. The auditory cortex handles musical perception, and its connections into the deep temporal lobe — the hippocampus and the parahippocampal gyrus — handle memory encoding and retrieval. When researchers compared brain activity during actual listening against brain activity during musical imagery, the patterns were broadly similar, with one notable shift: the auditory association cortex appeared to do more of the work during imagery than the primary auditory cortex did.

Which explains something you have probably noticed without being able to name it. An earworm does not feel like remembering a song. It feels like hearing one, and that is because your brain is running much of the same equipment either way.

This is where it gets interesting: one feature beats all the others

If you want to know which melodies will stick to you, there is a clear front-runner, and it is not catchiness or hookiness or any of the vague words the industry uses.

Most people assume they know the answer to this one: the song was just catchy, or they heard it too many times. Both of those are downstream of something more specific.

It’s contiguous repetition — a fragment that repeats immediately, with no delay in between. Professor Emery Schubert of UNSW’s Empirical Musicology Laboratory identifies it as the most earworm-inducing feature there is. Not repetition in general. Repetition with nothing in the gap.

The test case is elegant, and you can run it on yourself. Happy Birthday and God Save the King are among the most-repeated melodies in the English-speaking world, and you have probably heard both thousands of times across your life. Neither is a notorious earworm, and Schubert’s explanation is that they lack the specific kind of repetition that suits the phenomenon. Meanwhile a fragment like the “up, up, up” figure in Golden, from KPop Demon Hunters, repeats back on itself several times within a handful of seconds, and it has been lodged in a very large number of heads this year, possibly including yours.

Silbersweig’s list of contributing features fills out the picture: repetition, longer durations on certain notes, smaller intervals between notes, an emotional charge whether or not you are conscious of it, and an association with a specific memory. Read that list again and notice how much of it describes deliberate songwriting choices rather than accidents. If your loop arrived by design, you are not being manipulated so much as accurately targeted.

Familiarity does the rest of the work

The second ingredient is exposure, and one study isolated it cleanly. Researchers played participants an unfamiliar song either two times or six times, then contacted them at random moments across the following three days. About a third reported an earworm at the moment of contact. Earworms were more common among the people who had heard the song six times than among those who heard it twice, and they peaked the day after exposure.

Six plays. A song you had never heard. That is the whole intervention, and you can assume your streaming queue clears that bar several times a week.

There is a cost attached, and it is the part of this research that deserves more attention than it gets. Australian researchers found that people performing working-memory tasks were less accurate at recalling information while a song was stuck in their head — the earworm was crowding out other material in the same limited buffer. A follow-up found the interference got worse the more familiar the song was. The catchier the fragment, the more of your working memory it occupies — so if you have ever read a paragraph three times while a chorus ran underneath it, you were not imagining the cost.

There is also a striking finding about people with congenital amusia, who process pitch differently and do not experience music the way most listeners do. They still get earworms, just less often. Whatever this mechanism is, it runs deeper than musical taste or training.

What is looping in 2026, and why your idle brain is the trigger

Earworms are most likely to start when your default mode network is active — the network that comes online when you are not focused on anything in particular. Showering, driving a route you know by heart, folding laundry, waiting for a page to load. The music does not arrive because you summoned it. It arrives because nothing else you are doing needs the room.

This is worth sitting with in a year when streaming has made mass exposure trivially easy. Mass exposure builds familiarity, and familiarity is the second ingredient. A song engineered around contiguous repetition and then pushed to tens of millions of people within a week is close to a purpose-built earworm, whether or not anyone involved intended it. Kylie Minogue’s Can’t Get You Out Of My Head was widely understood as an outlier when it landed. The mechanics behind it are now closer to standard practice.

That’s not cynicism about pop songwriting. That’s a description of the tools available. The interesting question is what a writer chooses to do with a repeated figure once it has your attention, which is a thing we have poked at before in our look at why vintage pop music is reclaiming the spotlight in 2026.

Take LA artist Ashley Ann, whose single Lemons is built on a repeated central figure that works exactly the way this research predicts — a short phrase that returns immediately rather than resolving away — and then hangs a lyric about persistence on it. It is a useful example precisely because the repetition is doing double duty: it makes the thing stick, and the thing it makes stick is the point of the song. Her catalogue sits at ashleyann.global if you want to hear the construction rather than read about it. The craft question is whether the fragment left in your head is worth the space it takes up, and that is a choice a writer makes, not an accident you suffer.

What actually gets rid of one

Here is where most advice fails you, because the intuitive move is the wrong one.

Playing the whole song through does not reliably work. There is little evidence that hearing the complete track clears the fragment, and listening actually raises the odds that the song comes back to you later. You are not resolving the loop. You are adding an exposure.

What the research and clinicians point toward instead:

  • Engage the same circuits with something else. Silbersweig describes distraction through another activity that recruits related brain regions and functions. A podcast, a conversation, a different piece of music — you want something that needs the buffer the earworm is occupying.
  • Sing it out loud to another person. UNSW notes this as a method, and the proposed reason is specific: social engagement suppresses default mode network activation, and the default mode network is where your loop lives.
  • Swap in something less repetitive. Replace the fragment with a song that does not have contiguous repetition. Atlassian went as far as publishing a 40-second track designed to displace one for you.
  • Chew gum. Some British researchers found it may help, and the proposed mechanism is straightforward interference with the subvocal rehearsal your loop depends on.
  • Or stop fighting it. A mindfulness approach — letting the fragment run without giving it your attention — is a documented option. Given that two-thirds of people do not find earworms distressing, this is a legitimate answer rather than a cop-out, and it may be the one that costs you least.

One useful oddity: earworms tend to reflect why a person listens to music in the first place. British researchers found that people who listen to get themselves going tend to get stuck on songs that get them going. So the loop is not random. It is a readout of listening habits, and there is something to learn from whatever the brain keeps choosing.

The reason your brain works this way at all

Silbersweig puts the evolutionary case plainly: “Music was used together with rhyming before the written word in many cultures to help people remember oral histories. Our brains evolved to remember these associations and these snippets.”

Which reframes your whole complaint. The fragment stuck in your head is not a bug in an otherwise tidy system. It is a memory system that predates writing, still running inside you, still very good at its job, now pointed at a chorus instead of a genealogy.

How to use this on purpose

Six plays is the threshold the research points at, and a streaming queue clears six plays without anyone noticing. The lever is which six. Queue a record built on repeated figures worth admiring and the fragment that surfaces in the shower tomorrow comes from that record. Leave it to a supermarket playlist and the supermarket picks.

Three moves, none longer than a commute:

  • A short repeat-listen queue beats a long shuffle. Eight to ten tracks played through twice beats two hundred played once. Shuffle spreads exposure so thin that nothing crosses the threshold.
  • Front-load what should stick. The exposure effect peaked the day after listening, so tonight’s queue is tomorrow’s loop.
  • Keep one low-repetition record for work. A track without contiguous repetition is the one that costs the least working memory.

If you haven’t tested this, here’s the shortest version: one record tonight, twice through, then notice what’s running in the morning. The answer arrives in a day.

And to watch the mechanism from the other direction — a song lodging in the culture through a single placement rather than repetition — we went into it in The Needle Drop Effect.

Pick your next twenty seconds

Pick them deliberately. Start a queue tonight built on a repeated figure worth keeping, and give the default mode network better raw material than whatever was playing in the grocery store. It is going to be in there for a while either way, so it may as well be chosen.

Then tell us what’s looping. That’s a genuinely useful dataset, and more interesting than any chart.

September 21, 2026

Leave a Comment

Your email address will not be published. Required fields are marked *