Urbanization poses threats and opportunities for the biodiversity of wild bees. At the same time, cities can harbor diverse wild bee assemblages, partly due to the unique plant assemblages that provide resources. While bee dietary preferences have been investigated in various studies, bee dietary studies have been conducted mostly in nonurban ecosystems and data based on plant visitation observations or palynological techniques. This data set describes the larval food preferences of four wild bee species (i.e., Chelostoma florisomne, Hylaeus communis, Osmia bicornis, and O. cornuta) common in urban areas in five different European cities (i.e., Antwerp, Belgium; Paris, France; Poznan, Poland; Tartu, Estonia; and Zurich, Switzerland). In addition, the data set describes the larval food preferences of individuals from three wild bee genera (i.e., Chelostoma sp., Hylaeus sp., and Osmia sp.) that could not be identified to the species level. These data were obtained from a Europe‐level study aimed at understanding the effects of urbanization on biodiversity across different cities and cityscapes and a Swiss project aimed at understanding the effects of urban ecosystems in wild bee feeding behavior. Wild bees were sampled using standardized trap nests at 80 sites (32 in Zurich and 12 in each of the remaining cities), selected following a double gradient of available habitat at local and landscape scales. Larval pollen was obtained from the bee nests and identified using DNA metabarcoding. The data provide the plant composition at the species or genus level preferred by each bee. These unique data can be used for a wide array of research questions, including urban ecology (e.g., diversity of food sources along urban gradients), bee ecology (characterization of bee feeding preferences), or comparative studies on the urban evolution of behavioral traits between urban and nonurban sites. In addition, the data can be used to inform urban planning and conservation strategies, particularly concerning flower resources (e.g., importance of exotic species and, thus, management activities). This data set can be freely used for noncommercial purposes, and this data paper should be cited if the data is used; we request that collaboration with the data set contact person to be considered if this data set represents an important part of the data analyzed in a study.