Ocean ecosystems are predicted to lose biodiversity and productivity from increasing ocean acidification 1 . Although laboratory experiments reveal negative e ects of acidification on the behaviour and performance of species 2,3 , more comprehensive predictions have been hampered by a lack of in situ studies that incorporate the complexity of interactions between species and their environment. We studied CO 2 vents from both Northern and Southern hemispheres, using such natural laboratories 4 to investigate the e ect of ocean acidification on plant-animal associations embedded within all their natural complexity. Although we substantiate simple direct e ects of reduced predator-avoidance behaviour by fishes, as observed in laboratory experiments, we here show that this negative e ect is naturally dampened when fish reside in shelter-rich habitats. Importantly, elevated CO 2 drove strong increases in the abundance of some fish species through major habitat shifts, associated increases in resources such as habitat and prey availability, and reduced predator abundances. The indirect e ects of acidification via resource and predator alterations may have far-reaching consequences for population abundances, and its study provides a framework for a more comprehensive understanding of increasing CO 2 emissions as a driver of ecological change.Ecological communities are shaped by both direct and indirect effects whose combination is mediated by a changing environment 5,6 . Although global change is anticipated to alter almost all known species interactions in the near future, the outcomes remain difficult to predict 7 . Not only may species be directly affected in their physiology and behaviour owing to increasing environmental stress 8,9 , which could lead to altered species interactions, they may also be affected indirectly through changes to the resources on which they rely. Resource change drives fundamental shifts in key species which affect interactions with other species 10 ; for example, global change can increase 11 or decrease 4 habitat quality, and thus modify associated predatorrefuge and prey availability, which together drive patterns of abundance 12 . Here, we demonstrate the first example of where predicted changes to ocean environmental conditions increase the resources available to vertebrates, countering direct negative behavioural effects, and increasing survival and population size. The ways in which such direct and indirect effects of global change have the potential to modify population and community dynamics through altered species interactions is barely understood, and sometimes counter-intuitive, limiting our ability to predict species responses to anthropogenic environmental change and the potential cascading effects on ecosystem functioning 13,14 .The impacts of ocean warming on species performance has received much emphasis 15 , but ocean acidification due to increased human CO 2 emissions has a similar potential to affect species performance 2 , as well as interactions among species and the p...