← All articles
musicrockcompositionrepetitionSeptember 17, 20264 min read

What Is a Riff? The Short Figure a Whole Song Is Built On

By the BrainSnail editorial team. How these articles are written and checked, and how to tell us when one is wrong.

A riff is a short musical figure repeated as the foundation of a piece rather than as an ornament within it. Inverting the usual relationship, where melody leads and accompaniment supports, produces music organised by repetition and groove rather than by harmonic movement, and it underlies most rock and a great deal else.

What distinguishes it

A riff is typically short, two to four bars, rhythmically distinctive, and repeated with little or no variation while other elements change over it. That makes it structurally different from a melody, which develops and is not expected to repeat indefinitely, and from a hook, which is the most memorable part of a song and may be vocal, lyrical or instrumental. The distinguishing feature is function: the riff is the ground rather than the figure, so a singer delivers a verse over it and the harmony may not move at all. It also tends to combine pitch and rhythm inseparably, so the same notes played with different rhythmic placement are not the same riff, which is why transcriptions frequently fail to convey them. The related term ostinato covers the same idea in classical music, where repeated bass figures appear in Baroque ground bass forms, in Romantic and modern orchestral writing, and prominently in minimalism, so the device is ancient and the word is recent.

Where it came from

The technique arrived in popular music through a traceable path:

  • West African musical practice, in which interlocking repeated patterns rather than developing melodies organise a piece, carried into the Americas through the transatlantic slave trade
  • The blues, where repeated accompaniment figures under a vocal line became standard, and where the twelve-bar structure supports riff-based playing
  • Boogie-woogie piano, whose repeated left-hand figures are riffs in everything but name and which transferred directly to guitar
  • Big band jazz, where sections traded short repeated figures behind soloists and where the word riff was in common use by the 1930s
  • Electric blues and early rock and roll, which amplified the guitar enough for a riff to carry a whole band
  • Hard rock and heavy metal from the late 1960s, which made the riff the primary compositional unit and built songs outward from it rather than fitting it to a pre-existing melody

Why repetition works

Music built on repetition exploits well-documented features of listening. Repeated exposure increases liking up to a point, an effect robust across many domains, and a riff repeated through a song provides exactly that exposure within a single listening. Prediction is central to musical pleasure, and a repeated figure establishes an expectation that can then be confirmed, delayed or broken, so the riff supplies the framework against which everything else is heard. Repetition also frees attention, since once the ground is established the listener attends to what changes over it, which is why riff-based music can support extended vocal, lyrical and improvisational content that a constantly shifting accompaniment could not. And physically, a repeated rhythmic pattern supports entrainment, the tendency to synchronise movement with a beat, which is why this music makes people move. Researchers studying repetition in music have argued that it is the single most reliable route to making a sound sequence feel musical rather than arbitrary.

Ownership and the courts

Because a riff is short and built from a small vocabulary of scales and rhythms, similar ones recur constantly, which has made copyright litigation over them contentious and unpredictable. Courts have to distinguish between a genuinely original expression and a common musical building block that nobody can own, and the line has moved. Several prominent cases have turned on figures of a few notes, with outcomes that musicians and musicologists have criticised as threatening ordinary practice, and a notable appellate decision in 2020 reduced the reach of protection for a well-known descending sequence on the grounds that common progressions and scales are not protectable. The practical difficulty is that the resemblance a jury hears is influenced by performance, timbre and arrangement, which are not what copyright in a composition covers. The result is a genre in which shared vocabulary is the norm, borrowing is traditional and explicit, and legal exposure depends substantially on how recognisable the borrowing happens to be.

The takeaway

The figure is the ground rather than the ornament, short and rhythmically fixed, repeated while everything else changes over it, which reverses the usual relationship between melody and accompaniment. The device reached popular music through West African practice, the blues, boogie-woogie and big band sections. Repetition frees attention for what changes and supports movement. Short figures built from common vocabulary make copyright cases unpredictable.

Practise this

Questions from What is Music?

Reading about something is not the same as being able to recall it. These are real questions from the What is Music? unit in our Music track, answers and explanations included. The unit has 120 in total across 23 steps.

  • True or falseLevel 1

    1. At a concert, it is polite to be quiet while the music is playing.

    Answer: True

    Being quiet during the music helps everyone hear and enjoy the performance.

  • True or falseLevel 1

    2. Sound is made when something vibrates, or moves quickly back and forth.

    Answer: True

    Vibrations are those tiny fast movements that create the sounds we hear.

  • Odd one outLevel 2

    3. Which one is NOT usually a part of music?

    • a paintingcorrect
    • melody
    • rhythm
    • pitch

    A painting is art you see, while melody, rhythm and pitch are all parts of music you hear.