Biodiversity loss due to intensive timber production is a ubiquitous conservation issue across temperate and boreal forest ecosystems. Retention forestry, the retention of deadwood and old‐growth features within production forest, is one management strategy that has been implemented in various countries around the world to conserve a wide range of taxa within managed forests. The success and ecological implications of retention forestry are currently subject to intensive investigation and while some taxa like birds and insects have already been studied frequently, larger mammals have received less attention. Pine martens are one of the few larger mammals in central Europe preferring older forest and potentially profiting directly from deadwood retention as a consequence of implemented retention forestry. The goal of our study was to assess the response of European marten species to deadwood retention in montane mixed forests. Using marten detection rates from camera traps on 135 research plots we assessed the response of martens to deadwood at three different spatial scales using generalized linear mixed models. We found no effect of lying deadwood on marten detections at the plot scale (1 ha) or in a 10 m radius around the camera traps. However, we found a significant increase of marten detections if logs (> 10 cm in diameter) were directly in front and in view of the camera trap. Our results show that deadwood retention as a measure of retention forestry does affect microhabitat use of martens, but not stand selection during the growing season. Logs directly in view of the camera trap increase marten detection rates as martens choose to move and forage along fallen trees when they are available. When using camera trapping to collect data on martens, trap positioning in front of logs can heavily bias trapping results when unaccounted for.Keywords: beech marten, camera trapping, deadwood, logs, pine marten, retention forestry