There has recently been great interest in applying theoretical quantitative genetic models to empirical studies of evolution in wild populations. However, while classical models assume environmental constancy, most natural populations exist in variable environments. Here, we applied a novel analytical technique to a long-term study of birthweight in wild sheep and examined, for the first time, how variation in environmental quality simultaneously influences the strength of natural selection and the genetic basis of trait variability. In addition to demonstrating that selection and genetic variance vary dramatically across environments, our results show that environmental heterogeneity induces a negative correlation between these two parameters. Harsh environmental conditions were associated with strong selection for increased birthweight but low genetic variance, and vice versa. Consequently, the potential for microevolution in this population is constrained by either a lack of heritable variation (in poor environments) or by a reduced strength of selection (in good environments). More generally, environmental dependence of this nature may act to limit rates of evolution, maintain genetic variance, and favour phenotypic stasis in many natural systems. Assumptions of environmental constancy are likely to be violated in natural systems, and failure to acknowledge this may generate highly misleading expectations for phenotypic microevolution.