
''The Well-Tempered Clavier'',
BWV
The (BWV; ; ) is a catalogue of compositions by Johann Sebastian Bach. It was first published in 1950, edited by Wolfgang Schmieder. The catalogue's second edition appeared in 1990. An abbreviated version of that second edition, known as BWV ...
846–893, consists of two sets of
preludes and fugues
{{Unreferenced, date=June 2019, bot=noref (GreenC bot)
The prelude and fugue is a musical form generally consisting of two movements in the same key for solo keyboard. In classical music, the combination of prelude and fugue is one with a long hist ...
in
all 24 major and minor keys for keyboard by
Johann Sebastian Bach
Johann Sebastian Bach (28 July 1750) was a German composer and musician of the late Baroque period. He is known for his orchestral music such as the ''Brandenburg Concertos''; instrumental compositions such as the Cello Suites; keyboard wo ...
. In the composer's time, ''clavier'', meaning keyboard, referred to a variety of instruments, most typically the
harpsichord
A harpsichord ( it, clavicembalo; french: clavecin; german: Cembalo; es, clavecín; pt, cravo; nl, klavecimbel; pl, klawesyn) is a musical instrument played by means of a musical keyboard, keyboard. This activates a row of levers that turn a ...
or
clavichord
The clavichord is a stringed rectangular keyboard instrument that was used largely in the Late Middle Ages, through the Renaissance, Baroque and Classical eras.
Historically, it was mostly used as a practice instrument and as an aid to composit ...
, but not excluding the organ.
The modern German spelling for the collection is ' (WTK; ). Bach gave the title ' to a book of preludes and fugues in all 24 keys, major and minor, dated 1722, composed "for the profit and use of musical youth desirous of learning, and especially for the pastime of those already skilled in this study". Some 20 years later, Bach compiled a second book of the same kind (24 pairs of preludes and fugues), which became known as ''The Well-Tempered Clavier'', Part Two (in German: ''Zweyter Theil'', modern spelling: ''Zweiter Teil'').
Modern editions usually refer to both parts as ''The Well-Tempered Clavier, Book I'' (WTC I) and ''The Well-Tempered Clavier, Book II'' (WTC II), respectively.
The collection is generally regarded as one of the most important works in the history of classical music.
Composition history

Each set contains twenty-four pairs of prelude and fugue. The first pair is in
C major
C major (or the key of C) is a major scale based on C, consisting of the pitches C, D, E, F, G, A, and B. C major is one of the most common keys used in music. Its key signature has no flats or sharps. Its relative minor is A minor a ...
, the second in
C minor
C minor is a minor scale based on C, consisting of the pitches C, D, E, F, G, A, and B. Its key signature consists of three flats. Its relative major is E major and its parallel major is C major.
The C natural minor scale is:
:
...
, the third in
C major
C major (or the key of C) is a major scale based on C, consisting of the pitches C, D, E, F, G, A, and B. C major is one of the most common keys used in music. Its key signature has no flats or sharps. Its relative minor is A minor a ...
, the fourth in
C minor
C minor is a minor scale based on C, consisting of the pitches C, D, E, F, G, A, and B. Its key signature consists of three flats. Its relative major is E major and its parallel major is C major.
The C natural minor scale is:
:
...
, and so on. The rising
chromatic
Diatonic and chromatic are terms in music theory that are most often used to characterize scales, and are also applied to musical instruments, intervals, chords, notes, musical styles, and kinds of harmony. They are very often used as a ...
pattern continues until every key has been represented, finishing with a
B minor
B minor is a minor scale based on B, consisting of the pitches B, C, D, E, F, G, and A. Its key signature has two sharps. Its relative major is D major and its parallel major is B major.
The B natural minor scale is:
:
Changes need ...
fugue. The first set was compiled in 1722 during Bach's appointment in
Köthen, the second followed 20 years later in 1742 while he was in
Leipzig
Leipzig ( , ; Upper Saxon: ) is the most populous city in the German state of Saxony. Leipzig's population of 605,407 inhabitants (1.1 million in the larger urban zone) as of 2021 places the city as Germany's eighth most populous, as ...
.
Bach recycled some of the preludes and fugues from earlier sources: the 1720 ''
Klavierbüchlein für Wilhelm Friedemann Bach
''Klavierbüchlein für Wilhelm Friedemann Bach'' (Bach's original spelling: ''Clavier-Büchlein vor Wilhelm Friedemann Bach'') is a collection of keyboard music compiled by the German Baroque composer Johann Sebastian Bach for his eldest son ...
'', for instance, contains versions of eleven of the preludes of the first book of the ''Well-Tempered Clavier''. The C major prelude and fugue in book one was originally in C major – Bach added a
key signature
In Western musical notation, a key signature is a set of sharp (), flat (), or rarely, natural () symbols placed on the staff at the beginning of a section of music. The initial key signature in a piece is placed immediately after the clef a ...
of seven
sharps and adjusted some
accidentals to convert it to the required key.
In Bach's own time just one similar collection was published, by
Johann Christian Schickhardt
Johann Christian Schickhardt (or Schikardt, c. 1682c. 25 March 1762) was a German composer and woodwind player.
Biography
Schickhardt was born in Braunschweig (Brunswick) and received his musical education at the Braunschweig-Wolfenbüttel court ...
(1681–1762), whose Op. 30 ''L'alphabet de la musique'', contained 24 sonatas in all keys for flute or violin and
basso continuo, and included a transposition scheme for
alto recorder
The alto recorder in F, also known as a treble (and, historically, as consort flute and common flute) is a member of the recorder family. Up until the 17th century the alto instrument was normally in G4 instead of F4.
The alto is between the ...
.
Precursors
Although the ''Well-Tempered Clavier'' was the first collection of fully worked keyboard pieces
in all 24 keys, similar ideas had occurred earlier. Before the advent of modern tonality in the late 17th century, numerous composers produced collections of pieces in all seven
modes:
Johann Pachelbel
Johann Pachelbel (baptised – buried 9 March 1706; also Bachelbel) was a German composer, organist, and teacher who brought the south German organ schools to their peak. He composed a large body of sacred and secular music, and his contrib ...
's magnificat fugues (composed 1695–1706),
Georg Muffat
Georg Muffat (1 June 1653 – 23 February 1704) was a Baroque composer and organist. He is best known for the remarkably articulate and informative performance directions printed along with his collections of string pieces ''Florilegium Primum'' ...
's ''Apparatus Musico-organisticus'' of 1690 and
Johann Speth
Johann (''Johannes'') Speth (9 November 1664 – after 1719) was a German organist and composer. He was born in Speinshart, some 150 km from Nuremberg, but spent most of his life in Augsburg, where he worked as cathedral organist for tw ...
's ''Ars magna'' of 1693 for example. Furthermore, some two hundred years before Bach's time,
equal temperament
An equal temperament is a musical temperament or tuning system, which approximates just intervals by dividing an octave (or other interval) into equal steps. This means the ratio of the frequencies of any adjacent pair of notes is the same, ...
was realized on plucked string instruments, such as the
lute
A lute ( or ) is any plucked string instrument with a neck and a deep round back enclosing a hollow cavity, usually with a sound hole or opening in the body. It may be either fretted or unfretted.
More specifically, the term "lute" can re ...
and the
theorbo
The theorbo is a plucked string instrument of the lute family, with an extended neck and a second pegbox. Like a lute, a theorbo has a curved-back sound box (a hollow box) with a wooden top, typically with a sound hole, and a neck extending out ...
, resulting in several collections of pieces in all keys (although the music was not yet tonal in the modern sense of the word):
* a cycle of 24
passamezzo–
saltarello pairs (1567) by (c.1520–c.1577)
* 24 groups of dances, "clearly related to 12 major and 12 minor keys" (1584) by
Vincenzo Galilei
Vincenzo Galilei (born 3 April 1520, Santa Maria a Monte, Italy died 2 July 1591, Florence, Italy) was an Italian lutenist, composer, and music theorist. His children included the astronomer and physicist Galileo Galilei and the lute virtuoso ...
(c.1528–1591)
* 30 preludes for 12-course lute or theorbo by
John Wilson John Wilson may refer to:
Academics
* John Wilson (mathematician) (1741–1793), English mathematician and judge
* John Wilson (historian) (1799–1870), author of ''Our Israelitish Origin'' (1840), a founding text of British Israelism
* John Wil ...
(1595–1674)
One of the earliest keyboard composers to realize a collection of organ pieces in successive keys was (1656–1740), who compiled one such cycle of preludes in 1682. His contemporary Johann Heinrich Kittel (1652–1682) also composed a cycle of 12 organ preludes in successive keys.
J.C.F. Fischer's ''
Ariadne musica neo-organoedum'' (published in 1702 and reissued 1715) is a set of 20 prelude-fugue pairs in ten major and nine minor keys and the
Phrygian mode
The Phrygian mode (pronounced ) can refer to three different musical modes: the ancient Greek ''tonos'' or ''harmonia,'' sometimes called Phrygian, formed on a particular set of octave species or scales; the Medieval Phrygian mode, and the moder ...
, plus five
chorale
Chorale is the name of several related musical forms originating in the music genre of the Lutheran chorale:
* Hymn tune of a Lutheran hymn (e.g. the melody of " Wachet auf, ruft uns die Stimme"), or a tune in a similar format (e.g. one of the ...
-based
ricercar
A ricercar ( , ) or ricercare ( , ) is a type of late Renaissance and mostly early Baroque instrumental composition. The term ''ricercar'' derives from the Italian verb which means 'to search out; to seek'; many ricercars serve a preludial funct ...
s. Bach knew the collection and borrowed some of the themes from Fischer for the ''Well-Tempered Clavier''. Other contemporary works include the treatise ''Exemplarische Organisten-Probe'' (1719) by
Johann Mattheson
Johann Mattheson (28 September 1681 – 17 April 1764) was a German composer, singer, writer, lexicographer, diplomat and music theorist.
Early life and career
The son of a prosperous tax collector, Mattheson received a broad liberal education ...
(1681–1764), which included 48
figured bass
Figured bass is musical notation in which numerals and symbols appear above or below (or next to) a bass note. The numerals and symbols (often accidentals) indicate intervals, chords, and non-chord tones that a musician playing piano, harpsi ...
exercises in all keys,
[ Karl Geiringer. ''The Bach Family: Seven Generations of Creative Genius'', pp. 268–269. Oxford University Press, 1954.] ''Partien auf das Clavier'' (1718) by
Christoph Graupner
Christoph Graupner (13 January 1683 – 10 May 1760) was a German composer and harpsichordist of late Baroque music who was a contemporary of Johann Sebastian Bach, Georg Philipp Telemann and George Frideric Handel.
Life
Born in Hartmannsdo ...
(1683–1760) with eight suites in successive keys, and
Friedrich Suppig Friedrich Suppig was an 18th-century music theorist and composer. Practically nothing is known about him or his life, or even if he was in fact a professional composer. He is known for two manuscripts; in one of which he discussed theoretical tun ...
's ''Fantasia'' from ''Labyrinthus Musicus'' (1722), a long and formulaic sectional composition ranging through all 24 keys which was intended for an
enharmonic keyboard An enharmonic keyboard is a musical keyboard, where enharmonically equivalent notes do not have identical pitches. A conventional keyboard has, for instance, only one key and pitch for C and D , but an enharmonic keyboard would have two differen ...
with 31 notes per octave and pure
major thirds.
Finally, a lost collection by