Woodpeckers as primary cavity nesters are key-stone species of forest ecosystems, many of which are annexed in the Birds Directive of the European Union. Our aim was to map the population of woodpeckers on 4 point transects passing through six habitat types (coniferous, mixed and deciduous forest, grasslands, urban habitat and quarry). By analyzing the occurrence data of woodpeckers, we found out which habitats they prefer the most and how the selected stand characteristics affect their occurrence. Woodpeckers are considered umbrella species, so knowledge of their habitat requirements is essential for their conservancy as well as the conservancy of all organisms that share similar environmental requirements. In the studied area, we found 8 woodpecker species in the number of 176 individuals. By Principal component analysis, we determined the relationship of woodpeckers to habitat. Picus viridis was primarily tied to urban habitats. Jynx torquilla was associated with grasslands and urban habitat. The species Picus canus, Dendrocpos medius, D. minor, D. major and Dryocopus martius were mainly associated with the forest, where they reached the highest abundances. All woodpecker species preferred deciduous forests older than 100 years and with a stand diameter greater than 30 cm. In the studied area, Picus canus reached a density 0.85 pairs/100 ha and Picus viridis 2.49 pairs/100 ha.