Bits to Symphony

How it works · composition

Leitmotifs in games: themes that follow characters and ideas

A leitmotif is a short musical idea tied to a character, place or idea, which returns and changes as a story unfolds. The technique comes from 19th-century opera, travelled through film scoring and is now one of the main tools game composers use to make long, branching stories feel connected.

Last checked 3 November 2026Sources 4 listed belowReading time about 5 min

Brass French horn on dark velvet beside a sheet of manuscript paper

What makes a musical idea a leitmotif

A leitmotif is a short, recurring musical phrase linked to a particular person, place, object or idea. It might be a melody, a chord progression or even a distinctive rhythm. The point is association: once a listener connects the phrase with its subject, hearing it again brings that subject to mind, even if it is not on screen.

A leitmotif is more than a theme that simply repeats. It is usually developed over time. The same melody might appear in a major key when a character is triumphant, in a minor key when they are in trouble, slowed down at a funeral or fragmented when they are under threat. Those changes let the music comment on the story.

Motifs can also be very short. Two or three notes, a particular chord or a recognisable rhythm can be enough, which makes them easy to weave into other music without the listener being told to pay attention.

From Wagner's Ring cycle to a film about a galaxy far away

The technique is most closely associated with Richard Wagner, whose four-opera cycle Der Ring des Nibelungen, written between 1853 and 1869, uses a large number of motifs tied to characters, objects and situations, many of them recurring across all four operas.

The word itself was first used in print in 1871 by the critic Friedrich Wilhelm Jähns, writing about Carl Maria von Weber. It became widely known after Hans von Wolzogen published a guide to the motifs of Wagner's Ring in 1876, although Wagner himself did not formally adopt the term.

In the 20th century, film composers took up the approach. John Williams' score for Star Wars (1977) is a widely cited example, with separate themes for characters and for ideas such as the Force. Many players first encountered the idea through film before recognising it in games.

Short memorable phrases suited early hardware

Early games had very little memory for music, so short, distinctive phrases were a practical necessity as well as an artistic choice. A few notes of a fanfare or jingle could signal a level start, a power-up or a game over far more efficiently than a long piece.

Series also began to carry phrases from one game to the next. Final Fantasy games, scored for many years by Nobuo Uematsu, often open with a recognisable rising arpeggio prelude and mark the end of battles with a short victory fanfare. Those recurring signatures act like a series-wide leitmotif, connecting games with different worlds and characters.

Why long games need musical signposts

A role-playing game might last 40 hours or more, spread over weeks of play. A film lasts two hours in one sitting. That difference makes recurring themes even more useful in games, because they help players keep track of characters and places they may not have seen for a long time.

Hearing a character's theme when they return after a long absence works as a reminder of who they are and what happened last time. Hearing a familiar town theme rearranged after a disaster can show, without a word of dialogue, that something has changed. Composers often plan these returns early, mapping which themes belong to which characters and where in the story each will reappear.

Players may also hear the same music many times in a single session, for example during repeated battles. That puts extra pressure on themes to be memorable without becoming tiresome, which is one reason short, strong motifs with room for variation suit games so well.

When the player performs the motif

Games can do something opera and film cannot: let the audience play the theme. In The Legend of Zelda: Ocarina of Time (1998), the player learns short tunes and performs them on an in-game ocarina to change the time of day, call a horse or open new paths. Each tune is linked to a place, person or effect, and the game's wider score reuses some of them.

Because the player has to remember and play these melodies, they become memorable in a way that background music rarely does. Koji Kondo's work on the game is covered on his profile.

Undertale, Minecraft and themes that reward attention

Many modern games build whole scores around a small number of motifs. Undertale (2015), written and scored by Toby Fox, is often cited for the way its melodies reappear in different forms across characters and situations, so that attentive players notice musical connections that hint at the story.

Minecraft (2009) is a different case. Its original music by C418 is calm and sparse, but its recognisable melodic fragments have become strongly associated with the game itself. Lena Raine, profiled here, has since added new pieces that sit alongside them.

Orchestral series use the same tools. The Ori games, scored by Gareth Coker, develop themes across two games, and the Kingdom Hearts series, scored by Yoko Shimomura, has carried its themes through many sequels.

How adaptive systems give a motif new life

Combining leitmotifs with adaptive techniques gives composers extra options. A character's theme can be arranged several ways, for example quietly for exploration and with full percussion for combat, and the game can switch between those arrangements as the situation changes. The melody stays the same, so the player still recognises it.

Grant Kirkhope's music for Banjo-Kazooie is an often-quoted example: each world has a main melody that is rearranged for different areas, and the game crossfades between versions as the player moves around. Our adaptive music explainer covers the techniques behind that.

Listening out for motifs next time you play

If you want to hear how leitmotifs work in a game you know, a few habits help:

  • Note the melody heard when a main character is introduced, then listen for fragments of it later, especially in cut-scenes.
  • Compare the music in early and late areas of a game. Composers often bring back an opening theme near the end in a fuller or changed form.
  • Listen to boss or final battle music for quotations of earlier themes, which are commonly used to tie a story together.
  • Look at soundtrack track listings, where related pieces often share a name or a variation number.

Concerts of game music, which we cover on our live page, often arrange several related motifs into a single suite, which makes the connections easier to hear.

Questions readers ask

Is a leitmotif the same as a theme tune?

Not quite. A theme tune usually identifies a whole game or series. A leitmotif is tied to a specific character, place or idea within the story, and is often developed and varied as the story moves on.

Who invented the leitmotif?

The technique is most associated with Richard Wagner's operas. The word was first used in print in 1871 by critic Friedrich Wilhelm Jähns and was popularised by Hans von Wolzogen in 1876.

Can sound effects work like leitmotifs?

Short recurring sounds, such as a jingle for finding a secret, can work in a similar way by building an association. Most writers reserve the term leitmotif for musical phrases, though.

Sources we checked

  1. Leitmotif, Wikipedia
  2. Koji Kondo, Wikipedia
  3. Nobuo Uematsu, Wikipedia
  4. Lena Raine, Wikipedia

Last checked: . Spotted something out of date? Tell us.