Researchers analyzed surveys covering 500 fish species at 286 sites in northern Australia to examine how cumulative heat stress and coral loss were associated with species’ chances of occurring. They combined these environmental measures with fish traits such as body size, habitat specialization, diet and thermal affinity in a statistical model.

Cumulative heat stress had the strongest overall association with changes in species occurrence, while coral loss produced the greatest proportion of negative responses. The community-level predictions showed a shift toward small-bodied, generalist and herbivorous fish, alongside losses in several groups that perform different ecological roles on reefs.