The cognitive functioning of children who experience intimate partner violence (IPV) has received less attention than their emotional-behavioral outcomes. Drawing upon data from 615 (48.4% female) 10-year-old Australian-born children and their mothers (9.6% of mothers born in non-English speaking countries) participating in a community-based longitudinal study between 2004 and 2016, this study examined the associations between IPV in infancy and cognition in middle childhood (at age 10). Results showed that IPV in the first 12 months of life was associated with lower general cognitive ability and poorer executive attention but not working memory skills. IPV in middle childhood (in the 10th year postpartum) was not associated with cognition. This study provides evidence for the long-term impact of early life exposure to IPV on children's cognition, and points to the importance of early intervention to optimize development.