Adults inhabit clear coastal reef flats, often in exposed habitats, common in outer intertidal reef flats and surge-swept seaward reef; usually where algal growth is prolific. They enter small holes, with just its head protruding. They feed on algae and associated detritus and small invertebrates. O..