Cabra, city, Córdoba provincia (province), in the comunidad autónoma (autonomous community) of Andalusia, southern Spain. It is picturesquely situated between the Sierras de las Carbas and de Montilla, southeast of Córdoba city.
Cabra has a ruined Moorish castle, and its parish church (the former cathedral) was originally a mosque. Called Baebro or Aegabro in ancient times, it was an important episcopal see under the Romans and Visigoths. Taken from the Moors by Ferdinand III of Castile in 1244, it was recaptured by them in 1331 and finally united to Christian Spain in the 15th century. Cabra manufactures bricks, pottery, and textiles, and wine and olive oil are processed there. Cattle raising is also an important economic activity. Pop. (2007 est.) mun., 21,087.