Cartajima is a small village and municipality in the province of Málaga, within the autonomous community of Andalusia in southern Spain. It lies roughly 17 kilometres from Ronda and about 105 kilometres from the provincial capital, Málaga.
The municipality covers a total area of 21.47 square kilometres. As of 2019, its population stood at 253, making it one of the smaller settlements in the region.