ContextMany carnivores are attracted to rugged terrain, rocky areas, and conspicuous relief features. However, most of the previous research is limited to general topographical habitat characteristics and rarely consider the effects of microhabitat characteristics.ObjectivesWe used the Eurasian lynx (Lynx lynx) as a model species to investigate the effects of microhabitat characteristics and human infrastructure on habitat selection. We also tested whether there is evidence for a functional response in habitat selection across a large gradient of habitat availability.MethodsWe developed a new approach for detecting rocky outcrops from airborne LiDAR data. In combination with other remote sensing techniques and GPS-telemetry data, we assessed lynx habitat selection and functional responses across two geologically contrasting areas in Europe.ResultsWe detected > 1 million rocky outcrops and confirmed their strong selection by lynx. Lynx also selected steep, rugged, and rocky areas, especially for day-resting sites. Furthermore, lynx avoided paths during the day but selected them and other linear anthropogenic infrastructure during the night, indicating the behaviour-specific impact of human infrastructure. We also observed a functional response in the selection of rocky and rugged areas, as lynx’ selection of such habitats increased with their lower availability. This highlights the importance of preserving such terrains, especially when they are rare in a landscape.ConclusionsOur results highlight the importance of incorporating remote sensing techniques and data on microhabitat features in animal habitat selection research. We also recommend caution when developing new infrastructure for human recreation or promoting its use near geomorphological features and in rugged terrain.