The Caribbean reef shark occurs throughout the tropical western Atlantic Ocean, from North Carolina in the north to Brazil in the south, including Bermuda, the northern Gulf of Mexico, and the Caribbean Sea. However, it is extremely rare north of the Florida Keys. It prefers shallow waters on or around coral reefs, and is commonly found near the drop-offs at the reefs' outer edges. This shark is most common in water shallower than 30 m (98 ft), but has been known to dive to 378 m (1,240 ft).
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.
There is a variety of biotic reef types, including oyster reefs and sponge reefs, but the most massive and widely distributed are tropical coral reefs. Although corals are major contributors to the framework and bulk material comprising a coral reef; the organisms most responsible for reef growth against the constant assault from ocean waves are calcareous algae, especially, although not entirely, coralline algae.