A string quartet is a musical ensemble of four string players – two violin players, a viola player and a cellist – or a piece written to be performed by such a group. The string quartet is one of the most prominent chamber ensembles in classical music, with most major composers, from the mid 18th century onwards, writing string quartets.
The string quartet was developed into its current form by the Austrian composer Joseph Haydn, with his works in the 1750s establishing the genre. Ever since Haydn's day the string quartet has been considered a prestigious form and represents one of the true tests of the composer's art. With four parts to play with, a composer working in anything like the classical key system has enough lines to fashion a full argument, but none to spare for padding. The closely related characters of the four instruments, moreover, while they cover in combination an ample compass of pitch, do not lend themselves to indulgence in purely colouristic effects. Thus, where the composer of symphonies commands the means for textural enrichment beyond the call of his harmonic discourse, and where the concerto medium offers the further resource of personal characterization and drama in the individual-pitted-against-the-mass vein, the writer of string quartets must perforce concentrate on the bare bones of musical logic. Thus, in many ways the string quartet is pre-eminently the dialectical form of instrumental music, the one most naturally suited to the activity of logical disputation and philosophical enquiry.
Quartet composition flourished in the Classical era, with Wolfgang Amadeus Mozart, Ludwig van Beethoven and Franz Schubert following Haydn in each writing a number of quartets. A slight slackening in the pace of quartet composition occurred in the later 19th century, in part due to a movement away from classical forms by composers such as Franz Liszt, Richard Wagner and Richard Strauss. Then it received a resurgence in the 20th Century with the Second Viennese School, Béla Bartók, Dmitri Shostakovich and Elliott Carter producing highly regarded examples of the genre. In the 21st century it remains an important and refined musical form.