Resilience, the capacity to maintain or regain functionality in the face of adversity, is a dynamic process influenced by individual, familial, and community factors. Despite its variability, distinct resilience trajectories can be identified within populations, yet the predictors defining these distinct groups remains largely unclear. Here, using data from the Avon Longitudinal Study of Parents and Children (ages 0-18), we quantify resilience as the remaining variance in psychosocial functioning after taking into account the exposure to adversity. Growth mixture modeling identified seven distinct resilience trajectories, with over half of the study population maintaining resilience throughout early life. Factors increasing the likelihood of resilient trajectory membership included a less emotional temperament, high cognitive abilities, high self-esteem, low levels of autistic social traits, strong sibling relationships, high maternal care, and positive school experiences. Among the socioeconomic factors considered, maternal education - a significant indicator of socioeconomic status - and birth-order were associated with resilient trajectories. Our findings underscore the importance of fostering cognitive abilities, self-esteem, social relationships, positive school experiences, and extracurricular engagement to bolster resilience in adversity-exposed individuals and communities. This research informs resilience-focused interventions in mental health, education, and social policy sectors, and prompts further exploration of socioeconomic influences on resilience trajectories.