What is a Fugue Subject?

A fugue subject is the main melodic theme on which a fugue is built. It is usually a short, distinctive melody introduced at the beginning of the piece by a single voice and serves as the primary musical idea that is imitated and developed throughout the fugue.

The subject is carefully crafted to be recognizable and flexible, allowing it to be repeated, transposed, inverted, or rhythmically varied in different voices. Each subsequent entry of the subject in other voices—often at a different pitch level—helps create the polyphonic texture that defines a fugue.

The fugue subject is central to the structure of the composition, as it provides unity and coherence. Composers like Johann Sebastian Bach used subjects that were rhythmically and melodically strong, enabling complex contrapuntal development while maintaining a clear identity throughout the work.