What is a Countersubject?

A countersubject is a secondary melodic idea that consistently accompanies the fugue subject after it has been introduced. Unlike the subject, which is the main theme, the countersubject provides contrapuntal interest and interacts with the subject in a complementary way throughout the fugue.

The countersubject is usually designed to work well in combination with the subject, maintaining consonant intervals and smooth voice leading. It often reappears whenever the subject or its answer enters in another voice, helping to create a rich, interwoven texture and reinforcing the fugue’s polyphonic structure.

Countersubjects are widely used in Baroque fugues, especially by composers like Johann Sebastian Bach. They allow the composer to develop the fugue more fully, providing melodic contrast and harmonic support while keeping the subject recognizable and central to the composition.