We examined the extent to which the arginine vasopressin receptor 1a (AVPR1a) and dopamine receptor d4 (DRD4) were related to sensitive maternal behavior directly or indirectly via maternal social cognition. Participants were 207 (105 European American, 102 African American) mothers and their children (52% female). Sensitive maternal behavior was rated and aggregated across a series of tasks when infants were 6 months, 1 year, and 2 years old. At 6 months, mothers were interviewed about their empathy, attributions about infant behavior, and beliefs about crying to assess their parenting-related social cognition. Mothers with long alleles for AVPR1a and DRD4 engaged in more mother-oriented social cognition (i.e., negative attributions and beliefs about their infants’ crying), β = .13, p < .05 and β = .16, p < .05, respectively, which in turn predicted less sensitive maternal behavior, β = −.23, p < .01. Both indirect effects were statistically significant independent of one another and covariates; 95% CI [−.22, −.03] and β = −.03 for AVPR; 95% CI [−.20, −.03] and β = −.04 for DRD4. There were no significant direct effects of AVPR1a or DRD4 on maternal sensitivity, β = .02, ns and β = −.10, ns, respectively. The results did not vary for African American and European American mothers (Δχ2 = 18.76, Δdf = 16, p = .28). Results support the view that one mechanism by which maternal genes are associated with parental behavior is via social cognition.