Silencing the Loop: Why a Good Puzzle Is the Best Cure for an Earworm
Having a song stuck in your head, or an earworm, can be stopped by engaging in a moderately challenging cognitive task. This solution works by occupying the brain's phonological loop—the short-term memory system replaying the tune—with a new focus like an anagram or Sudoku.

It’s a universally maddening experience: a snippet of a song, often one you don’t even like, lodges itself in your brain and plays on an endless, infuriating loop. This cognitive quirk, known to scientists as Involuntary Musical Imagery (INMI) but more commonly as an "earworm," is not a sign of a faulty mind. Rather, it’s the result of one of your brain's most useful memory systems getting stuck in a feedback loop. And thankfully, science offers a way out that doesn't involve listening to the song in full—it involves a puzzle.
The Phonological Loop: Your Brain's Internal DJ
To understand why puzzles work, we first need to meet the culprit: the phonological loop. This is a component of your working memory, located in the auditory cortex, that deals with sound-based information. Think of it as a short-term audio buffer. When you try to remember a phone number by repeating it to yourself, you're using your phonological loop. It holds onto the sound for a few seconds and then sub-vocally "rehearses" it to refresh the memory. An earworm is essentially this system capturing a catchy musical fragment and rehearsing it involuntarily.
Dr. Vicky Williamson, a leading researcher in music psychology, notes that these fragments are often catchy, simple, and repetitive, making them perfect fodder for this memory system. The loop doesn't know it's being annoying; it's just doing its job of rehearsal, over and over again.
The White Bear Problem: Why Suppression Fails
The most common instinct is to try and forcefully push the song out of your head. Unfortunately, this is the cognitive equivalent of trying not to think about a white bear—an act that makes the bear's image all the more vivid. This phenomenon is known as the ironic process theory. By actively trying to suppress the thought of the song, you inadvertently keep it in your conscious awareness, often making it come back stronger. Research has shown that thought suppression is a remarkably ineffective strategy for dealing with earworms.
Cognitive Jenga: Displacing the Earworm with a Challenge
If you can't push the earworm out, what can you do? You have to replace it. The key is to engage the phonological loop with a new task—one that is demanding enough to fully occupy its resources. This is where puzzles come in.
Finding the 'Goldilocks' Zone
Not just any task will do. It needs to be moderately challenging. This concept is often called the "Goldilocks" effect in cognitive psychology.
- Too Easy: Simple tasks like basic arithmetic don't require enough mental bandwidth. Your phonological loop can handle them while still having plenty of leftover capacity for the earworm to continue its concert in the background.
- Too Hard: A task that is overwhelmingly difficult can lead to cognitive overload and frustration. When this happens, your mind is likely to wander, creating a perfect opportunity for the earworm to creep back in.
- Just Right: Activities like solving anagrams, working through a Sudoku puzzle, or even reading an engaging book are perfect. These tasks demand significant verbal or logical processing, fully engaging the working memory systems, including the phonological loop. By giving the loop a new, complex sequence to process, you effectively overwrite the old one. The earworm is not suppressed; it's displaced.
A 2012 study published by the American Psychological Association found that completing anagrams was particularly effective at dislodging unwanted tunes, precisely because it forces the brain to manipulate verbal information, directly competing with the musical fragment for cognitive real estate.
A Quick Fix: The Chewing Gum Method
If a puzzle isn't handy, there's an even simpler trick backed by research from the University of Reading: chew gum. The act of chewing involves the same articulatory motor programming used for sub-vocal rehearsal. By engaging these muscles and brain pathways, you create interference that disrupts the phonological loop's ability to "play" the song in your head. It’s a physical shortcut to achieving the same cognitive displacement.
Give Your Brain a Better Job
Ultimately, an earworm is a sign of an idle cognitive process. Your brain has latched onto an easy pattern and is running it on autopilot. The most effective way to banish it is to give that part of your brain a more interesting, challenging job to do. So next time a song gets stuck, don't fight it. Instead, pick up a crossword puzzle, try an anagram, or start a new chapter in a book. You'll not only silence the music but also give your brain the stimulating workout it was clearly craving.
Sources
- Why can't you get a song out of your head?
- Why Can't I Get This Song Out of My Head?
- Why Songs Get Stuck in Your Head—and How to Stop Them
- How to stop earworms in my head? It is so hard for me ...
- Why You Can't Get That Song Out Of Your Head - Beth Roars
- Why Do Songs Get Stuck in Your Head?
- Ear worms - Song stuck in your head?