Abstract The rules leading to the emergence of a social organization and the role of social hierarchy on normal and pathological behaviours remain elusive. Here we show that groups of four isogenic male mice rapidly form enduring social ranks in a dominance hierarchy. Highest ranked individuals display enhanced anxiety and working memory, are more social and more susceptible to stress-related maladaptive behaviours. Are these differences causes or consequences to social life? We show that anxiety emerges from life in colony whereas sociability is a pre-existing trait. Strikingly, highest ranked individuals exhibit lower bursting activity of VTA dopamine neurons. Both pharmacogenetic inhibition of this neuronal population and the genetic inactivation of glucocorticoid receptor signalling in dopamine-sensing brain areas promote the accession to higher social ranks. Altogether, these results indicate that the shaping of social fate relies upon the interplay of dopamine system and stress response, impacting individual behaviour and potentially mental health.