# Fugue

In classical music, a fugue (/fjuːɡ/, from Latin fuga, meaning "flight" or "escape") is a contrapuntal, polyphonic compositional technique in two or more voices, built on a subject (a musical theme) that is introduced at the beginning in imitation (repetition at different pitches), which recurs frequently throughout the course of the composition. It is not to be confused with a fuguing tune, which is a style of song popularized by and mostly limited to early American (i.e. shape note or "Sacred Harp") music and West Gallery music. A fugue usually has three main sections: an exposition, a development, and a final entry that contains the return of the subject in the fugue's tonic key. Fugues can also have episodes, which are parts of the fugue where new material often based on the subject is heard; a stretto (plural stretti), when the fugue's subject overlaps itself in different voices, or a recapitulation. A popular compositional technique in the Baroque era, the fugue was fundamental in showing mastery of harmony and tonality as it presented counterpoint.
In the Middle Ages, the term was widely used to denote any works in canonic style; however, by the Renaissance, it had come to denote specifically imitative works. Since the 17th century, the term fugue has described what is commonly regarded as the most fully developed procedure of imitative counterpoint.
Most fugues open with a short main theme, called the subject, which then sounds successively in each voice. When each voice has completed its entry of the subject, the exposition is complete. This is often followed by a connecting passage, or episode, developed from previously heard material; further "entries" of the subject are then heard in related keys. Episodes (if applicable) and entries are usually alternated until the final entry of the subject, at which point the music has returned to the opening key, or tonic, which is often followed by a coda. Because of the composer's prerogative to decide most structural elements, the fugue is closer to a style of composition rather than a structural form.
The form evolved during the 18th century from several earlier types of contrapuntal compositions, such as imitative ricercars, capriccios, canzonas, and fantasias. The Baroque composer Johann Sebastian Bach (1685–1750), well known for his fugues, shaped his own works after those of Jan Pieterszoon Sweelinck (1562–1621), Johann Jakob Froberger (1616–1667), Johann Pachelbel (1653–1706), Girolamo Frescobaldi (1583–1643), Dieterich Buxtehude (c. 1637–1707) and others. With the decline of sophisticated styles at the end of the baroque period, the fugue's central role waned, eventually giving way as sonata form and the symphony orchestra rose to a more prominent position. Nevertheless, composers continued to write and study fugues; they appear in the works of Wolfgang Amadeus Mozart (1756–1791) and Ludwig van Beethoven (1770–1827), as well as modern composers such as Dmitri Shostakovich (1906–1975) and Paul Hindemith (1895–1963).

## Etymology

The English term fugue originated in the 16th century and is derived from the French word fugue or the Italian fuga. This in turn comes from the Latin fuga, which is itself related to both fugere ("to flee") and fugare ("to chase"). The adjectival form is fugal. Variants include fughetta ("a small fugue") and fugato (a passage in fugal style within another work that is not a fugue).

## Musical outline

A fugue begins with the exposition and is written according to certain rules. The composer has more freedom once the exposition ends, though a logical key structure is usually followed. Further entries of the subject will occur throughout the fugue, repeating the accompanying material at the same time, and often accompanying key changes. The various entries may or may not be separated by episodes or occur in stretto.
Example of key and entry structure in a three-voice Baroque fugue :
| | Exposition | Exposition | Exposition | Exposition | Exposition | | First mid-entry | First mid-entry | | Second mid-entry | | Final entries in tonic | Final entries in tonic |
| | Tonic | Dom. | | T | (D-redundant entry) | | Relative maj/min | Dom. of rel. | | Subdom. | | T | T |
| Soprano | S | CS$_1$ | C o d e t t a | CS$_2$ | A | E p i s o d e | CS$_1$ | CS$_2$ | E p i s o d e | S | E p i s o d e | CS$_1$ | Free counterpoint | C o d a |
| Alto | | A | C o d e t t a | CS$_1$ | CS$_2$ | E p i s o d e | S | CS$_1$ | E p i s o d e | CS$_2$ | E p i s o d e | S | CS$_1$ | C o d a |
| Bass | | | C o d e t t a | S | CS$_1$ | E p i s o d e | CS$_2$ | A | E p i s o d e | CS$_1$ | E p i s o d e | CS$_2$ | S | C o d a |
       S = subject; A = answer; CS = countersubject; T = tonic; D = dominant

### Exposition

A fugue begins with the exposition of its subject in one of the voices alone in the tonic key. After the statement of the subject, a second voice enters and states the subject with the subject transposed to another key (almost always the dominant or subdominant, with the latter being less common), which is known as the answer. To enable a natural harmonic progression, the answer may also be altered slightly (usually by changing one or a few notes near the beginning). When the answer is an exact transposition of the subject into the new key, the answer is classified as a real answer; alternatively, if the intervals of the subject are altered in any way, the answer is a tonal answer.
When the subject begins with a prominent dominant note, or when there is a prominent dominant note very close to the beginning of the subject, a tonal answer is usually necessary. To prevent an undermining of the fugue's key, this note is transposed up a fourth to the tonic rather than up a fifth to the supertonic. For the same reason, it is possible for the answer of such a subject to be in the subdominant key.
During the answer, the voice in which the subject was previously heard accompanies with new material. If this new material is reused in later statements of the subject, it is called a countersubject; if this accompanying material is only heard once, it is simply referred to as free counterpoint.
The countersubject is written in invertible counterpoint at the octave or fifteenth (two octaves). The distinction is made between the use of free counterpoint and regular countersubjects accompanying the fugue subject/answer, because in order for it to be heard accompanying the subject in more than one instance, the countersubject must be capable of sounding correctly when played above or below the subject, and must be conceived, therefore, in invertible (double) counterpoint.
In tonal music, invertible contrapuntal lines must be written according to certain rules, because several intervallic combinations, while acceptable in one orientation, are not permissible when inverted. As an example, perfect fifths are contrapuntally acceptable, while the inversion of a perfect fifth results in a perfect fourth, which, unlike the perfect fifth, is considered a dissonance, requiring proper preparation and resolution. The countersubject, if sounding at the same time as the answer, is transposed to the pitch of the answer. Each voice then responds with its own subject or answer, and further countersubjects or free counterpoint may be heard.
It is customary in the exposition to alternate entrances of the subject (S) with entrances of the answer (A). However, this order is occasionally varied. For example, the exposition from J.S. Bach's Well-Tempered Clavier, Book 1 Fugue No. 1 in C Major, BWV 846 uses a SAAS (subject-answer-answer-subject) exposition. A brief codetta is often heard connecting the various statements of the subject and answer, smoothly connecting each and often facilitating the modulation between the tonic and the key of the answer. The codetta, like other parts of the exposition, may be reused throughout the remainder of the fugue.
The first answer must occur as soon after the initial statement of the subject as possible; therefore, the first codetta is often absent or very short. In the example shown above of J.S. Bach's Fugue No. 16 in G minor, BWV 861, the first codetta is absent. The subject concludes on the quarter note (or crotchet) B♭ of the third beat of the second bar, which harmonizes the opening G of the tonal answer. The later codettas may be considerably longer, and often serve to develop the material heard in the subject/answer and countersubject and possibly introduce ideas heard in the second countersubject or free counterpoint that follows. They may also be present to delay, and therefore heighten the impact of, the reentry of the subject in another voice. Finally, they may be modulatory passages to return the fugue to the tonic.
The exposition usually concludes when all voices have given a statement of the subject or answer. In some fugues, especially those with an odd number of voices, the exposition will end with a redundant entry, or an extra presentation of the theme in a voice which has already entered. Furthermore, the entry of one of the voices may not be heard until considerably later. For example, in J.S. Bach's Fugue in C minor for Organ, BWV 549, the subject entrance in the lowest voice (played by the organ pedals), is not heard until near the end of the fugue.

### Episode

Further entries of the subject may follow the initial exposition either immediately or separated by episodes. Episodic material is always modulatory and is usually based upon some musical idea heard in the exposition. Each episode has the primary function of transitioning into a new key for the next entry of the subject, and may also provide release from the strictness of form required by the exposition. André Gedalge, a teacher of Maurice Ravel, stated that the episode of the fugue is generally based on a series of imitations of the subject that have been fragmented.

### Development

Further entries of the subject, or middle entries, occur throughout the fugue. The development must state the subject or answer at least once in its entirety, and may also be heard in combination with any countersubjects from the exposition, new countersubjects, free counterpoint, or any of these in combination. It is uncommon for the subject to enter alone in a single voice in the middle entries; rather, it is usually heard with at least one of the countersubjects and/or other free contrapuntal accompaniments.
Middle entries tend to occur at keys other than the tonic. These are often closely related keys such as the relative dominant and subdominant, although the key structure of fugues varies greatly. In the fugues of J.S. Bach, the first middle entry occurs most often in the relative major or minor of the work's overall key, and is followed by an entry in the dominant of the relative major or minor when the fugue's subject requires a tonal answer. In the fugues of earlier composers (notably Buxtehude and Pachelbel), middle entries in keys other than the tonic and dominant tend to be the exception, and non-modulation the norm. One famous example of such non-modulating fugue occurs in Buxtehude's Praeludium (Fugue and Chaconne) in C, BuxWV 137.
When there is no entrance of the subject and answer material, the composer can develop the subject by altering it. This is called a counter-exposition, which often uses the inversion of the subject, although the term is sometimes used synonymously with middle entry and may also describe the exposition of completely new subjects, such as those encountered in double fugues. In any of the entries within a fugue, the subject may be altered by inversion, retrograde (where the subject is heard back-to-front), diminution (the reduction of the subject's rhythmic values by a certain factor), augmentation (the enlargement of the subject's rhythmic values by a certain factor), or any combination thereof.

### Example and analysis

The excerpt below, bars 7–12 of J.S. Bach's Fugue No. 2 in C minor, BWV 847, from the Well-Tempered Clavier, Book 1 illustrates the application of most of the characteristics described above. The fugue is for keyboard and in three voices, with regular countersubjects. This excerpt opens at last entry of the exposition: the subject is sounding in the bass, the first countersubject in the treble, while the middle-voice is stating a second version of the second countersubject, which concludes with the characteristic rhythm of the subject, and is always used together with the first version of the second countersubject. Following this an episode modulates from the tonic to the relative major by means of sequence, in the form of an accompanied canon at the fourth. Arrival in E♭ major is marked by a quasi perfect cadence across the bar line, from the last quarter note beat of the first bar to the first beat of the second bar in the second system, and the first middle entry. Here, Bach has altered the second countersubject to accommodate the change of mode.

### False entries

At any point in the fugue there may be "false entries" of the subject, which include the start of the subject but are not completed. False entries are often abbreviated to the head of the subject, and anticipate the "true" entry of the subject, heightening the impact of the subject proper.

### Counter-exposition

The counter-exposition is a second exposition. However, there are only two entries, and the entries occur in reverse order. The counter-exposition in a fugue is separated from the exposition by an episode and is in the same key as the original exposition.

### Stretto

Sometimes counter-expositions or the middle entries take place in stretto, whereby one voice responds with the subject/answer before the first voice has completed its entry of the subject/answer, usually increasing the intensity of the music.
Only one entry of the subject must be heard in its completion in a stretto. However, a stretto in which the subject/answer is heard in completion in all voices is known as stretto maestrale or grand stretto. Strettos may also occur by inversion, augmentation and diminution. A fugue in which the opening exposition takes place in stretto form is known as a close fugue or stretto fugue (see for example, the Gratias agimus tibi and Dona nobis pacem choruses from J.S. Bach's Mass in B minor).

### Final entries and coda

The closing section of a fugue often includes one or two counter-expositions, and possibly a stretto, in the tonic; sometimes over a tonic or dominant pedal note. Any material that follows the final entry of the subject is considered to be the final coda and is normally cadential.

## Types
### Simple fugue

A simple fugue has only one subject, and does not utilize invertible counterpoint.

### Double (triple, quadruple) fugue

A double fugue has two subjects that are often developed simultaneously. Similarly, a triple fugue has three subjects. There are two kinds of double (triple) fugue: (a) a fugue in which the second (third) subject is (are) presented simultaneously with the subject in the exposition (e.g. as in Kyrie Eleison of Mozart's Requiem in D minor or the fugue of Bach's Passacaglia and Fugue in C minor, BWV 582), and (b) a fugue in which all subjects have their own expositions at some point, and they are not combined until later (see for example, the three-subject Fugue No. 14 in F♯ minor from Bach's Well-Tempered Clavier Book 2, or more famously, Bach's "St. Anne" Fugue in E♭ major, BWV 552, a triple fugue for organ.)

### Counter-fugue

A counter-fugue is a fugue in which the first answer is presented as the subject in inversion (upside down), and the inverted subject continues to feature prominently throughout the fugue. Examples include Contrapunctus V through Contrapunctus VII, from Bach's The Art of Fugue. During the Baroque period, counter-fugues were sometimes called by the Latin name fuga contraria. German composer Johann Mattheson coined the term gegenfuge to refer to a counter-fugue construct in his Der vollkommene Capellmeister (1739), and some German-language texts use that name to refer to a counter-fugue.

### Permutation fugue

Permutation fugue describes a type of composition (or technique of composition) in which elements of fugue and strict canon are combined. Each voice enters in succession with the subject, each entry alternating between tonic and dominant, and each voice, having stated the initial subject, continues by stating two or more themes (or countersubjects), which must be conceived in correct invertible counterpoint. (In other words, the subject and countersubjects must be capable of being played both above and below all the other themes without creating any unacceptable dissonances.) Each voice takes this pattern and states all the subjects/themes in the same order (and repeats the material when all the themes have been stated, sometimes after a rest).
There is usually very little non-structural/thematic material. During the course of a permutation fugue, it is quite uncommon, actually, for every single possible voice-combination (or "permutation") of the themes to be heard. This limitation exists in consequence of sheer proportionality: the more voices in a fugue, the greater the number of possible permutations. In consequence, composers exercise editorial judgment as to the most musical of permutations and processes leading thereto. One example of permutation fugue can be seen in the eighth and final chorus of J.S. Bach's cantata, Himmelskönig, sei willkommen, BWV 182.
Permutation fugues differ from conventional fugue in that there are no connecting episodes, nor statement of the themes in related keys. So for example, the fugue of Bach's Passacaglia and Fugue in C minor, BWV 582 is not purely a permutation fugue, as it does have episodes between permutation expositions. Invertible counterpoint is essential to permutation fugues but is not found in simple fugues.

### Fughetta

A fughetta is a short fugue that has the same characteristics as a fugue. Often the contrapuntal writing is not strict, and the setting less formal. See for example, variation 24 of Beethoven's Diabelli Variations Op. 120.

### Mirror fugue

A mirror fugue is a fugue, or rather two fugues, one of which is the mirror image of the other. It is as though a mirror were placed above or below an existing fugue, producing inversions of each interval in each part, as well as inverting the position of the parts within the texture, so that, for example, the topmost part in one fugue is inverted to produce the lowest part in the other. This is well demonstrated by the two four-part fugues of Contrapunctus 12 in The Art of Fugue.
The two three-part fugues of Contrapunctus 13 exhibit a similar relationship to each other, but this cannot strictly be called a mirror fugue, since the position of each inverted part is not itself inverted in the texture, SAB becoming not BAS, but BSA.

## History
### Middle Ages and Renaissance

The term fuga was used as far back as the Middle Ages, but was initially used to refer to any kind of imitative counterpoint, including canons, which are now thought of as distinct from fugues. Prior to the 16th century, fugue was originally a genre. It was not until the 16th century that fugal technique as it is understood today began to be seen in pieces, both instrumental and vocal. Fugal writing is found in works such as fantasias, ricercares and canzonas.
"Fugue" as a theoretical term first occurred in 1330 when Jacobus of Liege wrote about the fuga in his Speculum musicae. The fugue arose from the technique of "imitation", where the same musical material was repeated starting on a different note.
Gioseffo Zarlino, a composer, author, and theorist in the Renaissance, was one of the first to distinguish between the two types of imitative counterpoint: fugues and canons (which he called imitations). Originally, this was to aid improvisation, but by the 1550s, it was considered a technique of composition. The composer Giovanni Pierluigi da Palestrina (1525?–1594) wrote masses using modal counterpoint and imitation, and fugal writing became the basis for writing motets as well. Palestrina's imitative motets differed from fugues in that each phrase of the text had a different subject which was introduced and worked out separately, whereas a fugue continued working with the same subject or subjects throughout the entire length of the piece.

### Baroque era

It was in the Baroque period that the writing of fugues became central to composition, in part as a demonstration of compositional expertise. Jan Pieterszoon Sweelinck, Girolamo Frescobaldi, Johann Jakob Froberger and Dieterich Buxtehude all wrote fugues.
Fugues were incorporated into a variety of musical genres, and are found in most of George Frideric Handel's oratorios. Keyboard suites from this time often conclude with a fugal gigue. Domenico Scarlatti has only a few fugues among his corpus of over 500 harpsichord sonatas. The French overture featured a quick fugal section after a slow introduction. The second movement of a sonata da chiesa, as written by Arcangelo Corelli and others, was usually fugal.
The Baroque period also saw a rise in the importance of music theory. Some fugues during the Baroque period were pieces designed to teach contrapuntal technique to students. The most influential text was Johann Joseph Fux's Gradus Ad Parnassum ("Steps to Parnassus"), which appeared in 1725. This work laid out the terms of "species" of counterpoint, and offered a series of exercises to learn fugue writing. Fux's work was largely based on the practice of Palestrina's modal fugues. Mozart studied from this book, and it remained influential into the nineteenth century. Haydn, for example, taught counterpoint from his own summary of Fux and thought of it as the basis for formal structure.
Bach's most famous fugues are those for the harpsichord in The Well-Tempered Clavier, which many composers and theorists look at as the greatest model of fugue. The Well-Tempered Clavier comprises two volumes written in different times of Bach's life, each comprising 24 prelude and fugue pairs, one for each major and minor key. Bach is also known for his organ fugues, which are usually preceded by a prelude or toccata. The Art of Fugue, BWV 1080, is a collection of fugues (and four canons) on a single theme that is gradually transformed as the cycle progresses. Bach also wrote smaller single fugues and put fugal sections or movements into many of his more general works. J.S. Bach's influence extended forward through his son C.P.E. Bach and through the theorist Friedrich Wilhelm Marpurg (1718–1795) whose Abhandlung von der Fuge ("Treatise on the fugue", 1753) was largely based on J.S. Bach's work.

### Classical era

During the Classical era, the fugue was no longer a central or even fully natural mode of musical composition. Nevertheless, both Haydn and Mozart had periods of their careers in which they in some sense "rediscovered" fugal writing and used it frequently in their work.

#### Haydn

Joseph Haydn was the leader of fugal composition and technique in the Classical era. Haydn's most famous fugues can be found in his "Sun" Quartets (op. 20, 1772), of which three have fugal finales. This was a practice that Haydn repeated only once later in his quartet-writing career, with the finale of his String Quartet, Op. 50 No. 4 (1787). Some of the earliest examples of Haydn's use of counterpoint, however, are in three symphonies (No. 3, No. 13, and No. 40) that date from 1762 to 1763. The earliest fugues, in both the symphonies and in the Baryton trios, exhibit the influence of Joseph Fux's treatise on counterpoint, Gradus ad Parnassum (1725), which Haydn studied carefully.
Haydn's second fugal period occurred after he heard, and was greatly inspired by, the oratorios of Handel during his visits to London (1791–1793, 1794–1795). Haydn then studied Handel's techniques and incorporated Handelian fugal writing into the choruses of his mature oratorios The Creation and The Seasons, as well as several of his later symphonies, including No. 88, No. 95, and No. 101; and the late string quartets, Opus 71 no. 3 and (especially) Opus 76 no. 6.

#### Mozart

The young Wolfgang Amadeus Mozart studied counterpoint with Padre Martini in Bologna. Under the employment of Archbishop Colloredo, and the musical influence of his predecessors and colleagues such as Johann Ernst Eberlin, Anton Cajetan Adlgasser, Michael Haydn, and his own father, Leopold Mozart at the Salzburg Cathedral, the young Mozart composed ambitious fugues and contrapuntal passages in Catholic choral works such as Mass in C minor, K. 139 "Waisenhaus" (1768), Mass in C major, K. 66 "Dominicus" (1769), Mass in C major, K. 167 "in honorem Sanctissimae Trinitatis" (1773), Mass in C major, K. 262 "Missa longa" (1775), Mass in C major, K. 337 "Solemnis" (1780), various litanies, and vespers. Leopold admonished his son openly in 1777 that he not forget to make public demonstration of his abilities in "fugue, canon, and contrapunctus". Later in life, the major impetus to fugal writing for Mozart was the influence of Baron Gottfried van Swieten in Vienna around 1782. Van Swieten, during diplomatic service in Berlin, had taken the opportunity to collect as many manuscripts by Bach and Handel as he could, and he invited Mozart to study his collection and encouraged him to transcribe various works for other combinations of instruments. Mozart was evidently fascinated by these works and wrote a set of five transcriptions for string quartet, K. 405 (1782), of fugues from Bach's Well-Tempered Clavier, introducing them with preludes of his own. In a letter to his sister Nannerl Mozart, dated in Vienna on 20 April 1782, Mozart recognizes that he had not written anything in this form, but moved by his wife's interest he composed one piece, which is sent with the letter. He begs her not to let anybody see the fugue and manifests the hope to write five more and then present them to Baron van Swieten. Regarding the piece, he said "I have taken particular care to write andante maestoso upon it, so that it should not be played fast – for if a fugue is not played slowly the ear cannot clearly distinguish the new subject as it is introduced and the effect is missed". Mozart then set to writing fugues on his own, mimicking the Baroque style. These included a fugue in C minor, K. 426, for two pianos (1783). Later, Mozart incorporated fugal writing into his opera Die Zauberflöte and the finale of his Symphony No. 41.
The parts of the Requiem he completed also contain several fugues (most notably the Kyrie, and the three fugues in the Domine Jesu; he also left behind a sketch for an Amen fugue which, some believe, would have come at the end of the Sequentia).

#### Beethoven

Ludwig van Beethoven was familiar with fugal writing from childhood, as an important part of his training was playing from The Well-Tempered Clavier. During his early career in Vienna, Beethoven attracted notice for his performance of these fugues. There are fugal sections in Beethoven's early piano sonatas, and fugal writing is to be found in the second and fourth movements of the Eroica Symphony (1805). Beethoven incorporated fugues in his sonatas, and reshaped the episode's purpose and compositional technique for later generations of composers.
Nevertheless, fugues did not take on a truly central role in Beethoven's work until his late period. The finale of Beethoven's Hammerklavier Sonata contains a fugue, which was practically unperformed until the late 19th century, due to its tremendous technical difficulty and length. The last movement of his Cello Sonata, Op. 102 No. 2 is a fugue, and there are fugal passages in the last movements of his Piano Sonatas in A major, Op. 101 and A♭ major Op. 110. According to Charles Rosen, "With the finale of 110, Beethoven re-conceived the significance of the most traditional elements of fugue writing."
Fugal passages are also found in the Missa Solemnis and all movements of the Ninth Symphony, except the third. A massive, dissonant fugue forms the finale of his String Quartet, Op. 130 (1825); the latter was later published separately as Op. 133, the Große Fuge ("Great Fugue"). However, it is the fugue that opens Beethoven's String Quartet in C♯ minor, Op. 131 that several commentators regard as one of the composer's greatest achievements. Joseph Kerman (1966, p. 330) calls it "this most moving of all fugues". J. W. N. Sullivan (1927, p. 235) hears it as "the most superhuman piece of music that Beethoven has ever written." Philip Radcliffe (1965, p. 149) says "[a] bare description of its formal outline can give but little idea of the extraordinary profundity of this fugue ."

### Romantic era

By the beginning of the Romantic era, fugue writing had become specifically attached to the norms and styles of the Baroque. Felix Mendelssohn wrote many fugues inspired by his study of the music of Johann Sebastian Bach.
Johannes Brahms' Variations and Fugue on a Theme by Handel, Op. 24, is a work for solo piano written in 1861. It consists of a set of twenty-five variations and a concluding fugue, all based on a theme from George Frideric Handel's Harpsichord Suite No. 1 in B♭ major, HWV 434.
Franz Liszt's Piano Sonata in B minor (1853) contains a powerful fugue, demanding incisive virtuosity from its player:
Richard Wagner included several fugues in his opera Die Meistersinger von Nürnberg. Giuseppe Verdi included a whimsical example at the end of his opera Falstaff and his setting of the Requiem Mass contained two (originally three) choral fugues. Anton Bruckner and Gustav Mahler also included them in their respective symphonies. The exposition of the finale of Bruckner's Symphony No. 5 begins with a fugal exposition. The exposition ends with a chorale, the melody of which is then used as a second fugal exposition at the beginning of the development. The recapitulation features both fugal subjects concurrently. The finale of Mahler's Symphony No. 5 features a "fugue-like" passage early in the movement, though this is not actually an example of a fugue.

### 20th century

Twentieth-century composers brought fugue back to its position of prominence, realizing its uses in full instrumental works, its importance in development and introductory sections, and the developmental capabilities of fugal composition.
The second movement of Maurice Ravel's piano suite Le Tombeau de Couperin (1917) is a fugue that Roy Howat (200, p. 88) describes as having "a subtle glint of jazz".
Béla Bartók's Music for Strings, Percussion and Celesta (1936) opens with a slow fugue that Pierre Boulez (1986, pp. 346–47) regards as "certainly the finest and most characteristic example of Bartók's subtle style... probably the most timeless of all Bartók's works – a fugue that unfolds like a fan to a point of maximum intensity and then closes, returning to the mysterious atmosphere of the opening." The second movement of Bartók's Sonata for Solo Violin is a fugue, and the first movement of his Sonata for Two Pianos and Percussion contains a fugato.
Schwanda the Bagpiper (Czech: Švanda dudák), written in 1926, an opera in two acts (five scenes), with music by Jaromír Weinberger, includes a Polka followed by a powerful Fugue based on the Polka theme.
Igor Stravinsky also incorporated fugues into his works, including the Symphony of Psalms and the Dumbarton Oaks concerto. Stravinsky recognized the compositional techniques of Bach, and in the second movement of his Symphony of Psalms (1930), he lays out a fugue that is much like that of the Baroque era. It employs a double fugue with two distinct subjects, the first beginning in C and the second in E♭. Techniques such as stretto, sequencing, and the use of subject incipits are frequently heard in the movement. Dmitri Shostakovich's 24 Preludes and Fugues is the composer's homage to Bach's two volumes of The Well-Tempered Clavier. In the first movement of his Fourth Symphony, starting at rehearsal mark 63, is a gigantic fugue in which the 20-bar subject (and tonal answer) consist entirely of semiquavers, played at the speed of quaver = 168.
Olivier Messiaen, writing about his Vingt regards sur l'enfant-Jésus (1944) wrote of the sixth piece of that collection, "Par Lui tout a été fait" ("By Him were all things made"):
   It expresses the Creation of All Things: space, time, stars, planets – and the Countenance (or rather, the Thought) of God behind the flames and the seething – impossible even to speak of it, I have not attempted to describe it ... Instead, I have sheltered behind the form of the Fugue. Bach's Art of Fugue and the fugue from Beethoven's Opus 106 (the Hammerklavier sonata) have nothing to do with the academic fugue. Like those great models, this one is an anti-scholastic fugue.
György Ligeti wrote a five-part double fugue for his Requiem's second movement, the Kyrie, in which each part (SMATB) is subdivided in four-voice "bundles" that make a canon. The melodic material in this fugue is totally chromatic, with melismatic (running) parts overlaid onto skipping intervals, and use of polyrhythm (multiple simultaneous subdivisions of the measure), blurring everything both harmonically and rhythmically so as to create an aural aggregate, thus highlighting the theoretical/aesthetic question of the next section as to whether fugue is a form or a texture. According to Tom Service, in this work, Ligeti
   takes the logic of the fugal idea and creates something that's meticulously built on precise contrapuntal principles of imitation and fugality, but he expands them into a different region of musical experience. Ligeti doesn't want us to hear individual entries of the subject or any subject, or to allow us access to the labyrinth through listening in to individual lines… He creates instead a vastly dense texture of voices in his choir and orchestra, a huge stratified slab of terrifying visionary power. Yet this is music that's made with a fine craft and detail of a Swiss clock maker. Ligeti's so-called 'micro-polyphony': the many voicedness of small intervals at small distances in time from one another is a kind of conjuring trick. At the micro level of the individual lines, and there are dozens and dozens of them in this music...there's an astonishing detail and finesse, but the overall macro effect is a huge overwhelming and singular experience.
Benjamin Britten used a fugue in the final part of The Young Person's Guide to the Orchestra (1946). The Henry Purcell theme is triumphantly cited at the end, making it a choral fugue.
Canadian pianist and musical thinker Glenn Gould composed So You Want to Write a Fugue?, a full-scale fugue set to a text that cleverly explicates its own musical form.

### Outside classical music

Fugues (or fughettas/fugatos) have been incorporated into genres outside Western classical music. Several examples exist within jazz, such as Bach goes to Town, composed by the Welsh composer Alec Templeton and recorded by Benny Goodman in 1938, and Concorde composed by John Lewis and recorded by the Modern Jazz Quartet in 1955.
In "Fugue for Tinhorns" from the Broadway musical Guys and Dolls, written by Frank Loesser, the characters Nicely-Nicely, Benny, and Rusty sing simultaneously about hot tips they each have in an upcoming horse race.
In "West Side Story", the dance sequence following the song "Cool" is structured as a fugue. Interestingly, Leonard Bernstein quotes Beethoven's monumental "Große Fuge" for string quartet and employs Arnold Schoenberg's twelve tone technique, all in the context of a jazz infused Broadway show stopper.
A few examples also exist within progressive rock, such as the central movement of "The Endless Enigma" by Emerson, Lake & Palmer and "On Reflection" by Gentle Giant.
On their EP of the same name, Vulfpeck has a composition called "Fugue State", which incorporates a fugue-like section between Theo Katzman (guitar), Joe Dart (bass), and Woody Goss (Wurlitzer keyboard).
The composer Matyas Seiber included an atonal or twelve-tone fugue, for flute trumpet and string quartet, in his score for the 1953 film Graham Sutherland
The film composer John Williams includes a fugue in his score for the 1990 film, Home Alone, at the point where Kevin, accidentally left at home by his family, and realizing he is about to be attacked by a pair of bumbling burglars, begins to plan his elaborate defenses. Another fugue occurs at a similar point in the 1992 sequel film, Home Alone 2: Lost in New York.
The jazz composer and film composer, Michel Legrand, includes a fugue as the climax of his score (a classical theme with variations, and fugue) for Joseph Losey's 1972 film The Go-Between, based on the 1953 novel by British novelist, L.P. Hartley, as well as several times in his score for Jacques Demy's 1970 film Peau d'âne.

## Discussion
### Musical form or texture

A widespread view of the fugue is that it is not a musical form but rather a technique of composition.
The Austrian musicologist Erwin Ratz argues that the formal organization of a fugue involves not only the arrangement of its theme and episodes, but also its harmonic structure. In particular, the exposition and coda tend to emphasize the tonic key, whereas the episodes usually explore more distant tonalities. Ratz stressed, however, that this is the core, underlying form ("Urform") of the fugue, from which individual fugues may deviate.
Although certain related keys are more commonly explored in fugal development, the overall structure of a fugue does not limit its harmonic structure. For example, a fugue may not even explore the dominant, one of the most closely related keys to the tonic. Bach's Fugue in B♭ major from Book 1 of the Well Tempered Clavier explores the relative minor, the supertonic and the subdominant. This is unlike later forms such as the sonata, which clearly prescribes which keys are explored (typically the tonic and dominant in an ABA form). Then, many modern fugues dispense with traditional tonal harmonic scaffolding altogether, and either use serial (pitch-oriented) rules, or (as the Kyrie/Christe in György Ligeti's Requiem, Witold Lutosławski works), use panchromatic, or even denser, harmonic spectra.

### Perceptions and aesthetics

The fugue is the most complex of contrapuntal forms. In Ratz's words, "fugal technique significantly burdens the shaping of musical ideas, and it was given only to the greatest geniuses, such as Bach and Beethoven, to breathe life into such an unwieldy form and make it the bearer of the highest thoughts." In presenting Bach's fugues as among the greatest of contrapuntal works, Peter Kivy points out that "counterpoint itself, since time out of mind, has been associated in the thinking of musicians with the profound and the serious" and argues that "there seems to be some rational justification for their doing so."
This is related to the idea that restrictions create freedom for the composer, by directing their efforts. He also points out that fugal writing has its roots in improvisation, and was, during the Renaissance, practiced as an improvisatory art. Writing in 1555, Nicola Vicentino, for example, suggests that:
   the composer, having completed the initial imitative entrances, take the passage which has served as accompaniment to the theme and make it the basis for new imitative treatment, so that "he will always have material with which to compose without having to stop and reflect". This formulation of the basic rule for fugal improvisation anticipates later sixteenth-century discussions which deal with the improvisational technique at the keyboard more extensively.