Difficulties in scaling up theoretical and experimental results have raised controversy over the consequences of biodiversity loss for the functioning of natural ecosystems. Using a global survey of reef fish assemblages, we show that in contrast to previous theoretical and experimental studies, ecosystem functioning (as measured by standing biomass) scales in a nonsaturating manner with biodiversity (as measured by species and functional richness) in this ecosystem. Our field study also shows a significant and negative interaction between human population density and biodiversity on ecosystem functioning (i.e., for the same human density there were larger reductions in standing biomass at more diverse reefs). Human effects were found to be related to fishing, coastal development, and land use stressors, and currently affect over 75% of the world’s coral reefs. Our results indicate that the consequences of biodiversity loss in coral reefs have been considerably underestimated based on existing knowledge and that reef fish assemblages, particularly the most diverse, are greatly vulnerable to the expansion and intensity of anthropogenic stressors in coastal areas.