Climate change is expected to alter habitat more rapidly than the pace of evolution, leading to tree populations that are maladapted to new local conditions. Assisted migration is a mitigation strategy that proposes preemptively identifying and planting genotypes that are robust to the expected climate change-induced alterations of an area. Assisted migration however, may impact the broader community, including herbivores which often coevolved with local plant genotypes and their defenses. Although this question has been examined in arthropod herbivores, few studies have assessed this question in mammalian herbivores, and fewer still have leveraged experimental design to disentangle the genetic contribution to herbivore preference.We examined the hypothesis that North American porcupine (Erethizon dorsatum) browsing on Fremont cottonwood (Populus fremontii) is under genetic control in a common garden, which allowed us to uncouple genetic and environmental contributions to browse preference.Generally, porcupines selected local trees and trees from climatically similar areas, where trees from local and cooler climate populations suffered over 2x more extensive herbivory than trees from warmer areas. Plant genotype was a significant factor for selection, with the most heavily browsed genotype having on average >10x more herbivory than the least heavily browsed. Because genotypes within and among populations were replicated, we calculated broad-sense heritability in which tree palatability by porcupines was H2B = 0.28 (95% CI: 0.13-0.48) among genotypes.Synthesis and applications. Our results indicate a genetic component to tree defenses against porcupine herbivory that can be predicted by the climate of the source population. This result has important implications for mammalian herbivores if climate change renders local tree genotypes maladaptive to new conditions. We recommend assisted migration efforts consider this implication and plant stock from both warmer and climatically similar areas to maintain genetic diversity in a changing environment, productivity and forage for mammalian herbivores.