The current study aimed to identify and analyse variables that contribute to employees' resilience, focusing specifically on their self-efficacy, optimism, and gratitude in challenging situations, particularly when they have been terminated from their companies. The data for this study consisted of a cross-sectional survey of 100 male respondents aged between 18 and 30 years old residing in Bekasi and Tambun, cities located near Jakarta in Indonesia. The respondents completed the 9-item self-efficacy scale, the 15-item optimism scale, the 6-item gratitude scale, and the 24-item resilience scale. The data were analysed using quantitative inferential statistics, specifically partial least squares structural equation modelling (PLS-SEM). The results revealed that self-efficacy, gratitude, and optimism emerged as predictors of resilience, with self-efficacy having the most significant impact. In conclusion, studies on self-efficacy in relation to resilience emphasize the pivotal role of mastering self-efficacy. These insights can inform effective human resource management and social work practices, encouraging the implementation of diverse people development programs to prepare employees to enhance their self-efficacy and resilience.