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. 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. Hunting groups of up to 700 grey reef sharks have been observed at Fakarava atoll in French Polynesia. 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. Their sense of smell is extremely acute, being capable of detecting one part tuna extract in 10 billion parts of sea water. 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.
A reef is a bar of rock, sand, coral or similar material, lying beneath the surface of water. Many reefs result from abiotic processes (i.e. deposition of sand, wave erosion planing down rock outcrops, and other natural processes), but the best known reefs are the coral reefs of tropical waters developed through biotic processes dominated by corals and coralline algae.