Pathogens play an important part in shaping the structure and dynamics of natural communities, because species are not affected by them equally 1,2 . A shared goal of ecology and epidemiology is to predict when a species is most vulnerable to disease. A leading hypothesis asserts that the impact of disease should increase with host abundance, producing a 'rare-species advantage' 3-5 . However, the impact of a pathogen may be decoupled from host abundance, because most pathogens infect more than one species, leading to pathogen spillover onto closely related species 6,7 . Here we show that the phylogenetic and ecological structure of the surrounding community can be important predictors of disease pressure. We found that the amount of tissue lost to disease increased with the relative abundance of a species across a grassland plant community, and that this rare-species advantage had an additional phylogenetic component: disease pressure was stronger on species with many close relatives. We used a global model of pathogen sharing as a function of relatedness between hosts, which provided a robust predictor of relative disease pressure at the local scale. In our grassland, the total amount of disease was most accurately explained not by the abundance of the focal host alone, but by the abundance of all species in the community weighted by their phylogenetic distance to the host. Furthermore, the model strongly predicted observed disease pressure for 44 novel host species we introduced experimentally to our study site, providing evidence for a mechanism to explain why phylogenetically rare species are more likely to become invasive when introduced 8,9 . Our results demonstrate how the phylogenetic and ecological structure of communities can have a key role in disease dynamics, with implications for the maintenance of biodiversity, biotic resistance against introduced weeds, and the success of managed plants in agriculture and forestry.Plant pathogens can be important drivers of community diversity, structure and dynamics 1,2,10,11 . A basic premise of epidemiology is that pathogen transmission often increases with host density 12,13 . Densitydependent disease provides a mechanism for the maintenance of plant diversity in natural communities, in which locally uncommon species enjoy a rare-species advantage-based on lower enemy pressure-that mitigates the competitive impacts of dominant species 3-5 . Reports of density-dependent disease dynamics generally infer the potential effects on communities from studies of one or a few species 2 , while community-level studies 1 are scarce but essential to evaluate whether such a rarespecies advantage predicts patterns of disease across a community.An ongoing debate concerns how community context influences disease, and particularly whether biodiversity suppresses infection and emerging diseases 14,15 . If increasing the number of species in a community reduces the density of competent hosts or the frequency of infected vectors, then biodiversity shows a suppressive 'dilution e...