Our key finding was that anxious attachment in pregnancy had both a direct and indirect association with oxytocin postpartum, the latter pathway being mediated via separation anxiety and depression. This evidence concerns the gene OXT and major depressive disorder.