Abstract Understanding how biodiversity affects pathogen transmission remains an unresolved question due to the challenges in testing potential mechanisms in natural systems and how these mechanisms vary across biological scales. By quantifying transmission of an entire guild of parasites (larval trematodes) within 902 amphibian host communities, we show that the community-level drivers of infection depend critically on biological scale. At the individual host scale, increases in host richness led to fewer parasites per host for all parasite taxa, with no effect of host or predator densities. At the host community scale, however, the inhibitory effects of richness were counteracted by associated increases in total host density, leading to no overall change in parasite densities. Mechanistically, we find that while average host competence declined with increasing host richness, total community competence remained stable due to additive assembly patterns. These results help reconcile disease-diversity debates by empirically disentangling the roles of alternative ecological drivers of parasite transmission and how such effects depend on biological scale.