Weather is an important short-term, local driver of population size and dispersal, which in turn contribute to patterns of genetic diversity and differentiation within species. Climate change is leading to greater weather variability and more frequent extreme weather events. While the effects of long-term and broad-scale mean climate conditions on genetic variation are well studied, our understanding of the effects of weather variability and extreme conditions on genetic variation is less developed. We assessed the influence of temperature and snow depth on genetic diversity and differentiation of populations of the alpine butterfly, Parnassius smintheus. We examined the relationships between a suite of variables, including those representing extreme conditions, and population-level genetic diversity and differentiation across 1453 single nucleotide polymorphisms, using both linear and gravity models. We additionally examined effects of land cover variables known to influence dispersal and gene flow in this species. We found that extreme low temperature events and the lowest recorded mean snow depth were significant predictors of genetic diversity. Extreme low temperature events, mean snow depth and land cover resistance were significant predictors of genetic differentiation. These results are congruent with known effects of early winter weather on population size and habitat connectivity on dispersal in P. smintheus. Our results demonstrate the potential for changes in the frequency or magnitude of extreme weather events to alter patterns of genetic diversity and differentiation.