You heard a song once — in a shop, in a car, in a lift — and hours later it is still there, playing the same eight seconds on repeat while you try to work, cook, or fall asleep. You did not choose it, and you cannot switch it off. The harder you try to push it away, the louder it seems to get.
The short answer: your brain is rehearsing a pattern it finds easy to remember. Psychologists call it involuntary musical imagery (INMI); the rest of us call it an earworm.
What an Earworm Actually Is

An earworm is a short piece of music — usually a 15- to 30-second fragment, often just a chorus or hook — that repeats itself in your mind without you deciding to recall it. You are not humming it on purpose. It simply starts, and then it starts again.
Here is a small everyday example. You pass a café playing an old pop song you have not thought about in years. By the time you reach your desk, the chorus is still there, turning over quietly while you answer emails. That is an earworm.
The tune is usually one you know well — earworms are almost always familiar songs, not new ones.
How Common Are Earworms, Really?
Almost everyone gets them. In a 2003 study by James Kellaris of the University of Cincinnati, around 98 percent of people said they had experienced earworms. A much larger study found the same pattern: in 2012, the Finnish researcher Lassi Liikkanen surveyed 12,519 internet users and found that 89.2 percent experienced involuntary musical imagery at least once a week.
If a song is looping in your head right now, you are in very large company.
Why Your Brain Replays a Song on a Loop
There is no single cause — several mechanisms work together.
Your auditory cortex keeps singing after the music stops
When you hear music, your auditory cortex becomes active — and when the music stops, that activity does not always stop with it. In a 2005 brain-imaging study in Nature, David Kraemer and his colleagues played people familiar songs, then cut the sound for a few seconds. During those gaps, the listeners’ auditory cortex stayed active, as if the song were still playing.
Think of a song you know well: if someone stops it halfway through the chorus, you can hear the next line before it arrives. An earworm is the same process, running on its own.
Memory does the cueing
Earworms often start with a trigger you barely notice — a word in a song title, a place, a mood. In a 2013 study by Ira Hyman and his colleagues, intrusive songs followed environmental cues, and the songs that stuck were usually ones people knew, liked, and had heard recently.
You walk past a bakery, catch the smell of cinnamon, and suddenly a song from a winter holiday years ago is playing in your head. Your memory stored the song and the smell together, and the smell pulled the song back up.
The unfinished-pattern itch
Kellaris himself described an earworm as a “cognitive itch”: some songs contain a pattern your brain cannot quite finish — a melody that rises and never quite resolves. Like an itch, it demands attention, and the brain keeps scratching at it by replaying it.
A radio station cuts a song off mid-chorus, and for the rest of the morning that half-finished chorus keeps surfacing. It is a plausible explanation, but this part of the science is still a theory, not a proven mechanism.
What Makes Some Songs Stickier Than Others

If any song can become an earworm, why is it always the same few tunes? In a 2017 study, Kelly Jakubowski and her colleagues at Goldsmiths, University of London, asked 3,000 people to name the tunes that most often got stuck in their heads, then compared them with equally popular songs nobody named. The sticky songs shared a recipe: a fairly fast tempo, a common, easy-to-follow melodic shape, and an unusual twist, such as an unexpected leap in pitch or a repeated note.
The most named earworms included Lady Gaga’s “Bad Romance”, Journey’s “Don’t Stop Believin’”, and Kylie Minogue’s “Can’t Get You Out of My Head” — familiar, singable shapes, each with a small surprise. That combination is what makes a melody lodge itself in memory.
Exposure matters too: songs that had been recent and successful in the charts were reported more often. And lyrics help. In Kellaris’s surveys, songs with lyrics accounted for 73.7 percent of earworms, while instrumental music accounted for only 7.7 percent. Words give the brain something extra to hold on to.
The same brain systems that make a song stick can also make it move you — see our article on why music gives you chills.
When Earworms Show Up Most

Earworms show up when your mind has a little spare room — and, oddly, also when it is overloaded. Hyman’s team found both: intrusive songs returned most often during low-effort activities such as walking or waiting, but very demanding tasks increased them too.
Liikkanen’s survey found the same pattern: earworms came most often when people were working alone, travelling, or exercising, and least during conversation. Stress is a trigger too — one woman reported hearing the same song during every stressful moment, from exams to childbirth.
On a long train journey, staring out of the window, nothing demands your attention — prime earworm territory, and the same half-focused state in which new ideas surface, as we explored in our article on why your best ideas come in the shower.
Why Trying Not to Think About It Makes It Worse
Most people’s first instinct is to fight the earworm — stop thinking about the song, push it away. This is the one strategy that reliably backfires.
In 1994, Daniel Wegner proposed his theory of ironic mental control: trying to control your mind sets two processes running — an operating process that searches for anything except the unwanted thought, and a monitoring process that checks whether it is still there, which means looking for it. The harder you try, the more the monitor brings the song back.
Beaman and Williams confirmed this directly in 2010: active attempts to block an earworm were less successful than letting it be, and people who tried to hum a different tune had longer episodes than people who did nothing.
You catch yourself humming the chorus in a meeting and think, “Stop. Do not think about that song.” Within a minute it is back, clearer than before — because the instruction to stop is itself a reminder of it. Your inner voice, the same quiet voice you use when you are talking to yourself, keeps rehearsing the tune precisely because you asked it not to.
Earworms Are Not the Same as Intrusive Thoughts
Because earworms feel uninvited, people sometimes worry they are a kind of intrusive thought. The research draws a clear line.
| An earworm | An unwanted intrusive thought | A song you choose to recall | |
|---|---|---|---|
| What it is | A familiar tune replaying on its own | A distressing idea or image that pops up uninvited | A song you deliberately bring to mind |
| Is it voluntary? | No — it starts by itself | No — it starts by itself | Yes — you chose it |
| How it usually feels | Neutral or mildly annoying; often pleasant | Distressing, frightening, or shameful | Enjoyable or neutral |
| What usually helps | Letting it fade, or listening to the full song | Talking it through with a professional if it persists | Nothing needed — it stops when you stop |
The key difference is how it feels and how long it lasts: in Beaman and Williams’s diary study, only about a third of earworms were described as disturbing, and most were gone within a day.
What Actually Helps Get a Song Out of Your Head

If fighting an earworm makes it worse, what actually works? The research points to a few simple strategies.
1. Listen to the whole song
In a 2014 study of 1,046 reports, Victoria Williamson and her colleagues found the most popular and effective response was to seek out the tune and listen to it properly. Try this: put the song on and listen once, all the way through — verse, chorus, and the ending you never usually reach. Then turn it off and move on.
2. Chew gum
In a 2015 study at the University of Reading, Philip Beaman and his colleagues played 98 volunteers catchy songs — David Guetta’s “Play Hard” and Maroon 5’s “Payphone” — then asked them to try not to think of the tunes. Those who chewed gum reported thinking of the song less often, and “hearing” it about a third less. Chewing seems to occupy the same inner-speech machinery the brain uses to rehearse a tune. Try this: keep gum in your bag or desk drawer, and chew a piece for a few minutes when a tune starts looping.
3. Give your mind something absorbing to do
Earworms thrive in spare mental capacity, so filling it gently is one of the most reliable fixes. A task that needs your full attention — a crossword, a demanding podcast, a new recipe — leaves less room for a looping chorus. Try this: if a song loops while you wait for a train, open a puzzle instead of scrolling.
4. Let it play out
Sometimes the best response is no response at all. Beaman and Williams found that passive acceptance — noticing the song, labelling it as an earworm, and carrying on — was associated with shorter episodes than active attempts to banish it. Try this: when a tune starts, say to yourself, “That’s an earworm,” and return to whatever you were doing.
5. Switch tunes only if it comes easily
Humming a different song is the strategy most people try first, and it sometimes works — but the evidence is mixed. Beaman and Williams found that active distraction was associated with longer episodes, not shorter ones. If a replacement tune comes naturally, use it. If you are forcing it, you are probably just giving the original song more attention.
When a Stuck Song Is Worth Paying Attention To
For most people, an earworm is normal and harmless. But if a tune plays in your head almost constantly for more than a day, causes real distress, or interferes with sleep, work, or concentration, that is different. A 2020 review by Liikkanen and Jakubowski draws a clear line between everyday involuntary musical imagery and the rare clinical cases in which it becomes persistent and intrusive.
This article is for education only, not medical advice. If a stuck song is distressing you or affecting your daily life, speaking with a qualified healthcare professional is a sensible step.
What Science Still Doesn’t Know
The science is young — the first proper studies appeared only in the last twenty years — and nobody yet knows why the same song returns days later, why some people get earworms daily while others rarely notice them, or whether earworms serve any purpose at all. What research does show is that they are common, usually harmless, and closely tied to memory and attention.
So the next time a chorus sets up camp in your head, think of it differently: not your brain malfunctioning, but your auditory cortex and memory doing their jobs, and a catchy pattern finding spare room in your attention. Listen to it, chew gum, give your mind something better to do — or just let it play. It will fade. It almost always does.
Frequently Asked Questions
Why do songs get stuck in your head?
Your brain stores music as a pattern it can replay, and certain tunes — fast, familiar, with a small surprise — are especially easy to rehearse. A recent hearing, a memory association, or a moment of low mental effort can start the loop. Researchers call this involuntary musical imagery, or INMI.
Are earworms bad for you?
For most people, no. Most episodes are rated as neutral or pleasant; only about a third are described as disturbing. They are a normal part of how memory and attention work, and only a concern if persistent, distressing, or interfering with daily life.
How long does an earworm usually last?
The musical fragment itself is usually 15 to 30 seconds long, but an episode lasts around 27 minutes on average in diary studies, and most earworms are gone within 24 hours. Very few recur on later days.
How can I get a song out of my head fast?
Listen to the full song once through, chew gum, give your mind an absorbing task, or simply let the song fade on its own. Trying hard not to think about it usually makes it worse, because the effort keeps reminding your brain of the tune.
Why is it always the same few seconds of the song?
Earworms are usually the most memorable part — the chorus or hook — because that is what your brain stored most strongly. The fragment is short because auditory memory holds a brief loop easily.
References
- Beaman, C. P., & Williams, T. I. (2010). Earworms (stuck song syndrome): Towards a natural history of intrusive thoughts. British Journal of Psychology, 101(4), 637–653. https://doi.org/10.1348/000712609X479636
- Jakubowski, K., Finkel, S., Stewart, L., & Müllensiefen, D. (2017). Dissecting an earworm: Melodic features and song popularity predict involuntary musical imagery. Psychology of Aesthetics, Creativity, and the Arts, 11(2), 122–135. https://doi.org/10.1037/aca0000090
- Hyman, I. E., Burland, N. K., Duskin, H. M., Cook, M. C., Roy, C. M., McGrath, J. C., & Roundhill, R. F. (2013). Going gaga: Investigating, creating, and manipulating the song stuck in my head. Applied Cognitive Psychology, 27(2), 204–215. https://doi.org/10.1002/acp.2897
- Williamson, V. J., Liikkanen, L. A., Jakubowski, K., & Stewart, L. (2014). Sticky tunes: How do people react to involuntary musical imagery? PLoS ONE, 9(1), e86170. https://doi.org/10.1371/journal.pone.0086170
- Beaman, C. P., Powell, K., & Rapley, E. (2015). Want to block earworms from conscious awareness? B(u)y gum! Quarterly Journal of Experimental Psychology, 68(6), 1049–1057. https://doi.org/10.1080/17470218.2015.1034142
- Wegner, D. M. (1994). Ironic processes of mental control. Psychological Review, 101(1), 34–52. https://doi.org/10.1037/0033-295X.101.1.34
- Liikkanen, L. A. (2012). Musical activities predispose to involuntary musical imagery. Psychology of Music, 40(2), 236–256. https://doi.org/10.1177/0305735611406578
- Kraemer, D. J. M., Macrae, C. N., Green, A. E., & Kelley, W. M. (2005). Musical imagery: Sound of silence activates auditory cortex. Nature, 434(7030), 158. https://doi.org/10.1038/434158a
- Liikkanen, L. A., & Jakubowski, K. (2020). Involuntary musical imagery as a component of ordinary music cognition: A review of empirical evidence. Psychonomic Bulletin & Review, 27, 1195–1217. https://doi.org/10.3758/s13423-020-01750-7
- Kellaris, J. J. (2003). Dissecting earworms: Further evidence on the “song-stuck-in-your-head” phenomenon. Paper presented at the Society for Consumer Psychology Winter Conference, New Orleans, LA. (Conference presentation; no DOI issued.)
This article is intended for educational purposes and should not be considered medical, psychological, or mental health advice. If concerns significantly affect daily functioning, consulting a qualified healthcare or mental health professional may be helpful.


