Urbanization is associated with increases in impervious land cover, which alters the distribution of resources available to wildlife and concentrates activity in unbuilt spaces such as parks and gardens. How resource shifts alter the dynamics of parasite and pathogen transmission has not been addressed for many important species in urban systems. We focus on urban gardens, resource‐rich “islands” within the urban matrix, to examine how the availability of floral resources at local and landscape scales influences the prevalence of six RNA viruses and three parasites in honey bees and bumble bees. Because parasites and pathogens are transmitted at flowers between visitors, we expected that floral abundance would concentrate bees within gardens, amplifying infection rates in pollinators, unless increases in floral resources would enhance bee diversity enough to dilute transmission. We found that garden size and flowering perennial plant abundance had a positive, direct effect on parasite and pathogen richness in bumble bees, suggesting that resource provisioning amplifies transmission. We also found that parasitism rates in honey bees were positively associated with parasites and pathogens in bumble bees, suggesting spillover between species. Encouragingly, we found evidence that management may mitigate parasitism through indirect effects: garden size had a positive impact on bee diversity, which in turn was negatively associated with parasite and pathogen richness in bumble bees. Unexpectedly, we observed that that parasite and pathogen richness in honey bees had no significant predictors, highlighting the complexity of comparing transmission dynamics between species. Although floral resources provide bees with food, we suggest more research on the tradeoffs between resource provisioning and disease transmission to implement conservation plantings in changing landscapes.