The second line walls, the keep tower and urban circus was also expanded in 1300 during the reign of King D. Denis. Little remains of the early medieval castle, and those remnants that do date to the period of the early Middle Ages, during the monarchy of King D. Dinis, when the walls and significant keep tower were constructed. Meanwhile, the barbican and other elements date from the reigns of King D. Ferdinand I and King D. John I, between the late 13th century and early 14th century.
In the 15th century, King D. Afonso V created the countship of Penamacor, bestowing it on D. Lopo de Albuquerque.
The 1496 Inquirição (Inquiries) refers to the existence of 389 inhabitant on the site.
The principal element was the 16th century keep tower, erroneously identified as a Torre de Vigia (lookout tower) by Landeiro (1982) and systematically characterized by other authors. Constructed in the reign of King D. Manuel, the rectangular structure included an elevated entrance over the ground with staircase. It was uniformly crowned by balcony with machicolations, a military solution which was relatively rare in Portugal, influenced by interventions in this century, and designed by local master mason João de Ortega, who added two circular corbels. Drawings by Duarte de Armas between 1509-1510, represent the walls around the settlement as an irregular polygon, that accompanied the contours of the terrain. The design also included an adarve decorated with merlons in the north, and a lower curtain of ruined exterior walls.