Moriles is a town and municipality in the province of Córdoba, in the Andalusia region of southern Spain. It lies about 65 kilometres south of the provincial capital, Córdoba, at an altitude of 375 metres above sea level.
The municipality covers an area of roughly 20 square kilometres. In 2018 its population was 3,726, giving a population density of about 194 inhabitants per square kilometre.