They are also found in mangrove areas, moving in and out with the tide and even in fresh water near the sea. They occur singly or in small groups. Adults often aggregate in reef channels at low tide. This is one of the three most common reef sharks in the Indo-Pacific, the two others are the grey reef shark, Carcharhinus amblyrhynchos and whitetip reef shark, Triaenodon obesus.
On the infrequent occasions when they swim in oceanic waters, grey reef sharks often associate with marine mammals or large pelagic fishes, such as sailfish (Istiophorus platypterus). There is an account of around 25 grey reef sharks following a large pod of bottlenose dolphins (Tursiops sp.), along with 25 silky sharks (C. falciformis) and a single silvertip shark. Rainbow runners (Elagatis bipinnulata) have been observed rubbing against grey reef sharks, using the sharks' rough skin to scrape off parasites.
The snout is rather short, broad, and rounded, without prominent flaps of skin beside the nostrils. The eyes are large and circular, with nictitating membranes (protective third eyelids). There are 11–13 tooth rows in either half of both jaws. The teeth have broad bases, serrated edges, and narrow cusps; the front 2–4 teeth on each side are erect and the others increasingly oblique. The five pairs of gill slits are moderately long, with the third gill slit over the origin of the pectoral fins. The first dorsal fin is high and falcate (sickle-shaped). There is a low interdorsal ridge running behind it to the second dorsal fin, which is relatively large with a short free rear tip. The origin of the first dorsal fin lies over or slightly forward of the free rear tips of the pectoral fins, and that of the second dorsal fin lies over or slightly forward of the anal fin. The pectoral fins are long and narrow, tapering to a point. The dermal denticles are closely spaced and overlapping, each with five (sometimes seven in large individuals) horizontal low ridges leading to marginal teeth.
Corals, including some major extinct groups Rugosa and Tabulata, have been important reef builders through much of the Phanerozoic since the Ordovician Period. However, other organism groups, such as calcifying algae, especially members of the red algae Rhodophyta, and molluscs (especially the rudist bivalves during the Cretaceous Period) have created massive structures at various times. During the Cambrian Period, the conical or tubular skeletons of Archaeocyatha, an extinct group of uncertain affinities (possibly sponges), built reefs. Other groups, such as the Bryozoa have been important interstitial organisms, living between the framework builders. The corals which build reefs today, the Scleractinia, arose after the Permian–Triassic extinction event that wiped out the earlier rugose corals (as well as many other groups), and became increasingly important reef builders throughout the Mesozoic Era. They may have arisen from a rugose coral ancestor. Rugose corals built their skeletons of calcite and have a different symmetry from that of the scleractinian corals, whose skeletons are aragonite. However, there are some unusual examples of well-preserved aragonitic rugose corals in the late Permian. In addition, calcite has been reported in the initial post-larval calcification in a few scleractinian corals. Nevertheless, scleractinian corals (which arose in the middle Triassic) may have arisen from a non-calcifying ancestor independent of the rugosan corals (which disappeared in the late Permian).