How can we devise appropriate ways of studying later prehistoric rock art in its wider context, and how can we relate ancient images to the deposits of artefacts found on the same sites? This paper describes the methods adopted in recording a series of carved motifs within a cave located outside the defences of a Chalcolithic hillfort on the Spanish/Portuguese border in Castilla y Leon. It features two quite different series of images, located in separate chambers and divided from one another by a kind of tunnel. Excavation on an artificial terrace outside the cave mouth established a chronological sequence which could be applied to the contents of the different parts of the site. This work suggested that the outer chamber, which features a large number of cup-marks, might have been associated with domestic occupation of a kind found elsewhere on the mountain, whilst the elaborately decorated inner chamber was used over a shorter period and may have played a much more specialised role. Its initial use could have been for burial. In a final phase the entire cave saw the deposition of large numbers of artefacts before its entrance was blocked. Its distinctive layout and the organisation of the decoration suggest that by the 2nd millennium bc it was considered as a natural passage grave