Floral nectar sugar composition is assumed to reflect the nutritional demands and foraging behaviour of pollinators, but the relative contributions of evolutionary and abiotic factors to nectar sugar composition remain largely unknown across the angiosperms. We compiled a comprehensive dataset on nectar sugar composition for 414 insect-pollinated plant species across central Europe, along with phylogeny, paleoclimate, flower morphology, and pollinator dietary demands, to disentangle their relative effects. We found that phylogeny was strongly related with nectar sucrose content, which increased with the phylogenetic age of plant families, but even more strongly with historic global surface temperature. Nectar sugar composition was also defined by floral morphology, though it was not related to our functional measure of pollinator dietary demands. However, specialist pollinators of current plant-pollinator networks predominantly visited plant species with sucrose-rich nectar. Our results suggest that both physiological mechanisms related to plant water balance and evolutionary effects related to paleoclimatic changes have shaped floral nectar sugar composition during the radiation and specialisation of plants and pollinators. As a consequence, the high velocity of current climate change may affect plant-pollinator interaction networks due to a conflicting combination of immediate physiological responses and phylogenetic conservatism.