Background: Climate heterogeneity not only indirectly shapes the genetic structures of plant populations, but also drives adaptive divergence by impacting demographic dynamics. The variable localized climate and topographic complexity of the Taihang Mountains make them a major natural boundary in Northern China that influences the divergence of organisms distributed in this region. Opisthopappus is an endemic genus of the Taihang Mountains that includes only two spatially partitioned species Opisthopappus longilobus and Opisthopappus taihangensis. For this study, potential major indicators were investigated to explore those associated with the genetic variations in Opisthopappus populations. Results: The findings revealed that a significant genetic differentiation existed between O. longilobus and O. taihangensis populations. All identified haplotypes/studied populations were divided into two distinct groups. The considerable variability was due not only to geographic factors, but also environmental variables. At approximately 13.2 Ma of the Middle Miocene, O. taihangensis differentiated from O. longilobus under a strengthening East Asian monsoon and global cooling. Subsequently, with the uplift of the Taihang Mountains, the complex topography further promoted the variation between the two species and populations. Among environmental factors, five climatic variables, isothermality (bio3), min temperature of coldest month (bio6), mean temperature of wettest quarter (bio8), precipitation of driest month (bio14) and precipitation of wettest quarter (bio16) were demonstrated to be critical toward shaping the genetic components and genetic differentiation of the Opisthopappus species. Moreover, bio6 and bio14 had more driving force than others.Conclusions: The temperature and precipitation of the Taihang Mountains during winter are the key environmental indicators responsible for the current genetic distribution. Our study revealed the importance of localized climatic events by taking the small-scale spatial effects of climate heterogeneity and its impacts on genetic variation into account.