A song stuck in your head is usually an earworm, or involuntary musical imagery: a short piece of music that repeats in the mind without an external sound. Familiarity, recent listening, catchy patterns and everyday reminders can all contribute. Researchers do not have one complete explanation for why a particular song loops, but earworms are common and are usually brief rather than a sign of a problem.
The brain can replay music internally
An earworm is not an actual sound in the room. It is a form of involuntary musical imagery: the mind replays part of a tune, often a chorus or short phrase. The experience can feel vivid even though no sound is reaching the ears.
A familiar song, a recent replay or a word that reminds you of a lyric can trigger the loop. Diary studies have found earworms to be widespread and usually not to last beyond a day. [1]
Why some songs are ‘sticky’
Songs with a memorable rhythm, repeated notes, distinctive intervals or an easy-to-sing phrase may be more likely to stick. But familiarity also matters: repeated exposure gives the brain a well-practised sequence to replay. Research has linked repeated listening with earworm experiences on working-memory tasks. [2]
A recent cue can restart a tune even when you were not consciously thinking about it. The process involves memory and attention, and researchers are still working out why certain passages return more easily than others.
How to let the loop pass
Trying hard to force a tune away can keep attention on it. Some people find it helps to listen to the full song, switch to a different absorbing task or let the thought come and go without arguing with it. These are everyday strategies, not medical treatments.
For most people, an earworm is a harmless quirk of memory. If intrusive musical thoughts become distressing or disrupt daily life, a health professional can help assess the broader context.
Sources and evidence
- British Journal of Psychology — Earworms: a natural history of intrusive thoughts ↗
Survey and diary findings on frequency, triggers and typical duration.
- Psychology of Music — The song that never ends: repeated exposure and earworms ↗
Evidence linking repeated exposure and earworm experiences.
- Music & Science — Toward a theory for explaining earworms ↗
Review of proposed mechanisms and open questions.
Sources consulted: 11 October 2026. Written with AI assistance and checked against the linked references; not independently reviewed by a subject specialist. Sources do not endorse this article. See our editorial policy.
Revision: Original explanatory article prepared from linked scientific and institutional sources; scope and uncertainty are stated in the text.

