From the Gist Engine · September 25, 2026

Science2-min read

Why songs get stuck in your head

The gist

Songs get stuck because your brain’s memory and prediction systems keep replaying a short, familiar musical pattern even when you are no longer listening.

The common mix-up

It is often said that only songs you especially like get stuck in your head—in fact, familiarity, repetition, and a memorable musical pattern can matter more than whether you enjoy the song.

Big picture

This is part of the brain’s broader system for storing patterns and predicting what comes next, the same system that helps with language, habits, and recognizing familiar sounds. The replay happens internally, not because the song is actually playing around you.

Explain like I'm 5

It is like a tiny music box in your brain that keeps turning its handle after the song has stopped. A familiar tune gives the music box an easy pattern to repeat.

Why it matters now

Understanding earworms helps explain why a tune can return during quiet moments, after repeated listening, or when something in your surroundings reminds you of it. It also makes clear that this common experience is usually a memory quirk, not evidence that anything is wrong.

Make it concrete

Imagine hearing a chorus several times and then walking into a quiet room. Your brain has a well-practised pattern to fill the silence, so it begins replaying the chorus internally. If a word, rhythm, or situation reminds you of the song, that cue can start the loop again.

Three things to know

Short sections often take over

The brain may repeat a chorus, hook, or single line rather than reconstructing the entire song because smaller patterns are easier to retrieve.

Unfinished patterns invite replay

A tune that stops before its musical expectation feels settled can keep drawing attention as the brain continues trying to complete the pattern.

Outside cues can restart it

A phrase, sound, movement, or setting that resembles part of the song can reactivate the related memory without the full song being consciously recalled.

Liked that? Get Science gists in your inbox every weekday morning. Free, always.

Or pick more topics →