Sharks are deserting their coral reef homes as the climate crisis continues to heat up the oceans, scientists have discovered.

This is likely to harm the sharks, which are already endangered, and their absence could have serious consequences for the reefs, which are also struggling. The reef sharks are a key part of the highly diverse and delicate ecosystem, which could become dangerously unbalanced without them.

The researchers tagged and tracked more than 120 grey reef sharks living on the remote coral reefs of the Chagos archipelago in the central Indian Ocean from 2013 to 2020. As reefs became more stressed, particularly during the major ocean-warming El Niño event of 2015-16, the sharks spent significantly less time there. They failed to return to normal residency for up to 16 months after a stress event.

However, the sharks actually spent more time on a minority of the coral reefs. These reefs were healthier and more resilient, due to factors including the eradication of invasive rats and higher populations of birds, which help fertilise the reef. The researchers said this showed that increasing the protection of coral reefs from human-caused damage may help sharks remain on their home reefs.

The research, published in the journal Communications Biology, used tags to track 120 sharks, producing more than 700,000 data points. These were combined with satellite data that recorded nine different measurements of environmental stress on the reefs, the most important being sea surface temperature and wind and current patterns.

Dr Michael Williamson, a post-doctoral research associate at the ZSL Institute of Zoology in London and a lead author of the study, said it was likely that high temperatures drove the sharks away immediately but that the impact of the heat on the health of the reef kept them away, though further research was required to confirm this.

Dr Anna Sturrock, a senior lecturer at the University of Essex who was not part of the study team, said: “Sharks play such an important role in keeping the reef system in balance, by eating both herbivorous and smaller predatory fish they help to keep coral from being overgrazed or overgrown by algae. So it is very worrying that sharks were tending to leave during the reefs’ most vulnerable times. The hopeful side of it was that not all sharks did the same thing.”