Adverse life experiences are associated with an increased risk of mental disorders. The successful adaptation to adversity and maintenance or quick restoration of mental health despite adversity is referred to as resilience. Identifying factors that promote resilience can contribute to the prevention of mental disorders. Lifestyle behaviors, increasingly recognized for their impact on mental health, are discussed as potential resilience factors. Several studies found that healthy eating and physical activity (PA) are positively associated with resilience. However, most of these studies assessed resilience through questionnaires, which is unsatisfactory given that resilience research is moving toward conceptualizing resilience as the outcome of a dynamic process, which can only be assessed prospectively and longitudinally. The present study is the first to assess the relationship between diet quality, PA, sedentary behavior (SB), and resilience, captured prospectively and longitudinally in a sample of 145 individuals (75.17% female