Plants are chemical engineers par excellence. Collectively they make a vast array of structurally diverse specialized metabolites. The raw materials for building new pathways (genes encoding biosynthetic enzymes) are commonly recruited directly or indirectly from primary metabolism. Little is known about how new metabolic pathways and networks evolve in plants, or what key nodes contribute to branches that lead to the biosynthesis of diverse chemicals. Here we review the molecular mechanisms underlying the generation of biosynthetic branchpoints. We also consider examples in which new metabolites are formed through the joining of precursor molecules arising from different biosynthetic routes, a scenario that greatly increases both the diversity and complexity of specialized metabolism. Given the emerging importance of metabolic gene clustering in helping to identify new enzymes and pathways, we further cover the significance of biosynthetic gene clusters in relation to metabolic networks and dedicated biosynthetic pathways. In conclusion, an improved understanding of the branchpoints between metabolic pathways will be key in order to be able to predict and illustrate the complex structure of metabolic networks and to better understand the plasticity of plant metabolism. This article is part of the theme issue 'The evolution of plant metabolism'.