Reduced coral cover and species composition following coral bleaching events affect coral reef fish community structure, with variable outcomes depending on their habitat dependence and trophic specialisation. Ocean acidification itself impacts fish mainly indirectly through disruption of predation- and habitat-associated behavior changes.