When given a choice of swimming against a black background near an empty black end compartment or swimming against a white background near an empty white compartment, black morph mollies Poecilia latipinna spent significantly more time against the black background. The presence of a shoal (either white or black mollies) in the black compartment increased the preference of the test fish for the black background. However, black molly test fish spent significantly less time against a black background if a black shoal was present in the white compartment than in assays in which a white shoal was in the white compartment. In assays where test fish were given the choice between two black shoals, test fish spent significantly more time near the black shoal on the black background. Similarly, when given the choice between two white shoals, test fish spent significantly more time against the black background. The results suggest that the presence of cryptic backgrounds alter shoalmate choices in fish that assort according to body colouration.