Cantar de Mio Cid, Spanish epic poem of the mid-12th century, the earliest surviving monument of Spanish literature and generally considered one of the great medieval epics and one of the masterpieces of Spanish literature.
The poem tells of the fall from royal favour and the eventual vindication of the Castilian 11th-century noble and military leader Rodrigo Díaz de Vivar (1043–99), popularly known as the Cid, who became Spain’s national hero. The original manuscript of the poem, believed to have been composed about 1140, has been lost; the earliest existing copy, called Poema del Cid, dates from 1307.
Distinguished for its realistic tone and treatment of the historical setting and the topographical detail as well as for its imaginative poetic artistry, the poem caught the popular imagination and lived on in epic, chronicle, ballad, and drama. The theme, with many additions and variations, inspired numerous writers in Spain and elsewhere and helped to fix the popular conception of the Spanish character. Its best-known non-Spanish treatment is Pierre Corneille’s play Le Cid (1637), a landmark of French Neoclassical drama.