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.