 It inhabits a variety of shallow habitats, including coral reefs, seagrass beds, and open areas of sand and rubble.It is most common in calm habitats on the protected side of larger islands.It is often found associated with the seagrass "Enhalus acoroides" and the long spined sea urchin "Diadema setosum".