AbstractAimHow species respond to ongoing climate change has been a hot research topic, especially with the controversy in shifting range (movement) or persisting in local habitat (in situ) as the primary response. Assessing the relative roles of range shifts, phenotypic plasticity and genetic adaptation helps us predict the evolutionary fate of species. We aim to explore the evolutionary strategies of plants under climate change from a keystone herb in alpine ecosystems,Mirabilis himalaica, along its elevational gradient.LocationHimalaya‐Hengduan Mountains, China.MethodsWe combined evidence from population genomics and ecological data in both space and time to investigate the state of “staying” or “moving”. We identified migration events by assessing historical and contemporary gene flow and changes in species distribution. Morphological variation was compared by measuring five traits using specimen data. Moreover, we explored climate‐driven genetic variation and local selection regimes acting on populations in the alpine landscape along an elevational gradient.ResultsOur results argue that staying in situ by morphological variation and local genetic evolution rather than range shifting plays an important role inM. himalaicaresponse to climate change. We first found trace evidence of upward or climatic‐driven shifting along an elevational gradient, although asymmetric gene flow was restricted within microenvironments of mid‐elevational populations. Furthermore, morphological variation comparisons revealed clinal variation, as resource allocation showed a declining pattern in vegetative growth but increased reproductive growth with increasing elevation. Outlier tests and environment association analyses indicated adaptative loci primarily related to thermal‐driven selection and continuous adaptations to high elevation in the Himalaya‐Hengduan Mountains.Main ConclusionsOur findings showM. himalaicamay persist in local habitats rather than shifting range under climate change, exhibiting a low risk of genomic vulnerability in current habitats. This study has important implications in improving our understanding of the evolutionary response in alpine plants to climate change.