To cope with environmental challenges, plants produce a wide diversity of phytochemicals, which are also the source of numerous medicines. Despite decades of research in chemical ecology, we still lack an understanding of the organization of plant chemical diversity across species and ecosystems. To address this challenge, we hypothesized that molecular diversity is not only related to species diversity, but also constrained by trophic, climatic, and topographical factors. We screened the metabolome of 416 vascular plant species encompassing the entire alpine elevation range and four alpine bioclimatic regions in order to characterize their phytochemical diversity. We show that by coupling phylogenetic information, topographic, edaphic, and climatic variables, we predict phytochemical diversity, and its inherent composition, of plant communities throughout landscape. Spatial mapping of phytochemical diversity further revealed that plant assemblages found in low to midelevation habitats, with more alkaline soils, possessed greater phytochemical diversity, whereas alpine habitats possessed higher phytochemical endemism. Altogether, we present a general tool that can be used for predicting hotspots of phytochemical diversity in the landscape, independently of plant species taxonomic identity. Such an approach offers promising perspectives in both drug discovery programs and conservation efforts worldwide