The pre-history in the municipality of Capdepera is well documented thanks to the existence of 41 archaeological deposits, which date back chronologically between the X y II centuries B.C., that is to say, between the pre-Talaiotic and Talaiotic periods.
The first written document in which the name of Cap de la Pera (Capdepera) appears is the book titled Llibre dels Feyts, more specifically in the chronicle which makes reference to the surrendering of the Arabs of Menorca in the Cap de la Pera. In the Tower of Nunis, situated in the interior of the castle walls, the Treaty of Capdepera was signed between the King Jaime I of Aragón and the Sheriff of Menorca. According to this treaty, Menorca continued to be under Muslim power, but submitted to a state of submission with respect to the King Jaime I and his successors. In the distribution of territories, the district of Yartan corresponded to the King who conceded the part of Capdepera to the Montsó and Nunis families.
The year 1300 the King Jaime II of Mallorca promulgated the Ordinacions where he ordered the construction of twelve villages in Mallorca. One of these was near “Cap de la Pedra” and so it became the walled precinct of Capdepera. The purpose of the Castle, the construction of a walled enclosure next to the watchtower of Miquel Nunis, was to group all the population which lived scattered in the area. The construction of the walls was finished towards the end of the XIV century.
As from the year 1820, with the conquest of Algiers by the French forces, piracy stopped and the strategic function and defence of Capdepera changed: The military people left the fortress and the inhabitants of the castle began to settle outside the walls and in much more comfortable and larger homes. At the end of the XVIII century there were only about twenty five inhabited dwellings left inside the enclosure and the new nucleus of population on the outside already consisted of more than two hundred dwellings.
In 1951 the building of the present docks of Cala Rajada were finished and in the decade of the sixties the touristic boom completely changed the economic structure of the municipality, which in turn brought many people from the mainland looking for work, which produced an important increase in the population.
In the year 1983 the Town Hall of Capdepera recuperated the ownership of the castle.
Capdepera has a very cut away relief and has quite a number of coves that accommodate well-known touristic centres such as Cala Rajada, Cala Mesquida, Cañamel and Font de Sa Cala.
Places of interest
The place which has maximum interest of the municipality for its antonomasia and for its spectacularity is its phenomenal castle. The urban nucleus of Capdepera as it is today, started as from the XVII century, from the moment that the inhabitants of the castle began to leave it and settle in the part around the foot of the hill. At the end of the XVIII century there were only twenty five inhabited homes within the precinct, whilst in the new nucleus of population located on the outside of the walls, there were already more than two hundred dwellings. Due to the reforms of the XVIII century impelled by the Spanish Monarchs, the surveillance and defence of the coastal areas came under the control of professional military forces. In this way the precinct was converted into a barracks under the authority of a Governor. From this time dates the house of the Governor, one of the few dwellings inside the castle that is still conserved due to the fact that the residents used the stones of the houses to build the new living quarters outside.