Patterns of species diversity have been associated with changes in climate across latitude and elevation. However, the ecological and evolutionary mechanisms underlying these relationships are still actively debated. Here, we present a complementary view of the well-known tropical niche conservatism (TNC) hypothesis, termed the multiple zones of origin (MZO) hypothesis, to explore mechanisms underlying latitudinal and elevational gradients of phylogenetic diversity in tree communities. The TNC hypothesis posits that most lineages originate in warmer, wetter, and less seasonal environments in the tropics and rarely colonize colder, drier, and more seasonal environments outside of the tropical lowlands, leading to higher phylogenetic diversity at lower latitudes and elevations. In contrast, the MZO hypothesis posits that lineages also originate in temperate environments and readily colonize similar environments in the tropical highlands, leading to lower phylogenetic diversity at lower latitudes and elevations. We tested these phylogenetic predictions using a combination of computer simulations and empirical analyses of tree communities in 245 forest plots located in six countries across the tropical and subtropical Andes. We estimated the phylogenetic diversity for each plot and regressed it against elevation and latitude. Our simulated and empirical results provide strong support for the MZO hypothesis. Phylogenetic diversity among co-occurring tree species increased with both latitude and elevation, suggesting an important influence on the historical dispersal of lineages with temperate origins into the tropical highlands. The mixing of different floras was likely favored by the formation of climatically suitable corridors for plant migration due to the Andean uplift. Accounting for the evolutionary history of plant communities helps to advance our knowledge of the drivers of tree community assembly along complex climatic gradients, and thus their likely responses to modern anthropogenic climate change.