Individual dietary specialization, where individuals occupy a subset of a populations wider dietary niche, is of key importance for species resilience towards environmental change. However, the ontogeny of individual specialization, as well as the underlying social learning, genetic, and environmental drivers remain poorly understood. Using a multigenerational dataset of female European brown bears (Ursus arctos) followed since birth, we discerned the relative contributions of social learning, genetic predisposition, environment forcings, and maternal effects to individual dietary specialization. Individual specialization varied from omnivorous to carnivorous diets spanning half a trophic position. The main determinants of this dietary specialization were maternal learning during rearing (11%), environmental similarity (12%), and maternal effects (11%), whereas the contribution of genetic heritability was negligible. Importantly, the offsprings trophic position closely resembled the trophic position of their mother during the first 3-4 years after separation from the mother, but this relationship ceased with increasing time since separation. Our study reveals that social learning and maternal effects are as important for individual dietary specialization as environmental forcings. We propose a tighter integration of social effects into future studies of range expansion and habitat selection under global change, that to date are mostly explained by environmental drivers.