Skip to content
Music Theory

The Fugue

The fugue is the most developed contrapuntal form: a piece for several voices (almost always between two and five) built from a single theme, the subject, which enters in turn in every voice and comes back again and again, in different keys, throughout the piece. Its name comes from the Latin fuga, “flight”: the voices seem to chase one another. It is Johann Sebastian Bach’s form par excellence, which he brought to its highest perfection in The Well-Tempered Clavier.

The parts of a fugue

Unlike binary form or sonata form, the fugue is not a plan of lettered sections but a process: you start from a subject and play with it. Even so, almost every fugue goes through the same stages:

ElementWhat it is
SubjectThe main theme, heard alone at the start, in the tonic. It must be easy to recognize when it returns.
AnswerThe subject repeated by the second voice a fifth higher (or a fourth lower), on the dominant.
CountersubjectA melody that accompanies the subject or the answer while they sound. When it is fixed, it comes back unchanged each time they enter.
ExpositionThe first part: each voice enters in turn with the subject or the answer, until all have entered.
EpisodeA passage in which the subject does not appear whole. It is built from fragments of the subject or countersubject, repeated in sequence, and serves to modulate.
Middle entriesThe subject returns, complete, in other keys (the relative, the dominant…), separated by episodes.
StrettoOverlapping entries of the subject: one voice starts before the previous one has finished. It raises the tension and usually appears towards the end.
PedalA long note in the bass, usually on the dominant or the tonic, over which the other voices make their last entry.

The exposition: subject and answer

The first voice presents the subject alone, in the tonic. When it ends, the second voice enters with the answer, which is the same subject but starting on the dominant, while the first voice carries on with a new melody (the countersubject). Then the third voice enters with the subject, again in the tonic, and so on until all have entered: in a four-voice fugue you hear subject, answer, subject, answer; in a three-voice one, subject, answer, subject.

The answer can be of two kinds:

  • Real answer: the subject is transposed exactly to the dominant, without changing any interval.
  • Tonal answer: an interval is changed (almost always a leap from tonic to dominant, which becomes dominant to tonic) so the music does not drift away from the key. It is the most frequent when the subject stresses the dominant.

Between the entries there may be a short free passage, the codetta, which links one entry to the next without the subject sounding.

Episodes and middle entries

Once the exposition is over, the fugue alternates episodes (without the whole subject, modulating and built from sequences) and middle entries of the subject in neighboring keys. Episodes give relief and move the harmony; entries bring firmness and remind us of the theme. In the last part the music returns to the tonic, sometimes with stretto or over a pedal, and the fugue closes with a final cadence.

Example: Fugue in C minor, BWV 847

The second fugue of Book I of The Well-Tempered Clavier (1722) is a three-voice fugue of only 31 bars. Its subject begins with a sixteenth-note turn (C–B–C) and a descending leap of a fourth (C–G), and runs on into the next bar. Press each block to see the whole section in the score and listen to it, and follow the cursor to find each entry:

These are the complete entries of the subject or the answer:

BarVoiceWhat entersKey
1AltoSubjectC minor
3SopranoAnswer (tonal)Starts on G
7BassSubjectC minor
11SopranoSubject (variant)E♭ major
15AltoAnswerStarts on G
20SopranoSubjectC minor
26BassSubjectC minor
29SopranoSubjectC minor

Notice that the fugue ends as it began, on C, but with a C major chord: it is the Picardy third, a device often used to close a minor-key piece with light.

How to analyze a fugue

  1. Find the subject: it is what the first voice plays alone at the start. Note where it ends, because as soon as another voice enters, the answer is sounding.
  2. Mark each entry: write in the score the bar, the voice and the key every time the subject or the answer sounds.
  3. Decide the type of answer: compare the subject with the answer and see whether any interval changes (tonal) or not (real).
  4. Separate the episodes: they are the bars between entries; look for the sequences and the fragments of the subject that repeat.
  5. Follow the keys with the cadences and the modulations: where each key is established and how the tonic is regained.
  6. Find the ending: stretto, pedal and cadence.

Fugue and invention

The invention is a shorter, freer contrapuntal piece for two voices. The fugue is stricter: it has an exposition in a fixed order (subject, answer…) and usually three or more voices.

Next steps

The fugue is the culmination of contrapuntal music; if you want to see other forms with a plan of sections, they are all in the musical forms index.

Frequently Asked Questions

What is a fugue in music?
It is a contrapuntal piece for several voices built from a single theme, the subject, which enters in turn in every voice and comes back in different keys throughout the piece.
What are the parts of a fugue?
The exposition (each voice enters with the subject or the answer), the episodes (modulating passages without the whole subject), the middle entries in other keys, and an ending that usually includes stretto or pedal and returns to the tonic.
What is the difference between subject and answer?
The subject is the theme on the tonic; the answer is that same theme on the dominant. It can be real (identical, just transposed) or tonal (with an interval changed so the music does not drift away from the key).
What is the difference between a fugue and an invention?
The invention is shorter and freer and has two voices; the fugue usually has three or more voices and an exposition in a fixed order of subject and answer.