The castle was built to house a new village population as part of King Jaume II's strategy to consolidate power in the Balearic Islands.
The site was historically used as a refuge for the local population during frequent North African pirate attacks.
The Treaty of Capdepera was signed here in 1231, marking the surrender of the island of Menorca to the Crown of Aragon.
The chapel within the walls contains a 14th-century Gothic statue of the Mare de Déu de la Esperança, the town's patron saint.
After being demilitarized in 1854, the castle was auctioned off and passed through private ownership before being returned to the public.
The castle layout incorporates architectural elements from different centuries, reflecting its long history as both a residence and a fort.
The elevation of the site is approximately 159 meters above sea level, which provided a strategic vantage point for ancient communications.
The castle walls include the remains of several residential houses that existed when the fortress served as a functioning town.
Castell de Capdepera is a 14th-century walled fortification located on a hill overlooking the town of Capdepera in Mallorca. King Jaume II ordered the construction of the castle in 1300 to protect the local population and control the channel between Mallorca and Menorca. The site consists of a perimeter wall reinforced by several defensive towers and the 14th-century Gothic chapel of Mare de Déu de la Esperança. Throughout history, the site served as a vital strategic outpost for monitoring pirate raids. In the 18th century, it transitioned into a military barracks before being abandoned in the 19th century. Today, it remains one of the best-preserved medieval fortified enclosures in the Balearic Islands. Visitors can access the ramparts, which offer panoramic views of the coastal landscape and neighboring Menorca on clear days. Archaeological excavations have revealed evidence of earlier prehistoric and Islamic-era settlements on the same hill.
The highest point of the ramparts facing the sea, providing a full view of the town and the coastline.
Wear sturdy footwear with good grip, as the terrain within the castle grounds is steep, uneven, and made of cobblestones.
Visit during the early morning to avoid the midday sun, as there is limited shade once you are inside the ramparts.
Bring a pair of binoculars to better appreciate the long-distance coastal views and the details of the surrounding rural landscape.
Do not attempt the walk from the town in flip-flops, as the incline and stone paths are physically demanding.
Open daily throughout the year; limited access may occur during specific local festivals or private municipal events.
Maintain a respectful tone near the chapel and do not climb on the ancient, fragile stone walls.