Marijuana exerts profound effects on human social behavior, but the neural substrates underlying such effects are unknown. Here we report that social contact increases, whereas isolation decreases, the mobilization of the endogenous marijuana-like neurotransmitter, anandamide, in the mouse nucleus accumbens (NAc), a brain structure that regulates motivated behavior. Pharmacological and genetic experiments show that anandamide mobilization and consequent activation of CB1 cannabinoid receptors are necessary and sufficient to express the rewarding properties of social interactions, assessed using a socially conditioned place preference test. We further show that oxytocin, a neuropeptide that reinforces parental and social bonding, drives anandamide mobilization in the NAc. Pharmacological blockade of oxytocin receptors stops this response, whereas chemogenetic, site-selective activation of oxytocin neurons in the paraventricular nucleus of the hypothalamus stimulates it. Genetic or pharmacological interruption of anandamide degradation offsets the effects of oxytocin receptor blockade on both social place preference and cFos expression in the NAc. The results indicate that anandamide-mediated signaling at CB1 receptors, driven by oxytocin, controls social reward. Deficits in this signaling mechanism may contribute to social impairment in autism spectrum disorders and might offer an avenue to treat these conditions.