Utilizing a prospective longitudinal study and following children across the first decade of life, we found that exposure to ELS, cumulative genetic risk on oxytocin-pathway genes, avoidant behavioral response to trauma reminders in early childhood, and the diagnosis of an anxiety disorder in late childhood cumulatively explained 25% of the variance in DMN connectivity in preadolescence. This evidence concerns the gene OXT and anxiety disorder.