Adult pair bonding involves dramatic changes in the perception and valuation of another individual. One key change is that partners come to reliably activate the brain's reward system, although the precise neural mechanisms by which partners become rewarding during sociosexual interactions leading to a bond remain unclear. Here we show, using a prairie vole (Microtus ochrogaster) model of social bonding, how a functional circuit from the medial prefrontal cortex to nucleus accumbens is dynamically modulated to enhance females' affiliative behaviour towards a partner. Individual variation in the strength of this functional connectivity, particularly after the first mating encounter, predicts how quickly animals begin affiliative huddling with their partner. Rhythmically activating this circuit in a social context without mating biases later preference towards a partner, indicating that this circuit's activity is not just correlated with how quickly animals become affiliative but causally accelerates it. These results provide the first dynamic view of corticostriatal activity during bond formation, revealing how social interactions can recruit brain reward systems to drive changes in affiliative behaviour.