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 prey for larger sharks, such as the silvertip shark. At Rangiroa Atoll in French Polynesia, great hammerheads (Sphyrna mokarran) feed opportunistically on grey reef sharks that are exhausted from pursuing mates. Known parasites of this species include the nematode Huffmanela lata and several copepod species that attach to the sharks' skin, and juvenile stages of the isopods Gnathia trimaculata and G. grandilaris that attach to the gill filaments and septa (the dividers between each gill).
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.