Social behaviours such as mate choice require context-specific responses, often with evolutionary consequences. Increasing evidence indicates that the behavioural plasticity associated with mate choice involves learning. For example, poeciliids show age-dependent changes in female preference functions and express synaptic-plasticity-associated molecular markers during mate choice. Here, we test whether social cognition is necessary for female preference behaviour by blocking the central player in synaptic plasticity, NMDAR (N-methyl D-aspartate receptor), in a poeciliid fish, Xiphophorus nigrensis. After subchronic exposure to NMDAR antagonist MK-801, female preference behaviours towards males were dramatically reduced. Overall activity levels were unaffected, but there was a directional shift from 'social' behaviours towards neutral activity. Multivariate gene expression patterns significantly discriminated between females with normal versus disrupted plasticity processes and correlated with preference behaviours-not general activity. Furthermore, molecular patterns support a distinction between 'preference' (e.g. neuroserpin, neuroligin-3, NMDAR) and 'sociality' (isotocin and vasotocin) gene clusters, highlighting a possible conservation between NMDAR disruption and nonapeptides in modulating behaviour. Our results suggest that mate preference may involve greater social memory processing than overall sociality, and that poeciliid preference functions integrate synaptic-plasticity-oriented 'preference' pathways with overall sociality to invoke dynamic, context-specific responses towards favoured males and away from unfavoured males.