The cocoa damselfish is an oval, laterally compressed fish and grows to about long. The top of the head and the snout bear several blue stripes. The top half of the body is generally dark blue or brown and the bottom half is yellow. The sides are finely barred with vertical dark lines. There are two small black spots, one above the pectoral fins and the other on the top of the caudal peduncle. The large dorsal fin has 12 spines and 14 to 17 soft rays. The anal fin has two spines and 12 to 15 soft rays. The caudal fin is shallowly forked and has rounded lobes. Juveniles have a number of tiny blue spots and stripes on the head and upper part of the body, including two spots and a stripe on the upper iris. These regions also have a dusky blue sheen. A blue-rimmed black eyespot is located where the dorsal fin spines join with the soft rays. A similar blue-rimmed spot is found at the top of the caudle peduncle, and it extends down nearly as far as the lateral line. Older juveniles develop the characteristic blue and yellow coloration of the adult.
Distribution
Cocoa damselfish are found in the western Atlantic by Brazil and the Caribbean. The populations from Brazil and the Caribbean are genetically very distinct. They are also found in Florida and the Gulf of Mexico. They are marine and reef-associated. They do not migrate and have a depth range of 0 to 30 m. It is common on offshore reefs, oil platforms, and wrecks. The juveniles can occasionally appear inshore.
Ecology
Adults feed mainly on benthicalgae but also on sponges, ascidiacea and anemones, while juveniles feed on invertebrates such as harpacticoid copepods and nemerteans. Individual Stegastes variabilis don't overlap territories with other damselfish. They appear to survive longer in captivity, up to 18 years, whereas they do not live beyond 12 years in the wild.
Breeding
In the breeding season, the female lays eggs on the seabed where they are attached to empty shells, stones or other objects and fertilized by the male. He then guards them, aerates them and chases away intruders. The males do this for seven days. They are aggressive when breeding. Also there is distinct pairing during breeding. Most of the communication between this species is done during breeding season.