NextOnTrip

Castillo de Montemayor

Benahavís, Spain

About this place

Castillo de Montemayor stands on a hilltop above Benahavís, in the mountainous hinterland of the Costa del Sol (Málaga, Andalusia). Little remains beyond the ruins today, but the outline of its walls and its commanding position still make a strong impression — few spots in the region offer a longer view of the coastline.

Where does the fortress come from?

The first fortifications on this hill date back to the 10th century, during the Caliphate of Córdoba, when Al-Andalus was studded with hilltop strongholds guarding trade routes and the shoreline. Arabic sources refer to it as Hisn Munt Mayur, naming it among the more significant defensive points of the area.

The castle's best-documented episode involves Ibn Ayyub, a poet and writer who reinforced and expanded its fortifications toward the end of the 11th century and spent his final years there. He died within the walls in 1072 and was buried on site — a rare instance of a named historical figure tied directly to the fortress.

What role did the castle play?

Its elevated position gave Montemayor a major tactical edge. During the rivalries among the taifa kingdoms, it functioned as a lookout and defensive post controlling access to the coast. From its walls, more than a hundred kilometres of Spanish shoreline were visible — and still are — with the North African coast sometimes discernible on a clear day.

Following the Christian conquest, the castle was included in the Capitulations of Marbella. Once its inhabitants had been expelled, the fortress took on a new role, serving as a gathering point for the Duke of Arcos's troops during the Morisco rebellion. Before that, it had also helped defend the coast against corsair raids and Christian advances, holding out until it finally capitulated in 1485.

What will you find on site?

The ruins preserve a double ring of thick stone walls reinforced with square towers, a defensive layout typical of Andalusian hilltop fortresses from this period. Remnants of cisterns that once supplied the garrison with water during sieges can also be spotted among the stones. This isn't a restored castle with exhibits — it's authentic ruins, and walking among the walls and towers feels more like exploration than a museum visit.

How to get there and when to visit?

The hill with the ruins sits right next to Benahavís, one of the Costa del Sol's "white villages," roughly 20 minutes by car from Marbella and Puerto Banús. Access is on foot along an uphill trail — there's no road leading directly to the walls, so comfortable shoes and water are worth bringing. Spring and autumn offer the most comfortable climbing conditions; in summer, aim for early morning or late afternoon to avoid the heat and catch the best light over the coastline.

Frequently asked questions

Is the castle open to the public and free to visit? Yes, the ruins can be explored independently at no cost — it's an open historical site, not a ticketed museum.

How long does a visit take? The round trip on foot, plus time spent at the top, usually takes about 1–1.5 hours, depending on fitness and pace.

Is it suitable for visiting with children? The trail isn't technically difficult, but it climbs over uneven ground — with young children it's best to allow extra time and rest stops.

What can you see from the castle's viewpoint? On a clear day, the panorama stretches over a hundred kilometres of coastline, and the outline of the North African coast is sometimes visible too.

Nearby places

Earn badges for the places you visit

Download NextOnTrip, discover new places and check off your trails.