Climate warming and human landscape transformation during the Holocene resulted in environmental changes for wild animals. The last remnants of the European Pleistocene megafauna that survived into the Holocene were particularly vulnerable to changes in habitat. To track the response of habitat use and foraging of large herbivores to natural and anthropogenic changes in environmental conditions during the Holocene, we investigated carbon (δ13C) and nitrogen (δ15N) stable isotope composition in bone collagen of moose (Alces alces), European bison (Bison bonasus) and aurochs (Bos primigenius) in Central and Eastern Europe. We found strong variations in isotope compositions in the studied species throughout the Holocene and diverse responses to changing environmental conditions. All three species showed significant changes in their δ13C values reflecting a shift of foraging habitats from more open in the Early and pre‐Neolithic Holocene to more forest during the Neolithic and Late Holocene. This shift was strongest in European bison, suggesting higher plasticity, more limited in moose, and the least in aurochs. Significant increases of δ15N values in European bison and moose are evidence of a diet change towards more grazing, but may also reflect increased nitrogen in soils following deglaciation and global temperature increases. Among the factors explaining the observed isotope variations were time (age of samples), longitude and elevation in European bison, and time, longitude and forest cover in aurochs. None of the analysed factors explained isotope variations in moose. Our results demonstrate the strong influence of natural (forest expansion) and anthropogenic (deforestation and human pressure) changes on the foraging ecology of large herbivores, with forests playing a major role as a refugial habitat since the Neolithic, particularly for European bison and aurochs. We propose that high flexibility in foraging strategy was the key for survival of large herbivores in the changing environmental conditions of the Holocene.