Abstract. This study aims to assess the abundance and diversity of Cerambycid beetles (Coleoptera: Cerambycidae) in different types of habitats (urbanized, natural oak forest, herbaceous and mixed forest) of the Zselic region in Hungary. Beetles were collected by sweep netting and hand collecting. Species richness and diversity were analyzed for the different habitats. Temporal data also contributed to a better knowledge of the flight period and ecology of the captured species and specimens. A total of 69 species were identified during the sampling period (2009–2013). The period of adult flight activity was from the second week of May until the second week of June. Plagionotus arcuatus L., Dorcadion aethiops Scopoli and Strangalia melanura Fabricius were the most abundant species. The most diverse habitat type was mixed forest (Simpson Index= 0.9443; Shannon Index= 1.4373), and the least diverse one was the urbanized environment (Simpson Index= 0.4141; Shannon Index= 0.5111). The differences in diversity might be explained by the heterogeneity of potential host plants available in the different habitats. Correspondence and cluster analyses revealed that different habitats were associated with distinct beetle assemblages. Certain Cerambycidae species are associated with certain habitats, although some species might be present in several types of habitats due to their lower plant specificity.