A critical step toward uncovering generalizable patterns of phenotype-niche relationships is understanding how functional traits have evolved as species occupy new habitats. Ecomorphological traits impact how organisms function in their environment and are predictive of habitat use and niche. Studying ecomorphological variation in the context of strong environmental filtering can provide opportunities to understand the role of convergent evolution in forming trait-habitat use patterns. By integrating a molecular phylogeny, habitat use, and morphometrics, this study aimed to understand the role of ancestry and convergent evolution in ecomorphological trait evolution. This study examined these processes using an assemblage of 79 species in the ground beetle genus