The Castle of Ocaive is located to the south-west of the town of Pedreguer, within its municipal area, on top of a crag at the foot of the "muntanya gran" a place with an important natural defence. It features an impressive vertical wall on the north and west faces. Although The site was occupied during the Bronze Age and Iberian period, the architectural structures found at its highest point date from Medieval times (13th-14th centuries). These consist of the remains of a quadrangular tower with a vaulted base and several rooms. On a lower level towards the east, there are the remains of a large rectangular cistern, built on the edge of the “albacar” (lower enclosure) from the Islamic period (12th-13th centuries).The views from the castle are impressive, showing its strategic location for the control of the territory. The castle of l´Ocaive (or Olocaiba in medieval documents) was the central element of a castral district that comprised approximately the current district of Pedreguer and part of that of Gata de Gorgos, in which there were several farmhouses that depended on the fortification for military and administrative purposes.
Archaeological excavations were carried out in 2018 and 2019. Subsequently some of the architectural structures were consolidated and restored. All These works have been possible thanks to investment by the Pedreguer Town Council and a grant from the ERDF Operational Programme 2014-2020 (2018/8193), of the European Union.