Mind & Psychology

Why Do Songs Get Stuck in Your Head? The Science of Earworms

Why do songs get stuck in your head? Because your brain is built to replay short, familiar pieces of sound, and catchy songs are perfect material. Scientists call it an earworm, or “involuntary musical imagery”: a few seconds of music that loops in your mind without you choosing to play it.

It’s one of the most common quirks of the human mind, and it has been noticed for as long as people have sung songs. Researchers say over 90% of people get earworms regularly. The good news is that they’re harmless, and research has found a few simple tricks that help you switch one off. Below we look at what earworms are, what sets them off, why some songs are so much stickier than others, what’s happening in your brain, and six practical ways to get rid of one.

The answer in brief

  • An earworm is a short piece of music, usually a chorus or hook, that repeats in your head on its own.
  • Songs you’ve heard recently and often are the most likely to get stuck.
  • Earworms tend to be upbeat, with simple melody shapes and a small unusual twist.
  • Moderately hard puzzles, chewing gum, or listening to the whole song can help get rid of one.

What Is an Earworm?

The word earworm comes from the German Ohrwurm. In research papers, it is called involuntary musical imagery, or INMI. It means music that pops into your mind and keeps repeating, even though nothing is playing.

An earworm is rarely a whole song. It’s usually a short loop, often the chorus or the most memorable line, and research suggests these fragments typically last around 15 to 30 seconds before starting again. That’s why you can hum the same few bars all afternoon but can’t remember the second verse.

Earworms are extremely common, and they don’t care about taste. Plenty of people get stuck with songs they don’t even like. A 2012 study of Finnish internet users, reported by Live Science, found that about 90% got a song stuck in their head at least once a week. People who are more musical tend to get them more often.

Why Do Songs Get Stuck in Your Head? 4 Main Triggers

1. You Heard the Song Recently or Many Times

The biggest trigger is simple exposure. The more often you’ve heard a song, and the more recently, the more likely it is to become an earworm. Familiarity matters because the brain has to know a tune well before it can replay it on its own. Songs you barely know rarely get stuck.

2. Something Reminded You of It

Earworms are often set off by memory cues. A word, a place, a person or a few notes can bring back a song you connect with it. One earworm researcher has said that just hearing the word “umbrella” was enough to start a famous pop song looping in her head.

Headphones on a white background, a reminder of why do songs get stuck in your head after a recent listen
Photo by Aleksandar Spasojevic on Pexels

3. Your Mood or Stress Level

Emotions play a part too. Some people find the same song comes back whenever they’re stressed, while others get faster songs when they feel alert or excited. A song linked to a strong memory or feeling can return when that feeling does.

4. Your Mind Is Idle

Earworms love a wandering mind. They often show up during easy, repetitive tasks like walking, showering, doing dishes or brushing your teeth. When your attention isn’t fully busy, the brain fills the gap with music it already knows.

This connects to how short-term memory works. Your brain can hold only a small amount of information at once, as we explain in our article on why you forget what you were thinking. A catchy loop can sit in that space whenever nothing else needs it.

Why Some Songs Are Catchier Than Others

Is there something about the music itself? In one of the largest studies on this question, music psychologist Kelly Jakubowski and her colleagues surveyed 3,000 people about their most common earworms. They then compared 100 frequently named earworms with 100 songs that were just as popular but never named. She describes the findings in The Conversation.

The earworm songs shared three features:

  • A faster tempo. Earworms tended to be more upbeat. That may be because we often get them while moving in a steady rhythm, like walking or running.
  • A common melody shape. Their overall tune followed familiar patterns, such as rising and then falling, which makes them easy to remember and sing.
  • A small surprise. They also had some unusual intervals, such as unexpected jumps or repeated notes, which make them stand out from similar songs.

In other words, catchy songs are simple enough to remember easily but have one distinctive twist that makes the brain want to replay them. The top earworm in that survey was “Bad Romance” by Lady Gaga.

FeatureWhy it helps a song stick
Heard often and recentlyThe brain knows it well enough to replay it
Upbeat tempoFits the rhythm of walking and other movement
Simple, familiar melodyEasy to remember and sing in your head
One unusual twistMakes it stand out from similar songs
Short, repeated chorusGives the brain a ready-made loop

What Happens in Your Brain During an Earworm

When a song plays in your head, your brain isn’t just remembering that the song exists. It’s partly re-running the experience of hearing it. Brain imaging studies have found that imagining music activates areas involved in hearing, even when the room is silent. In one well-known experiment, people listened to familiar songs with short gaps of silence cut out of them. During those gaps, their auditory areas stayed active, as if the brain was filling in the missing music on its own.

That filling-in habit helps explain earworms. Your brain is constantly predicting what comes next, especially with patterns it knows well. A familiar chorus is a perfect prediction loop: once the first line starts, the brain knows exactly what follows, and the loop keeps itself going.

Working memory is involved too. The same inner voice you use to rehearse a phone number can rehearse a melody. That’s why tasks that use that inner voice, like reading or solving word puzzles, are so good at pushing a tune out.

The Unfinished Business Theory

One popular explanation for earworms borrows from an old idea in psychology called the Zeigarnik effect: people tend to remember unfinished tasks better than finished ones. The theory goes that a song fragment, cut off before it resolves, feels like unfinished business, so the brain keeps returning to it.

This would explain why the loop is usually just a chorus or a single line, and why listening to the song all the way through sometimes ends it. Research on the Zeigarnik effect itself is mixed, and not every earworm fits the pattern, but many people find that completing the song gives their brain a sense of closure.

Why Advertisers Love Earworms

Advertisers worked out long before scientists that catchy tunes stick. Jingles are designed using many of the same ingredients as earworms: a short, repetitive melody, a simple rhythm and a hook that’s easy to sing. Repeated across months of adverts, they become familiar enough for the brain to replay on its own, carrying a brand name with them.

That’s why you can probably still sing a jingle from years ago, even if you never bought the product. It’s also why the same tricks show up in children’s songs, sports chants and pop choruses. Anything designed to be remembered quickly tends to follow the earworm recipe.

Are Earworms Bad for You?

For almost everyone, no. Earworms are a normal part of how memory works. Surprisingly, most of them aren’t unpleasant: surveys suggest only about a third of earworms are annoying. We just remember the irritating ones more.

Very rarely, music that won’t stop for more than a day, or that sounds like real music being heard rather than remembered, can be linked to a medical condition. If an earworm is constant, distressing, or comes with other symptoms like hearing changes or headaches, talk to a doctor.

6 Easy Ways to Get a Song Out of Your Head

There’s no guaranteed cure, but these tricks have the best support:

  1. Do a moderately hard puzzle. Researchers at Western Washington University found that tasks like anagrams, sudoku or reading can push out an earworm, as long as they’re not too easy or too hard. The task uses the same mental space the song was using.
  2. Chew gum. A 2015 study from the University of Reading found that chewing gum reduced earworms, likely because it interferes with silently “singing” the song in your head. The research is summarized on Wikipedia’s earworm page.
  3. Listen to the whole song. Many earworms are fragments stuck on repeat. Hearing the song all the way to the end can help your brain let it go.
  4. Play a different song. Some people use a “cure song,” a tune that’s pleasant but not very catchy, to replace the loop.
  5. Don’t fight too hard. Trying to force a thought away often makes it come back. Noticing the song and moving on usually works better.
  6. Change what you’re doing. Talking to someone, exercising or switching to a task that needs focus can break the loop.
Piano keys and sheet music, showing the simple melodies that often become an earworm
Photo by Pixabay on Pexels

A Worked Example: The Song That Wouldn’t Leave

Picture someone who hears a catchy advert on the radio three times during the morning commute. By lunchtime, the chorus is looping. It gets louder during a boring spreadsheet task and follows them into the afternoon.

They try humming a different song, which works for a few minutes before the jingle returns. Then they try a different approach. They look up the full advert song, listen to it once all the way through, and then switch to a task that needs real focus: writing a tricky email. Twenty minutes later, they realise the tune has gone.

That combination often works better than any single trick. Finishing the song removes the sense of a loop left hanging, and an absorbing task fills the mental space the earworm was using. Chewing gum on the way home would have helped too, by keeping the inner voice busy.

Earworms and Sleep

Many people notice earworms most when they’re trying to fall asleep or when they wake in the night. Research led by sleep scientist Michael Scullin at Baylor University, published in 2021, looked at this directly. People who reported frequent night-time earworms tended to report poorer sleep, and in a lab study, those who had an earworm while falling asleep took longer to drift off and slept less deeply.

The same research found that people who listened to music more, especially close to bedtime, were more likely to have earworms at night. Surprisingly, instrumental music seemed especially likely to stick, perhaps because there are no lyrics to finish the thought.

If night-time earworms bother you, try leaving a gap between music and bedtime, and swap your last half hour of listening for reading or a quiet routine. If a tune starts looping as you lie down, focusing on a gentle mental task, like slowly describing your day in detail in your head, can give your inner voice something else to do.

Can Earworms Be Useful?

The same features that make earworms annoying also make music a powerful memory tool. Children learn the alphabet, times tables and the names of countries through songs because melody and rhythm help information stick. Many adults still use a tune to remember the number of days in each month or a list they learned at school.

Some teachers and language learners deliberately set vocabulary or rules to music for the same reason. And many people find that a familiar song replaying in their head is pleasant, not irritating, a kind of free personal soundtrack. The trick is that you rarely get to choose which song your brain picks.

Questions People Ask About Earworms

Why do I wake up with a song stuck in my head?

Earworms often appear when your mind is idle, and the first few minutes after waking are one of those times. Songs you heard the day before, or many times recently, are the most likely to be there, because they’re freshest in memory. Some researchers think memories from the previous day are being replayed and sorted during sleep, which may help explain why a recent tune is waiting for you when you open your eyes.

How long do earworms last?

Most earworms come and go within minutes to a few hours. The loop itself is usually short, around 15 to 30 seconds of a song, which repeats until something else takes your attention. Some return on and off over a day or two, especially if you keep hearing the song. If music in your head is constant for days, distressing or sounds like it’s really playing, it’s worth mentioning to a doctor.

Why is it always the chorus?

The chorus is the part you’ve heard most often, and it’s usually the simplest, catchiest and most repetitive part of the song. Songwriters design it that way on purpose, so it’s easy to sing along with. That makes it the easiest piece for your brain to replay on its own. Verses change from one section to the next, so they’re harder to remember and far less likely to loop.

Do musicians get more earworms?

Yes. Studies have found that people who are more involved with music, through playing, singing or simply listening a lot, tend to report earworms more often. They have a bigger library of well-known music for the brain to draw on, and they spend more time practising pieces over and over. Musicians also sometimes get stuck with music they’re learning, which can actually help them rehearse it.

Is a song stuck in your head a sign of anxiety?

Not on its own. Earworms are normal and happen to almost everyone, whether they’re relaxed or stressed. Stress can make some people notice them more, and some studies link frequent earworms with a tendency towards repetitive thoughts. But if you’re worried about anxiety, look at your overall feelings, sleep and daily life rather than the music, and talk to a doctor if worry is getting in the way.

Why do songs get stuck in my head when I’m trying to sleep?

Bedtime is one of the quietest moments of the day, and earworms tend to appear when your mind is idle. A song you heard recently, or many times that day, is the most likely to start looping. A calm, moderately absorbing activity like reading can help your mind move on.

So, Why Do Songs Get Stuck in Your Head?

Songs get stuck in your head because your brain likes to replay short, familiar and catchy music, especially when it hears a song often and your mind has a moment to wander. Upbeat songs with simple tunes and one surprising twist stick the most. Most earworms are harmless and fade on their own. If one won’t leave, try a moderately hard puzzle, chew gum or play the song to the end.

Want more strange things your brain does? Find out why you can’t concentrate when someone is talking and why you forget names so fast, or browse our Mind & Psychology section.

References

Related Articles

Leave a Reply

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

Back to top button