Risky behaviors can include a wide range of activities, such as smoking, alcohol and drug use, unprotected sexual practices, aggression, self-harm, suicide, and reckless driving (
1). The prevalence of risky behaviors is notably higher among college students due to various biological, psychological, and social factors (
2,
3). Smoking, using hookah, and suicide ideation have been identified as the most common risky activities among university students in Iran (
4). Some theories attribute these actions to the underdevelopment of the brain's lobes, while others suggest that they stem from peer influence and modeling (
2). One of the psychological processes that, according to the ego psychology framework (
5), can predict the likelihood of risky behavior in various personalities is the ego's defense mechanisms. According to the ego psychology framework, defense mechanisms are defined as unconscious and semi-conscious strategies that individuals employ to manage distressing emotions, distort reality, and cope with various life stresses (
5). These mechanisms are categorized into three groups: Neurotic mechanisms such as projection, immature mechanisms like acting out, and mature mechanisms including sublimation and humor (
6). In contrast to mature defenses, the primary aim of immature defenses is to avoid experiencing uncomfortable emotions (
7). Prior research has demonstrated that defense mechanisms exhibit varying associations with different mental disorders (
8-
10). For example, in the context of depression, mechanisms like identification and internalization are notably prevalent (
9), whereas in obsessive-compulsive disorder, the mechanism of reaction formation holds greater significance (
10). In the context of antisocial behaviors, acting out and projection play a more pronounced role (
11-
13). Prior research concerning risky behaviors, including reckless motorcycle operation (
14), alcohol consumption (
15), substance abuse (
16), and unprotected sexual encounters (
17), has demonstrated that immature mechanisms and neurotic defensive mechanisms serve as substantial risk factors for both the onset and continuation of these behaviors. Although there is substantial evidence indicating that defense mechanisms can predict risky behaviors (
14-
20), alternative psychological frameworks propose that the connection between these mechanisms and risky behaviors is influenced by a range of other personality factors, such as health beliefs and self-esteem (
21-
23). Self-esteem is defined as an individual's evaluation and judgment of their own worth and self-acceptance (
24). The findings concerning the influence of self-esteem on risky behaviors are inconclusive (
24,
25). Numerous studies have established a correlation between high self-esteem and a reduced likelihood of engaging in risky behaviors (
26,
27). Conversely, certain research outcomes suggest that self-esteem may not serve as an effective deterrent against behaviors associated with legal violations, aggression, and delinquency; rather, it could potentially exacerbate the inclination towards such behaviors under particular circumstances (
25,
28). The examination of the connections among self-esteem, defense mechanisms, and risky behavior is justified for various reasons. Notably, self-esteem is inherently linked to self-assessment and self-concept, which are significantly influenced by defense mechanisms (
24). Second, individuals who depend on less mature defense mechanisms are prone to receiving negative feedback from their social environment, which can lead to a decline in their self-esteem (
24). Consequently, these individuals might resort to maladaptive behaviors and risky actions as a means to reshape their identity and manage the negative self-perception that has emerged (
29,
30). For reaching a more integrative theoretical framework, we applied a hybrid theoretical model with the ego psychology framework and cognitive behavioral factors as mediators (
5). Furthermore, a burgeoning area in the etiology of risky behaviors involves finding trans-diagnostic factors, which refers to factors that can predict individual differences in engaging in risky behaviors or mental disorders, independent of specific theories (
31,
32). It appears that self-esteem may function as a trans-diagnostic factor that could more accurately forecast risky behavior than the concept of defense mechanisms, which are predominantly shaped by psychoanalytic theories. Previous studies have indicated that self-esteem can serve as a trans-diagnostic element that connects different risk factors to risky behaviors (
33,
34).