Stochasticity in food availability influences vital rates such as survival and fertility. Life-history theory predicts that in long-lived organisms, survival should be buffered against environmental stochasticity showing little temporal variability. Furthermore, to optimize survival prospects, many animal species perform migrations to wintering areas where food availability is larger. Species with large latitudinal distribution ranges may show populations that migrate and others that are resident, and they may co-occur in winter. One example of these species is the predatory raptor buzzard Buteo buteo. Here, we test whether temporal variability in the density of five small mammal species of prey inhabiting different habitats (shrubland and forests) influences local annual survival of buzzards in a wintering area depending on their age and residency status (residents versus wintering individuals). We found that prey density explained a considerable amount of annual changes in local survival, which was higher for older and resident birds. This difference in local survival likely corresponded to philopatry to the wintering area, which was larger for residents and increased when prey density was larger. The total density of prey inhabiting open shrublands was the variable explaining more variance in temporal variability of local survival, even though the study area is mostly occupied by woodlands. Temporal population dynamics of the different small mammals inhabiting shrublands were not synchronous, which suggests that buzzards preyed opportunistically on the most abundant prey each winter. Generalist predation may buffer the impact of resource unpredictability for pulsed and asynchronous prey dynamics, typical of small mammals in winter.