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.

Grey reef sharks are fast-swimming, agile predators that feed primarily on free-swimming bony fishes and cephalopods. Their aggressive demeanor enables them to dominate many other shark species on the reef, despite their moderate size. Many grey reef sharks have a home range on a specific area of the reef, to which they continually return. However, they are social rather than territorial. During the day, these sharks often form groups of five to 20 individuals near coral reef drop-offs, splitting up in the evening as the sharks begin to hunt. Adult females also form groups in very shallow water, where the higher water temperature may accelerate their growth or that of their unborn young. Like other members of its family, the grey reef shark is viviparous, meaning the mother nourishes her embryos through a placental connection. Litters of one to six pups are born every other year.

Grey reef sharks feed mainly on bony fishes, with cephalopods such as squid and octopus being the second-most important food group, and crustaceans such as crabs and lobsters making up the remainder. The larger sharks take a greater proportion of cephalopods.[20] These sharks hunt individually or in groups, and have been known to pin schools of fish against the outer walls of coral reefs for feeding.[14] Hunting groups of up to 700 grey reef sharks have been observed at Fakarava atoll in French Polynesia.[21][22] They excel at capturing fish swimming in the open, and they complement hunting whitetip reef sharks, which are more adept at capturing fish inside caves and crevices.[4] Their sense of smell is extremely acute, being capable of detecting one part tuna extract in 10 billion parts of sea water.[13] In the presence of a large quantity of food, grey reef sharks may be roused into a feeding frenzy; in one documented frenzy caused by an underwater explosion that killed several snappers, one of the sharks involved was attacked and consumed by the others.[23]
This species is commonly found in shallow waters on and near coral reefs and occasionally in brackish waters. Juveniles are typically found in extremely shallow water (±15 to 100 cm) inside lagoons, often swimming along the shoreline; adults typically occur on shallow parts of the forereef, often moving over the reef crest and onto the reef flat at flood tide. Individual adults inhabit a relatively small home range of ±2.5 km2 and appear to reside close to their home reef but occasionally cross deepwater channels between adjacent reefs.
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).