Dogs use emotional cues from humans to guide their behavior. Happiness is a basic emotion that humans express and dogs can perceive and interpret. Here, we describe the brain correlates of perception of happy human faces in dogs by using functional magnetic resonance imaging (fMRI). Eight dogs participated: they were trained to remain awake, still, and unrestrained inside an MRI scanner. The visual paradigm included blocks of happy or neutral human faces, with gender matched to each dog's main caretaker. We found brain activity related to happy human faces mainly in the temporal cortex (including Sylvian Gyrus, Straight Gyrus, Proreus and Caudate). These results are consistent with studies in humans showing that the superior temporal cortex plays a key role in the perception of emotional faces. We suggest that perception of happy human faces plays a significant role in the attachment between dogs and humans. This is the first study that directly explores the cerebral correlates in dogs of perception of happiness in human faces.