In children having no more than five close friends, the cortical areas related to the number of close friends revealed correlations with the density of μ-opioid receptors and the expression of OPRM1 and OPRK1 genes, and could partly mediate the association between the number of close friends, attention-deficit/hyperactivity disorder (ADHD) symptoms, and crystalized intelligence. This evidence concerns the gene OPRK1 and attention deficit-hyperactivity disorder.