Mediating role of self-esteem and hope in predicting quality of life among forensic psychiatric patients with homicide offenses Authors: Mariye Jenabi Ghods, Ladan Fattah Moghaddam, Tahereh Gilvari, Amirreza Rafiei Javazm, Mahshad Naserpour, Mohammad Javad Hosseinabadi‑Farahani Published: 2026 ABSTRACT AbstractBackgroundUnderstanding the psychological factors that influence the quality of life among patients with forensic psychiatric disorders admitted to inpatient care units is of principal importance in enhancing their well-being and rehabilitation outcomes. This study investigates hope as a mediator in the relationship between self-esteem and quality of life in this unique population.MethodsThis study was conducted among male forensic psychiatric inpatients admitted following homicide offenses at the forensic ward of Razi Psychiatric Hospital. A total of 58 participants were selected using census method. Data collection involved administering Rosenberg’s Self-Esteem Scale, Snyder’s Adult Hope Scale, and the World Health Organization Quality of Life-BREF questionnaire. Statistical analysis was performed using the Statistical Package for the Social Sciences (SPSS-26), including correlation analysis, univariable regression analysis, multivariable regression analysis, and mediation analysis.ResultsIn a simple regression model, Self-esteem positively associated with quality of life (coef. = 12.9, p <.001). Hope also positively linked to quality of life (coef. = 6.1, p <.001). Self-esteem positively associated with hope (coef. = 1.9, p <.001). Hope mediated the relationship between self-esteem and quality of life, including general health, physical health, mental health, social relationships, and environmental factors. The indirect effect of self-esteem on quality of life through hope was significant (11.2, 95% CI: 5.2 to 17.7), while the direct effect was non-significant (1.7, 95% CI: -5.1 to 8.5). 47% of the quality of life score variance was explained by self-esteem and hope.ConclusionBoth self-esteem and hope are significant predictors of quality of life in this population, with hope playing a mediating role in the relationship between self-esteem and various aspects of well-being. Interventions targeting self-esteem and fostering hope may prove beneficial in enhancing the overall quality of life for these patients.Supplementary InformationThe online version contains supplementary material available at 10.1186/s12888-026-08209-4.Keywords: Self-esteem, Hope, Quality of life, Forensic psychiatry, Homicide Background Forensic psychiatric disorders encompass a spectrum of conditions that intertwine mental illness with legal implications, often requiring specialized treatment within the intersection of mental health and criminal justice systems. In a previous study, more than 90% of forensic psychiatric inpatients were diagnosed with schizophrenia [1]. Around 41% of forensic psychiatric patients were found to have post-traumatic stress disorder (PTSD) in another study [2]. Other common disorders include mood disorders, substance use disorders, and psychotic disorders [3]. Homicidal behavior is often a direct consequence of severe psychiatric conditions such as psychosis, major mood disorders, or substance-induced states; when such offenses occur under diminished criminal responsibility, they fall within the domain of forensic psychiatry [4, 5]. Reliable international and country-level statistics specifically isolating homicides committed by individuals with diagnosed mental disorders are scarce and heterogeneous. Annual incidence rates of defendants found not guilty by reason of insanity vary widely across Europe, ranging from 0.1 to 11.4 per 100,000 people [6]. For example, in 2013, England and Wales had approximately 6,680 forensic psychiatric inpatients, Germany about 5,752 (excluding some regions), and Italy about 1,015 [7]. In Iran, individuals whose criminal acts—such as homicide—are legally attributed to psychiatric disorders are treated in designated wards within general psychiatric hospitals. Admission is guided by forensic psychiatric assessment and judicial authorization, and patients are hospitalized for treatment and risk management rather than punishment. Unlike some countries, Iran does not maintain standalone forensic psychiatric hospitals; in some cases, individuals may receive psychiatric care while detained in prison. Length of stay is determined by clinical progress and legal review rather than a fixed sentence [8, 9]. Due to the lack of specialized forensic psychiatric inpatient units, precise statistics on the number of forensic psychiatric patients in Iran are not publicly available [10]. The quality of life (QOL) for homicide offenders as a specific subgroup of individuals with forensic psychiatric disorders is a complex aspect of mental health care. QOL refers to individuals’ overall sense of well-being and contentment with their present circumstances [11]. The World Health Organization QOL Workgroup [11] defines it as “an individual’s subjective evaluation of their standing in life within the cultural and value framework of their society, and about their personal aspirations, expectations, standards, and concerns. It encompasses various aspects such as physical health, mental well-being, personal beliefs, social connections, and interaction with the environment [11, 12]. This unique population faces distinct challenges and barriers to achieving a satisfactory QOL, influenced by various factors such as the nature of their disorder, treatment modalities, societal perceptions, and legal constraints [13]. Self-esteem and hope emerge as key psychological constructs that deserve thorough investigation. Self-esteem, an individual’s subjective evaluation of their worth and capabilities, is fundamental in shaping perceptions, attitudes, and behaviors. Patients in forensic psychiatric wards often face stigma and negative perceptions due to their dual status as individuals with mental illness and involvement in the legal system [14]. This can significantly impact their self-esteem, leading to feelings of shame, worthlessness, and alienation. Moreover, the restrictive and institutional nature of forensic psychiatric settings, especially for homicide offenders, can further exacerbate these feelings by limiting patients’ autonomy and self-expression [15]. Research in general psychiatric populations demonstrates that self-esteem robustly predicts QOL. For instance, it accounts for approximately 24% of the variance in overall QOL among community-dwelling individuals with schizophrenia [16]. While existing literature does not directly examine the link between self-esteem and QOL in homicide offenders, general principles suggest that self-esteem may play a crucial role in their rehabilitation and reintegration. Enhancing self-esteem could positively impact their psychological well-being, autonomy, hope, and resilience—key factors in reducing recidivism and improving overall quality of life— [17]. Studies in broader psychiatric populations have demonstrated that depressive symptoms and uncooperative behaviors can detrimentally affect QOL, primarily through their association with low self-esteem [16]. However, to date, no research has specifically explored the predictive role of self-esteem on QOL in forensic psychiatric inpatients, despite the fact that factors influencing QOL in these specialized settings are still not well understood [13]. Hope, defined by a positive anticipation of achieving favorable results, is an essential coping strategy under challenging situations [18]. Within a psychiatric setting, fostering hope has been associated with enhanced personal recovery, improved coping mechanisms, and a greater sense of purpose, all of which contribute to better QOL outcomes [19]. It represents the belief in the possibility of change, growth, and transformation, even in the face of significant obstacles. For patients, cultivating hope can instill a sense of purpose, resilience, and motivation to engage in treatment and work towards their goals [20]. Recovery-oriented approaches in severe mental illness and forensic psychiatric settings highlight the importance of fostering hope as a central element, as it is closely associated with increased treatment engagement, psychological resilience, and belief in personal growth—key factors that support improvements in QOL— [21, 22]. Despite growing recognition of hope as a critical factor in mental health recovery, a significant gap remains in research specifically examining its predictive significance for quality of life among individuals with forensic psychiatric disorders, especially those who have committed homicide. Even though there is rising acknowledgment of self-esteem and hope as essential elements in healing mental health, there is still a considerable lack of research exploring their predictive value for quality of life in homicide offenders. This study aims to address this gap by exploring the nuanced relationships between self-esteem, hope, and quality of life in male forensic psychiatric inpatients with homicide offenses, representing one of the most legally and clinically complex subgroups within Iran’s forensic psychiatry system. Methods Study design and population This cross-sectional study recruited individuals admitted to the inpatient forensic psychiatric unit following a court determination of not being criminally responsible for murder due to psychiatric illness at Razi psychiatric hospital, located in Shahre Rey, Iran, between December 2023 and March 2024. All homicide offenders admitted to the forensic ward of this hospital were included using the census method. The census method was chosen to include the entire population of eligible patients within the specified timeframe, ensuring maximum data representativeness and minimizing selection bias. Although the study was conducted in a single forensic psychiatric unit, Razi Psychiatric Hospital is one of the largest and most centralized referral centers for forensic psychiatric patients in Iran. Patients admitted here are referred from various parts of the country and are evaluated based on standardized judicial and clinical criteria. Therefore, while Razi psychiatric Hospital functions as a major referral center, the findings primarily reflect the characteristics of a specific subgroup of forensic psychiatric patients (individuals found not criminally responsible for homicide due to mental illness) and should be interpreted with caution regarding generalizability beyond similar institutional and legal contexts. Forensic psychiatric services in Iran are not fully centralized, and some individuals with comparable legal and clinical profiles may be managed in regional facilities or under different judicial or treatment arrangements. Therefore, the present sample may not capture the full heterogeneity of forensic psychiatric populations nationwide. Since the number of patients meeting the inclusion criteria was limited, a census approach allowed for a more comprehensive understanding of the target population. It increased the statistical power of the findings despite the small sample size. The criterion for admitting patients to this part of the hospital is the absence of criminal responsibility due to a psychiatric disorder at the time of the offense. The court makes this determination in consultation with judicial authorities and forensic psychiatrists. Based on their decision, these patients are detained in the hospital for crucial psychiatric treatment and risk management. Moreover, participants must currently receive inpatient care, ensuring a controlled clinical environment for data collection. Patients with severe cognitive impairments or those unable or unwilling to provide informed consent or assent were excluded from the study. This exclusion was based on ethical requirements for valid informed consent and methodological concerns regarding the reliability of self-report data in individuals with substantial cognitive or acute psychiatric impairment. However, this may have resulted in underrepresentation of more severely ill patients. Data collection Data were collected using Rosenberg’s Self-Esteem Scale, Snyder’s Adult Hope Scale, and the World Health Organization Quality of Life-BREF (WHOQOL-BREF). In addition, socio-demographic and clinical information was obtained for each participant, including age, marital status, educational level, self-reported economic status prior to the offense, history of hallucinations and delusions before the homicide, use of psychiatric medication prior to the offense, previous psychiatric diagnosis, victim relationship, and the method or weapon used in the homicide. Participants’ medical records were also reviewed to verify psychiatric diagnoses. Rosenberg’s self-esteem scale The Rosenberg Self-Esteem scale consists of 10 items assessing global self-esteem. Each item is rated on a four-point Likert scale ranging from “strongly agree” to “strongly disagree”. Items 2, 5, 6, 8, and 9 are reverse-scored. After scoring each item, the total score is calculated, with higher scores reflecting higher levels of self-esteem [10]. The Persian version of this Scale has demonstrated good reliability (Cronbach’s α > 0.70) and validity in Iranian populations, including university students and general community samples [23, 24]. These findings support its use as a psychometrically sound tool for assessing self-esteem in the Iranian population. Snyder’s adult hope scale (AHS) The hope questionnaire, developed by Snyder et al. (1991), consist of 12 items and is structured around two dimensions: agency thinking and strategic thinking. Higher scores on this questionnaire indicate greater hope for life in the respondent, while lower scores suggest the opposite. The scoring system is based on a 5-point likert scale, ranging from completely disagree to completely agree. The scores of the 12 items are then summed up, yielding a potential score range of 12 to 60. Scores between 12 and 24 suggest low hope for life, those between 24 and 36 indicate average to low hope, while scores above 36 signify high hope for life. In this hope questionnaire, Snyder and colleagues reported reliability coefficients for the overall questionnaire, agency thinking subscale, and pathway thinking subscale through retest methods as 0.85, 0.81, and 0.74, respectively [25]. In an Iranian student population, the reliability of this questionnaire was assessed using Cronbach’s alpha, yielding coefficients of 0.82 for the overall questionnaire, 0.79 for the agency thinking subscale, and 0.88 for the pathway thinking subscale [26]. World health organization quality of life-BREF The World Health Organization Quality of Life-BREF (WHOQOL-BREF) is a comprehensive scale comprising 26 items designed to assess an individual’s overall quality of life and general health. It evaluates four specific domains of quality of life: physical health, psychological well-being, social relationships, and environmental factors. Participants reflect on their experiences over the two weeks preceding the interview when responding to the questionnaire [11]. Each item on the scale utilizes variations of a 5-point likert scale, ranging from 1 to 5, to assess the individual’s feelings of “how much,” “how completely,” “how often,” “how good,” or “how satisfied.” The scores for the four domains are computed by averaging all items within each domain, then multiplying by four, and subsequently linearly transforming the result to a 0–100 scale. Notably, scores for items 3, 4, and 26 are reversed scored. The Cronbach’s alpha coefficients in our sample for each of the four domains were: physical health, 0.81; psychological health, 0.84; social relationships, 0.63; and environment, 0.78 [27]. The Persian version of the WHOQOL-BREF has demonstrated strong psychometric properties in Iranian populations: it shows good internal consistency (Cronbach’s α > 0.70 across most domains—physical, psychological, environmental) and satisfactory test–retest reliability (ICC > 0.70), with established construct and discriminant validity via factor analysis and known-groups comparisons [28]. Ethical consideration The principle of confidentiality was observed during the research regarding the data received from the homicide offenders. The ethics committee of the University of Social Welfare and Rehabilitation Sciences approved this study under the code IR.USWR.REC.1399.028. Data analysis In this study, data analysis was conducted using the Statistical Package for the Social Sciences (SPSS) software version 26. Correlation analysis was performed to examine the relationships between variables, assessing the strength and direction of associations. Univariable regression analysis was employed to assess the individual associations between predictors, such as self-esteem and hope, and the outcome variable, quality of life. Additionally, multivariable regression analysis may have been used to simultaneously assess the effects of multiple predictors while controlling for potential confounding variables. Lastly, mediation analysis was conducted to explore the mediating role of hope in the association between self-esteem and quality of life, utilizing bootstrapping techniques to estimate confidence intervals for the indirect effects. Prior to conducting regression and mediation analyses, assumptions were examined. Normality of residuals was evaluated using the Shapiro–Wilk test and normal probability plots. Multicollinearity was assessed using Variance Inflation Factor (VIF), with all values less than two. Effect sizes (standardized β coefficients and R² values) were interpreted following conventional guidelines to indicate the magnitude of associations (Table S1 & 2). For the mediation model, bootstrapping test was applied to ensure robustness of indirect effect estimates. Results Table 1 reveals demographic and behavioral patterns among the homicide offenders. The participants have a mean age of 49.7 ± 11 years. The majority of participants are single (56.9%) and have a secondary level of education (72.4%). Economically, most fall into the middle-income category (62.4%). A significant proportion report experiencing hallucination and delusion (60.3%) and having a diagnosed mental disorder before homicide, schizophrenia being the most common mental disorder (94.8%). Additionally, a considerable portion report drug use (43.1%) and history of alcohol consumption (43.1%). The majority of homicide victims, at 41.4%, are disturbingly parents. Table 1Summary of participants’ characteristics (n = 58 Males)variableCategoryFrequencyPercentage %Age (mean ± SD)49.7 ± 11Marital statusSingle3356.9Married813.8Divorced1729.3EducationSecondary4272.4Diploma1220.7Academic46.9Self-express economic status*Low1729.1Middle3662.4High58.7Mental disorder**Yes3632.1No2237.9DiagnosisSchizophrenia5594.8Bipolar disorder35.2Hallucination & Delusion***Yes3560.3No2339.7Medication****Yes2543.1No3356.9History of Alcohol ConsumptionYes2543.1No3356.9Victim relationshipParents2441.4Partner58.6Child813.8Sibling610.3Close friends1525.9Method / Means of homicideKnife or sharp tools4374.1Strangling813.8812.1* Participant’s economic status before committing the homicide (self−reported)** The individual had a diagnosed psychiatric disorder before committing the homicide*** Participants experienced hallucinations or delusions before the offense**** Use of psychiatric medication prior to committing the homicide (if a psychiatric disorder had been diagnosed)) Summary of participants’ characteristics (n = 58 Males) * Participant’s economic status before committing the homicide (self−reported) ** The individual had a diagnosed psychiatric disorder before committing the homicide *** Participants experienced hallucinations or delusions before the offense **** Use of psychiatric medication prior to committing the homicide (if a psychiatric disorder had been diagnosed)) Table 2 provides descriptive statistics for the main variables in the study. Quality of life scores range from 114 to 406, with a mean of 290. Self-esteem scores range from 11 to 20, with a mean of 16.9. Other variables such as hope, general health, environmental health, social relations, mental health, and physical health also show variations within the sample. Table 2Descriptive statistics of the main variables in the studyVariableMean ± SDMinimumMaximumSkewnessKurtosisQuality of life290 ± 55114406− 0.41− 0.31 Physical health59.3 ± 103278− 0.320.20 Mental health60.7 ± 131291− 0.631.5 Social relationship55.1 ± 1325830.15− 0.35 Environmental health54.5 ± 1325840.12− 0.51 General health60.3 ± 230100− 0.560.17Self-esteem16.9 ± 21120− 0.56− 0.31Hope39.8 ± 62455− 0.29− 0.10 Descriptive statistics of the main variables in the study According to Table 3, all variables are positively and significantly correlated with each other. For example, the variable of hope is directly and significantly associated with the quality of life, with a correlation coefficient of 0.68 calculated. Table 3Correlation between main variablesVariableHopeSelf-esteemQOLGeneralEnvironmentalSocialPsychologicalPhysicalHope1Self-esteem0.691Quality of life0.680.511General health0.610.460.841Environmental health0.430.180.740.611Social relationship0.450.320.630.330.251Mental health0.480.460.750.440.430.431Physical health0.500.410.700.45400.440.501 Correlation between main variables Table 4 displays the relationship between demographic variables and other basic information of individuals with their scores on quality of life, hope, and self-esteem. These results are reported based on linear regression analysis. By considering the β coefficients for each independent variable and the outcome, one can determine the magnitude, direction, and significance of these effects. As observable in the table, having mental illness before murder and the economic status of individuals significantly affect their quality of life. On average, the quality of life score of individuals with pervious mental illness is 43 units lower compared to healthy individuals. Additionally, on average, the quality of life score of individuals with a higher economic status is 57.6 units higher compared to those with a lower economic status. Other examined variables did not have a significant effect on the three variables: quality of life, hope, and self-esteem. Table 4Association between baseline characteristics and main variables of studyDependentIndependentCategoryQOLHopeSelf-esteemβp-valueβp-valueβp-valueAge--0.100.880.100.270.030.19EducationSecondaryRef-----Diploma-220.24-3.20.15− 0.740.34Academic-290.38− 0.230.9510.42Marital statusMarriedRef-----Single2.10.92-2.20.44-1.40.16Divorced2.50.92-4.70.14-1.80.09Economic statusLowRef-----Middle12.80.472.10.300.750.29High57.60.0520.550.290.80Hallucination &DelusionNoRef-----Yes-8.10.61-1.80.33-10.13History of Alcohol ConsumptionNoRef-----Yes200.252.40.230.740.30Abuse HistoryNoRef-----Yes-6.80.74− 0.700.77− 0.760.36Physical DiseaseNoRef-----Yes-430.013*-2.40.21− 0.580.40 Association between baseline characteristics and main variables of study Table 5 reports the results of examining the direct effects of hope and self-esteem variables on quality of life, as well as the effect of self-esteem on hope through a single-variable regression model. For each unit increase in self-esteem score, the average quality of life score of individuals increases by 12.9 units. self-esteem is statistically associated with quality of life. The coefficient of 6.1 suggests that for every unit increase in hope, the quality of life score increases by an average of 6.1 units. The coefficient of 1.9 indicates that for every unit increase in self-esteem, the hope score increases by an average of 1.9 units. Table 5Association between study variables in the simple univariable regression modelUnivariable modelCoefficientp-valueSelf-esteem → Quality of life12.9< 0.001Hope → Quality of life6.1< 0.001Self-esteem → Hope1.9< 0.001 Association between study variables in the simple univariable regression model Table 6 presents the mediation analysis examining the indirect role of hope in the association between self-esteem and quality of life and its subscales. Three effects are reported: direct, indirect, and total effects. For example, the direct effect of self-esteem on quality of life was small and not statistically significant (coefficient = 1.7). The indirect effect through hope was statistically significant (coefficient = 11.2); however, the corresponding confidence interval was relatively wide, indicating imprecision in the estimate. Accordingly, although the total effect of self-esteem on quality of life (coefficient = 12.9) was statistically significant, these findings should be interpreted with caution due to the width of the confidence intervals and the cross-sectional nature of the data (Figs. 1 and 2). Table 6Mediation effect of hope on the association between self esteem and QOLOutcomeDifferent pathCoefficient95% Confidence intervalR-squareVAF*Lower limitUpper limitQuality of lifeDirect effect1.7-5.18.50.4710.86Indirect effect11.25.217.7Total effect12.9-1.120.3General healthDirect effect0.76-2.33.70.3800.85Indirect effect4.11.86.6Total effect4.8-1.28.5Physical healthDirect effect0.61− 0.902.10.2600.68Indirect effect1.30.022.6Total effect1.9− 0.614.1Mental healthDirect effect1.5− 0.503.50.2680.48Indirect effect1.4− 0.142.4Total effect2.9− 0.456.4Social relationshipDirect effect0.21-1.82.20.2040.88Indirect effect1.80.343.3Total effect2.01− 0.1.45.7Environmental healthDirect effect-1.4-3.30.580.2181Indirect effect2.40.964.2Total effect1.0-2.14.7*Variance Accounted For Mediation effect of hope on the association between self esteem and QOL *Variance Accounted For Mediation effect of hope on quality of life Mediation model diagram for all subscales Discussion This study aimed to investigates hope as a mediator in the relationship between self-esteem and quality of life among patients with homicide offenses admitted to inpatient care units. The findings revealed a significant positive relationship between self-esteem, hope, and quality of life. Self-esteem demonstrated a direct positive effect on quality of life, with an average increase of 12.9 points for every unit increase in self-esteem. Moreover, self-esteem indirectly influenced quality of life through its impact on hope. Although self-esteem and hope were statistically associated with quality of life, these relationships should be interpreted with caution given the relatively small sample size and wide confidence intervals. The findings suggest potential rather than definitive predictive relationships, highlighting the need for replication and confirmation in larger sample. Beyond demonstrating statistical associations, this study offers a context-specific theoretical contribution by showing that mediation processes linking self-related cognition to quality of life operate even within highly restrictive forensic environments. Unlike general psychiatric settings, where social participation, environmental flexibility, and community integration influence well-being, homicide-offender forensic patients experience constrained autonomy, institutional routines, and legal limitations that reduce the impact of external life conditions. These findings advance general psychiatric literature by showing that in populations with limited autonomy, such as forensic psychiatric patients, internal resources like self-esteem and hope play a disproportionately central role in shaping quality of life. Under such circumstances, internal psychological resources—particularly self-esteem and hope—may assume a disproportionately central role in shaping subjective quality of life. The mediation model therefore highlights a psychological pathway that may be uniquely salient in forensic psychiatric contexts. Consistent with these results, O’Flynn et al. indicate that self-esteem is a significant predictor of QoL among inpatients in forensic mental health settings. Specifically, the study found that higher self-esteem was associated with better QoL, even after controlling for other factors like depressive symptoms and social functioning [13]. This suggests that interventions aimed at improving self-esteem may have a positive impact on the QoL of forensic psychiatric patients. Additionally, Büsselmann et al. highlight the importance of QoL as a protective factor in reducing criminal recidivism among forensic psychiatric patients [29]. Theories like the Good Lives Model (GLM) propose that improving an individual’s quality of life and access to a “good life” can reduce their risk of reoffending [13, 29]. This model is a strengths-based approach to rehabilitation that focuses on helping individuals achieve personal goals—such as stable relationships, meaningful work, and emotional well-being—in prosocial ways. For example, a forensic patient may be supported in building social skills and self-esteem to reduce isolation and improve their quality of life, ultimately lowering the risk of reoffending [30]. In line with rehabilitation and recovery frameworks in forensic psychiatry, the Good Lives Model emphasizes the development of personal strengths, autonomy, and meaningful engagement as central to effective rehabilitation [17]. This perspective aligns with recovery-oriented care, which prioritizes empowerment, self-efficacy, and social inclusion rather than mere risk management [17]. From this standpoint, interventions that foster self-esteem and hope may facilitate not only improvements in quality of life but also progress toward rehabilitation goals—such as building prosocial identity, enhancing coping capacities, and reducing the likelihood of reoffending [17, 31]. Our study suggests that enhancing self-esteem may be associated with improvements in both hope and quality of life. This dual role of self-esteem—both directly enhancing quality of life and indirectly through fostering hope—underscores its significance in shaping subjective well-being among individuals with forensic psychiatric disorders. From a theoretical perspective, the associations between self-esteem, hope, and quality of life can be understood through Self-Determination Theory and resilience frameworks. Self-esteem satisfies basic psychological needs (competence, autonomy, relatedness), thereby supporting intrinsic motivation and hope. Concurrently, both self-esteem and hope function as core psychological resources that promote adaptive coping, emotional regulation, and resilience—particularly relevant in stigmatizing and challenging contexts such as forensic psychiatric settings. In this integration, self-esteem primarily enhances individuals’ sense of worth and agency, which (a) fosters more constructive coping strategies (e.g., problem-solving, seeking social support) [32], (b) buffers the negative impact of stress and adversity [33], and (c) strengthens interpersonal relationships and social belonging [34, 35]. These pathways collectively nurture hope and contribute to better overall quality of life [36, 37]. The finding that hope mediates the relationship between self-esteem and quality of life is particularly relevant for forensic psychiatric patients, who often experience profound stigma, social isolation, and hopelessness [38]. These circumstances can erode self-esteem and well-being, yet the results indicate that internal cognitive processes—self-evaluative (self-esteem) and future-oriented (hope)—remain key determinants of subjective quality of life, even in environments with severely restricted autonomy and external opportunities. These findings extend general psychiatric literature by shifting the focus from symptom-based and functional explanations of quality of life toward self-evaluative and future-oriented cognitive processes in legally and institutionally constrained populations. While prior research has established associations between self-esteem, hope, and quality of life in general psychiatric samples, the present study demonstrates that these internal processes remain central determinants of well-being even when environmental autonomy is minimal. This extends prior literature, which has established direct links between hope and quality of life in various groups [39, 40], as well as mediating roles of self-esteem and hope in other psychiatric populations (e.g., elderly with unmet needs; [41]) and hopelessness as a barrier to positive change [42]. In contrast to general psychiatric samples where external factors (e.g., social participation) play a larger role, the present study highlights the disproportionate importance of these internal resources in legally and institutionally constrained forensic contexts. Clinically, these findings suggest that interventions targeting self-esteem—such as cognitive-behavioral therapy, psychoeducation, and social skills training—could enhance hope and agency [43], enabling patients to set meaningful goals, build positive relationships, and improve overall quality of life [44]. Such approaches align with recovery-oriented care by addressing the unique psychological needs of this population. Nonetheless, as this study is cross-sectional, the mediation reflects associations rather than proven causality; longitudinal designs are needed to clarify directional pathways. Limitations One limitation of this study is its reliance on a specific population of forensic psychiatric patients admitted to a single hospital (Razi Psychiatric Hospital) in Iran. Given that all participants were forensic psychiatric inpatients with homicide offenses, the results may not be generalizable to other forensic populations such as individuals with different types of offenses or those in community-based forensic services. This hospital is a major national referral center for patients found not criminally responsible due to psychiatric illness. It receives individuals from various regions across the country. However, findings should still be generalized with caution. Because patients who were unable to provide informed consent were excluded, the sample may overrepresent individuals who were more clinically stable and cognitively intact. Therefore, the findings should be interpreted with caution and may not be generalizable to the most severely ill or acutely psychotic forensic psychiatric patients. Additionally, the use of purposive sampling allowed for the inclusion of all eligible patients during the study period. However, this approach may introduce selection bias and affect the broader representativeness of the sample. The reliance on self-report measures for assessing self-esteem, hope, and quality of life may also introduce response bias, potentially affecting the accuracy of the data. Moreover, mediation analysis in cross-sectional data is limited by temporal ambiguity and potential model equivalence, meaning that the assumed direction of relationships cannot be empirically verified and alternative models may fit the data equally well. Furthermore, given the relatively small sample size (N = 58) relative to the number of predictors included in the multivariable regression and mediation models, there is a risk of overfitting, which may affect the stability of the estimated coefficients. Because this study employed a cross-sectional design, the mediation relationships observed between self-esteem, hope, and quality of life should not be interpreted as causal. The results indicate statistical associations that require confirmation through longitudinal or interventional research to establish temporal and causal directions. Conclusion The findings revealed a significant positive relationship between self-esteem, hope, and quality of life. Self-esteem was found to have a direct positive effect on quality of life, with higher self-esteem associated with better quality of life scores. Additionally, self-esteem indirectly influenced quality of life through its impact on hope. These results highlight the clinical importance of self-esteem and hope as key psychological constructs in forensic psychiatric care. Incorporating interventions that target self-esteem—such as cognitive-behavioral therapy, strengths-based approaches, and social skills training—may be associated with improvements in quality of life and hope. Hope itself can be promoted through motivational interviewing and structured goal-setting interventions. Such approaches may enhance treatment engagement, support personal recovery, and potentially reduce the risk of recidivism by improving patients’ psychological well-being. Overall, this study offers actionable clinical insights for improving quality of life in individuals with forensic psychiatric disorders through targeted psychological support. Electronic Supplementary Material Below is the link to the electronic supplementary material. Supplementary Material 1 Acknowledgements The researchers gratefully acknowledge the invaluable cooperation of the staff at Razi Psychiatric Hospital and other collaborators. Special thanks are extended to the patients residing in the forensic psychiatric wards of Razi Psychiatric Hospital for their participation and collaboration with the research team. Abbreviations Post-Traumatic Stress Disorder Quality of Life Snyder’s Adult Hope Scale World Health Organization Quality of Life-BREF Author contributions MJG: Conception, Design and Critical Review, Literature Review, Writing. L.FM: Conception, Design, Data Collection and Processing and Supervision. TG and ARJ and MN: Materials, Analysis and/or Interpretation and Critical Review. MJ.HF: Conception, Design, Materials, Supervision, Critical Review. Funding This study is part of a research project and has been supported financially by the University of Social Welfare and Rehabilitation Sciences. Data availability The datasets used and analyzed in this study are available from the corresponding author upon reasonable request. Declarations Ethics approval and consent to participate In accordance with the Declaration of Helsinki, This study was approved by the Research Ethics Committee of the University of Social Welfare and Rehabilitation Sciences, under code: IR. USWR. REC.1399.028, and participants were recruited only after obtaining informed consent. Consent for publication We obtained informed consent from all participants for the publication of this study, ensuring that their personal information remains confidential and is used solely for research purposes. Competing interests The authors declare no competing interests. Footnotes Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. References Associated Data Supplementary Materials Supplementary Material 1 Data Availability Statement The datasets used and analyzed in this study are available from the corresponding author upon reasonable request.