Adults inhabit reef flats as well as shallow lagoon and seaward reefs. Also found in estuarine areas with algae-rich rubble patches on reef flats and slopes. Intertidal to a few meters depth. Usually found in areas of mixed coral, sand, and rubble. Found solitary in weedy areas on rocks and coral ou..