Cortes de la Frontera is a town and municipality in the province of Málaga, part of the autonomous community of Andalusia in southern Spain.
The municipality stretches along a south-west to north-east axis. It lies approximately 40 km from Ronda, 20 km from Benaoján and 159 km from the provincial capital, Málaga.