PsychologyMeaning Inner Rooms ↗
DecoderEmotionsMysteriesGuidesLaboratoryInner Rooms
Home / Mind Mysteries / Earworms
Mind Mysteries · Earworms

Why do songs get stuck in your head?

Last reviewed: July 2026
The short answer

A stuck song — an earworm — is an involuntary musical memory caught on a loop. It happens because catchy, simple, repetitive tunes are easy for the brain to replay, and an unfinished loop tends to keep repeating. It's extremely common and almost always harmless.

Why a fragment loops

Earworms are usually a short slice of a song — a hook, not the whole thing — replaying on repeat. Two features make a tune sticky: it's simple and repetitive enough to loop easily, and it has a small surprise or leap that makes it distinctive. The mind seems to treat an unfinished phrase as an open loop it wants to close, so it keeps cycling.

What sets one off

Common triggers include recent or repeated exposure to the song, stress, and — crucially — mind-wandering. Earworms love an idle or lightly occupied mind, which is why they surface in the shower or on a commute.

How to dislodge one

  • Play the song to the end. Completing the loop can close it — the open-loop is part of what keeps it going.
  • Engage an absorbing task — a puzzle, a conversation, anything that occupies the same mental space.
  • Chew gum. Oddly, occupying the mouth's motor system has been shown to reduce earworms.
Reassurance

Earworms are a normal feature of a musical memory, not a malfunction. Nearly everyone gets them, and they pass on their own.

Quotable

An earworm is an unfinished musical loop the mind keeps trying to close — simple, catchy tunes catch most easily, and completing or crowding out the loop tends to end it.

The loop that will not close
UNFINISHED phrase the brain hates an open loop… …so finish the song and it lets go the Zeigarnik effect, playing at full volume
Play the song to the end. The loop closes and the mind releases it.

Related

Earworms thrive on a wandering mind — the same idle state behind procrastination. For attention, see the mind techniques.

Frequently asked

Why do I get songs stuck in my head?
Because simple, repetitive, catchy tunes are easy for the brain to replay, and an unfinished musical loop tends to keep repeating — especially when your mind wanders.
How do I get rid of an earworm?
Try playing the song to the end to close the loop, engaging an absorbing task, or chewing gum, which has been shown to reduce earworms.
Are earworms a sign of anything wrong?
No. They are a normal, near-universal quirk of musical memory and are not a sign of a problem.

Sources & further reading

  1. Involuntary musical imagery review (Liikkanen & Jakubowski): earworms favour simple, repetitive melodies with an unexpected interval, and lyrics are the commonest feature — lyrical music produced roughly 50% more earworms than instrumental in one experiment. Low cognitive load and recent exposure are the usual triggers. INMI research review ↗
  2. Beaman, Powell & Rapley (2015): chewing gum reduced both wanted and unwanted musical thoughts by interfering with the articulatory motor planning that “plays” the tune. A third experiment ruled out simple dual-task distraction — it is specific to the vocal apparatus. Beaman et al., 2015 ↗

Educational, not advice. Sourcing marked for verification at the pre-launch trust pass.