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.
Typically a solitary animal, juvenile blacktip reef sharks will commonly conjugate in shallow regions during high tide. Vulnerable to larger predators, they will reside in shallower areas until larger in size. Blacktip reef sharks tend to be more active during dawn and dusk, but like most sharks they are opportunistic feeders. Their diet consists of crustaceans, squid, octopus, and bony fish.
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.