Setenil de las Bodegas is a town in the province of Cádiz, Spain, famous for its dwellings built into rock overhangs above the Rio Trejo. According to the 2005 census, the city has a population of 3,016 inhabitants.

In the 13th century, under Ferdinand III, the Saint, Cordoba's Great Mosque was turned into a cathedral and new defensive structures, particularly the Alcázar de los Reyes Cristianos and the Torre Fortaleza de la Calahorra, were erected.