Path analysis was conducted to examine the proposed pathological model of social anxiety, and two closely related structural models were tested. The initial model included all theoretically hypothesized paths, whereas the final model was derived by removing non-significant paths to achieve greater parsimony and theoretical coherence. Although the final model explained slightly less variance in social anxiety compared to the initial model (39% versus 42%), this reduction reflects a model refinement process rather than a loss of explanatory value, emphasizing structural clarity over maximal prediction.
Based on the final path model, the following paths were not significant: Avoidant and secure attachment styles, avoidant attachment style to ego strength, ego strength to mentalization (certainty), mentalization (certainty) to social anxiety, and mentalization (uncertainty) to social anxiety. In contrast, ambivalent and secure attachment styles showed significant associations with ego strength; ego strength and secure and ambivalent attachment styles were significantly related to mentalization (uncertainty); ambivalent and avoidant attachment styles were directly associated with social anxiety; ambivalent attachment style showed a significant relationship with mentalization (certainty); and ego strength demonstrated a significant direct relationship with social anxiety.
Importantly, the removal of non-significant direct paths from mentalization to social anxiety suggests that mentalization does not operate as an independent predictor within the overall structural organization of the model. Rather, its role becomes meaningful when considered within the broader configuration of attachment-related vulnerabilities and ego functioning. In this sense, the present findings support a model-based, theory-driven interpretation of social anxiety, in which attachment styles function as predisposing factors, while ego strength and mentalization capacities are structurally embedded mechanisms contributing to the maintenance and expression of social anxiety symptoms during adolescence.
Previous findings regarding the mediating role of mentalization and ego-related capacities provide an important empirical context for interpreting the present path-analytic model; however, these studies have predominantly relied on variable-centered or regression-based approaches. Derogar et al. (
30) concluded in their study that mentalization played a significant mediating role between attachment styles and social anxiety. Similarly, as demonstrated by Hayden et al. (
31), mentalization plays a significant mediating role between attachment style and individual distress. Mansouri and Besharat (
32) also indicated that ego strength played a mediating role between attachment styles and mindfulness. Additionally, Safari Mousavi et al. (
33) stated that insecure attachment style directly, and indirectly through mindfulness, influenced mentalization. In contrast to these studies, the present findings suggest that mentalization does not function as an independent mediator, but rather operates within a broader structural configuration in which attachment styles shape ego strength, and ego strength constitutes the primary pathway linking relational vulnerability to social anxiety.
The initial hypothesized model was refined through path analysis by removing non-significant paths in order to achieve a more parsimonious and theoretically coherent structure. Specifically, direct paths from secure and avoidant attachment styles to social anxiety, as well as direct paths from mentalization certainty and uncertainty to social anxiety were excluded due to lack of statistical significance. This refinement resulted in a final model with improved interpretability, in which attachment styles exert their influence through structurally meaningful indirect pathways. The final model explained a substantial proportion of variance in social anxiety, highlighting the central role of ego strength as a key organizational construct linking attachment-related vulnerabilities to anxiety outcomes. Rather than weakening the model, the elimination of non-significant paths strengthened its theoretical clarity by emphasizing patterned relationships over isolated associations.
In interpreting these findings from a model-focused perspective, it is important to note that while mentalization capacity is associated with social anxiety, its effect is indirect and moderated when considered alongside other variables, particularly attachment styles and ego strength. Specifically, direct paths from the certainty and uncertainty dimensions of mentalization to social anxiety are not significant. This indicates that mentalization does not directly account for variations in social anxiety but exerts its effect indirectly through ego strength.
This aligns with the conceptualization of mentalization as a capacity embedded within ego functioning. Although mentalization may show a significant bivariate association with social anxiety, its effect becomes indirect when integrated within the broader framework of ego functions, represented here as ego strength. In this model, higher ego strength is associated with greater certainty and lower uncertainty in mentalization, highlighting a strong interdependence between these constructs.
Mentalization capacity plays a crucial role in emotion regulation and the development of a cohesive sense of identity. Previous research has consistently shown that this capacity develops within the context of secure attachment-based relationships, particularly when a caregiver is able to perceive the child as a subject with mental states and respond sensitively to their needs. In contrast, insensitivity or lack of responsiveness from caregivers can foster insecure attachment, subsequently creating challenges in the development of mentalization abilities. Empirical studies indicate that parents who cannot empathically reflect on the child’s inner experiences may contribute to hypermentalization, excessive rationalization of mental states, fragmentation of the self, impaired emotion regulation, and reduced capacity for stable, mutually satisfying interpersonal relationships. These early interactions are encoded as internal working models, which serve as cognitive-affective templates of the self, the caregiver, and their relationship, and predict later emotional and social functioning. By enabling reflection on both one’s own and others’ mental states, mentalization forms the foundation for effective social interactions (
22,
34-
37).
In the Iranian socio-cultural context, families are generally hierarchical, with parents — particularly fathers — exerting a controlling role, while children adopt a more submissive role. Such family structures may increase the likelihood of insecure attachment. In these contexts, the primary caregiver’s ability to understand and mentalize the child’s feelings is further compromised, especially when reflective functioning is weak. Moreover, adolescents, particularly girls, face high social expectations to conform to norms, creating dual pressures to adapt and perform. These cultural expectations can exacerbate fear of negative evaluation, a core component of social anxiety.
Individuals with high attachment anxiety, characterized by negative self-view and fear of interpersonal rejection, are prone to heightened social anxiety in evaluative situations. Conversely, adults with high attachment avoidance are self-critical, intolerant of uncertainty, distrustful of others, and uncomfortable with closeness. Empirical evidence suggests that these distinct attachment orientations predispose individuals to social anxiety through different psychological mechanisms (
22,
34-
37). Within this framework, mentalization capacity, when considered in the context of overall ego strength, mediates the relationship between attachment styles and social anxiety by shaping emotion regulation in social contexts.
Defense mechanisms are unconscious processes that modulate reactions to emotionally and socially challenging situations (
36). Research demonstrates that immature defenses are associated with distortion of self-image and emotional withdrawal, whereas mature defenses enhance awareness of feelings and ideas, leading to resilience and psychological well-being (
38-
40).
Individuals with high ego strength are better equipped to manage distress, criticism, mistakes, and other challenging situations without defensiveness, learning from these experiences and taking responsibility for their actions. While our findings did not indicate a direct mediating role of ego strength between attachment styles and social anxiety, ego strength is closely linked to mentalization capacity, which has been shown to partially mediate this relationship. Adults with elevated attachment anxiety or avoidance tend to report higher social anxiety, and mentalization partially explains this association. Thus, ego strength indirectly supports social functioning by enabling mentalization, highlighting its importance for overall mental health and adaptive responses to stress, including social anxiety (
14).
5.1. Conclusions
The findings of this study have important implications for clinical practice in addressing social anxiety in adolescents. By integrating the results into clinical assessments and interventions, mental health professionals can adopt a model-based approach that considers the interplay between attachment styles, ego strength, and mentalization capacity. Consistent with prior research, insecure attachment and weak parent-adolescent emotional bonds predispose adolescents to immature defense mechanisms and impaired mentalization, which in turn contribute to the development of social anxiety symptoms (
22,
34-
40).
Specifically, adolescents experiencing social situations may struggle to accurately understand their own and others’ emotions and mental states, heightening vulnerability to anxiety. Assessing these factors in clinical settings allows for targeted interventions aimed at enhancing adaptive functioning. Evidence from previous studies suggests that secure attachment, high mentalization capacity, and strong ego strength are protective against social anxiety (
14,
34-
36). Accordingly, interventions designed to improve attachment security, mentalization skills, and ego strength — such as attachment-based therapy, mentalization-based therapy, or cognitive-behavioral therapy (CBT) — may effectively alleviate social anxiety symptoms.
From a preventive and educational perspective, the model highlights the importance of assessing parent and adolescent functioning in these domains. Identifying deficits in parental awareness or adolescent development can inform preventive strategies, including parent and school administrator education, targeted skill-building in adolescents, and early interventions to reduce risk for social anxiety. By evaluating adolescents based on model factors, practitioners can determine susceptibility to social anxiety and implement evidence-informed preventive measures to mitigate the emergence of developmental difficulties.
In conclusion, this study offers a comprehensive, model-based understanding of the factors contributing to social anxiety, providing a foundation for both clinical intervention and preventive strategies aimed at promoting adolescent mental health.
5.2. Limitations
The present research is correlational in nature; thus, causal relationships among the variables cannot be inferred, and interventional studies are needed to further explore the relationships among the investigated variables. The statistical population of this research is limited to adolescent students; thus, the results cannot be generalized to all adolescents. Another limitation is that social anxiety is a topic influenced by numerous factors. Due to the extensive length of the questionnaires and potential difficulties in their completion, only the variables of the present study were investigated.