Generally a coastal, shallow-water species, grey reef sharks are mostly found in depths of less than 60 m (200 ft). However, they have been known to dive to 1,000 m (3,300 ft). They are found over continental and insular shelves, preferring the leeward (away from the direction of the current) sides of coral reefs with clear water and rugged topography. They are frequently found near the drop-offs at the outer edges of the reef, particularly near reef channels with strong currents, and less commonly within lagoons. On occasion, this shark may venture several kilometers out into the open ocean.
The grey reef shark is native to the Indian and Pacific Oceans. In the Indian Ocean, it occurs from South Africa to India, including Madagascar and nearby islands, the Red Sea, and the Maldives. In the Pacific Ocean, it is found from southern China to northern Australia and New Zealand, including the Gulf of Thailand, the Philippines, and Indonesia. This species has also been reported from numerous Pacific islands, including American Samoa, the Chagos Archipelago, Easter Island, Christmas Island, the Cook Islands, the Marquesas Islands, the Tuamotu Archipelago, Guam, Kiribati, the Marshall Islands, Micronesia, Nauru, New Caledonia, the Marianas Islands, Palau, the Pitcairn Islands, Samoa, the Solomon Islands, Tuvalu, the Hawaiian Islands and Vanuatu.
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.