Abstract Our understanding of the neurobiology of primate behavior largely derives from artificial tasks in highly-controlled laboratory settings, overlooking most natural behaviors primate brains evolved to produce 1–3 . In particular, how primates navigate the multidimensional social relationships that structure daily life 4 and shape survival and reproductive success 5 remains largely unexplored at the single neuron level. Here, we combine ethological analysis with new wireless recording technologies to uncover neural signatures of natural behavior in unrestrained, socially interacting pairs of rhesus macaques. Single neuron and population activity in prefrontal and temporal cortex unveiled robust encoding of 24 species-typical behaviors, which was strongly modulated by the presence and identity of surrounding monkeys. Male-female partners demonstrated near-perfect reciprocity in grooming, a key behavioral mechanism supporting friendships and alliances 6 , and neural activity maintained a running account of these social investments. When confronted with an aggressive intruder, behavioral and neural population responses reflected empathy and were buffered by the presence of a partner. By employing an ethological approach to the study of primate neurobiology, we reveal a highly-distributed neurophysiological ledger of social dynamics, a potential computational foundation supporting communal life in primate societies, including our own.