Marine species usually living on coral reefs but also recorded from pools, freshwater streams or lagoon mouths (Ref. 4343). Found on tabletop Acropora corals (Ref. 1602); a coral-commensal species (Ref. 72446). Monogamous (Ref. 52884). The male takes care of eggs deposited on a coral branch (Ref. 32163). Has the ability to change sex in both directions to favor reproductive success (Ref. 32163).