We aimed to identify groups of children presenting distinct perinatal adversity profiles and test the association between profiles and later risk of suicide attempt. Data were from the Québec Longitudinal Study of Child Development (QLSCD, N = 1623), and the Avon Longitudinal Study of Parents and Children (ALSPAC, N = 5734). Exposures to 32 perinatal adversities (e.g. fetal, obstetric, psychosocial, and parental psychopathology) were modeled using latent class analysis, and associations with a self-reported suicide attempt by age 20 were investigated with logistic regression. We investigated to what extent childhood emotional and behavioral problems, victimization, and cognition explained the associations. In both cohorts, we identified five profiles: No perinatal risk, Poor fetal growth, Socioeconomic adversity, Delivery complications, Parental mental health problems (ALSPAC only). Compared to children with No perinatal risk, children in the Poor fetal growth (pooled estimate QLSCD-ALSPAC, OR 1.89, 95% CI 1.04-3.44), Socioeconomic adversity (pooled-OR 1.42, 95% CI 1.08-1.85), and Parental mental health problems (OR 1.74, 95% CI 1.27-2.40), but not Delivery complications, profiles were more likely to attempt suicide. The proportion of this effect mediated by the putative mediators was larger for the Socioeconomic adversity profile compared to the others. Perinatal adversities associated with suicide attempt cluster in distinct profiles. Suicide prevention may begin early in life and requires a multidisciplinary approach targeting a constellation of factors from different domains (psychiatric, obstetric, socioeconomic), rather than a single factor, to effectively reduce suicide vulnerability. The way these factors cluster together also determined the pathways leading to a suicide attempt, which can guide decision-making on personalized suicide prevention strategies.