Generous behaviour increases happiness, but the neural underpinnings of this link are unknown. Here, authors show that promising to be generous changes the neural response in the temporo-parietal junction, and that the connection between this region and the ventral striatum was related to happiness.