The study aimed to determine the associations between breastfeeding and children’s neurodevelopment indexed by intelligence quotient (IQ) and emotional and behavioural problems through mid-childhood adjusting for prenatal and postnatal depression and multiple confounders; and to test the novel hypothesis that breastfeeding may moderate the effects of prenatal depression and anxiety on children’s neurodevelopment.