This research was conducted with the aim of modeling the social well-being of adolescents based on social problem solving and cognitive flexibility, considering the mediating role of emotional self-awareness. The research method of this study is descriptive-correlation; Statistical population of the research consisted of adolescents aged 15 to 18 years studying in high schools in Isfahan in the academic year 2022–2023. In order to determine the sample size, according to Klein (2010) in structural models, a sample size of at least 200 people is defensible. A total of 228 adolescent boys and girls were selected by available sampling method. They responded to Keyes and Magyar-Mae (2003) social well-being questionnaires, D’Zurilla et al. (2002) social problem solving, Riefee et al. (2007) emotional awareness, Dennis and Vander wall (2010) cognitive flexibility questionnaires. The direction of the data obtained from the questionnaire was analyzed using path analysis technique in structural equations in SPSS-26 and Amos-23 software. The results of direct paths indicated that the regression coefficient of social problem solving to the social well-being of adolescents is significant (P < 0.01), while the direct regression path of cognitive flexibility to social well-being is not significant (P > 0.05). Also, the results demonstrated that social problem solving (P < 0.05) and cognitive flexibility (P < 0.05) can indirectly influence the social well-being of adolescents through emotional self-awareness. According to the obtained results, it can be concluded that emotional self-awareness can play a mediating role in the relationship between solving social problems and the social well-being of adolescents.