The Caribbean reef shark is the most common shark on or near coral reefs in the Caribbean. It is a tropical inshore, bottom-dwelling species of the continental and insular shelves. Although C. perezi mainly inhabits shallow waters, it has been recorded to reach depths to at least 98 feet (30 m). Caribbean reef sharks are commonly found close to drop-offs on the outer edges of coral reefs and also may lie motionless on the bottom of the ocean floor. This phenomenon has also been observed in caves off the coast of Mexico and off the Brazilian archipelago of Fernando de Noronha.

Social aggregation is well documented in grey reef sharks. In the northwestern Hawaiian Islands, large numbers of pregnant adult females have been observed slowly swimming in circles in shallow water, occasionally exposing their dorsal fins or backs. These groups last from 11:00 to 15:00, corresponding to peak daylight hours.[28] Similarly, at Sand Island off Johnston Atoll, females form aggregations in shallow water from March to June. The number of sharks per group differs from year to year. Each day, the sharks begin arriving at the aggregation area at 09:00, reaching a peak in numbers during the hottest part of the day in the afternoon, and dispersing by 19:00. Individual sharks return to the aggregation site every one to six days. These female sharks are speculated to be taking advantage of the warmer water to speed their growth or that of their embryos. The shallow waters may also enable them to avoid unwanted attention by males.[10]

But another potential cause is that these sharks are skittish around people. So when too many people move into the area, the reef sharks flee to other coral reefs. Indeed, the researchers found far more sharks at small, isolated reefs than they expected. But this in itself is a danger to the reef sharks. With so many sharks concentrated in a small area, “if you really wanted to, you could fish out a few hundred sharks very easily,” said Friedlander.
Corals, including some major extinct groups Rugosa and Tabulata, have been important reef builders through much of the Phanerozoic since the Ordovician Period. However, other organism groups, such as calcifying algae, especially members of the red algae Rhodophyta, and molluscs (especially the rudist bivalves during the Cretaceous Period) have created massive structures at various times. During the Cambrian Period, the conical or tubular skeletons of Archaeocyatha, an extinct group of uncertain affinities (possibly sponges), built reefs. Other groups, such as the Bryozoa have been important interstitial organisms, living between the framework builders. The corals which build reefs today, the Scleractinia, arose after the Permian–Triassic extinction event that wiped out the earlier rugose corals (as well as many other groups), and became increasingly important reef builders throughout the Mesozoic Era. They may have arisen from a rugose coral ancestor. Rugose corals built their skeletons of calcite and have a different symmetry from that of the scleractinian corals, whose skeletons are aragonite. However, there are some unusual examples of well-preserved aragonitic rugose corals in the late Permian. In addition, calcite has been reported in the initial post-larval calcification in a few scleractinian corals. Nevertheless, scleractinian corals (which arose in the middle Triassic) may have arisen from a non-calcifying ancestor independent of the rugosan corals (which disappeared in the late Permian).