Coral reefs can live for hundreds of years or even thousands of years, depending on the species of coral and the conditions of the ecosystem in which they live.