Passacaglia and Fugue in C minor (BWV 582) is an organ piece by Johann Sebastian Bach. Presumably composed early in Bach's career, it is one of his most important and well-known works, and an important influence on 19th and 20th century passacaglias:Robert Schumann described the variations of the passacaglia as "intertwined so ingeniously that one can never cease to be amazed."
The autograph manuscript of BWV 582 is currently considered lost; the work, as is typical for Bach's and contemporary composers' works, is known only through a number of copies. There is some evidence that the original was notated in organ tablature. It is not known precisely when Bach composed the work, but the available sources point to the period between 1706 and 1713. It is possible that BWV 582 was composed in Arnstadt soon after Bach's return from Lübeck (where he may have studied Buxtehude's ostinato works).
The first half of the passacaglia's ostinato, which also serves as the fugue's main subject, was most probably taken from a short work by the French composer André Raison, Christe: Trio en passacaille from Messe du deuxieme ton of the Premier livre d'orgue. It is possible that the second half of the ostinato was also taken from Raison, the bass line of Christe: Trio en chaconne of Messe du sixieme ton of the same publication is very similar. See Example 1 for Bach's and Raison's themes.
However, some scholars dispute Raison's influence. Bach's work shares some features with north German ostinato works, most notably Buxtehude's two chaconnes (BuxWV 159 and 160) and a passacaglia (BuxWV 161), and there is clear influence of Pachelbel's chaconnes in several variations and the overall structure.
The passacaglia is in 3/4 time typical of the form. Bach's ostinato comprises eight bars, which is unusual but not unheard of: an ostinato of the same length is used, for example, in Johann Krieger's organ passacaglia. The opening of the piece, which consists of the ostinato stated in the pedal with no accompaniment from the manuals, is slightly more unusual, although this idea also occurs elsewhere, and may even have been used by Buxtehude.