This study explores the relationship between psychological well-being and historical factors among individuals deprived of liberty in the Barranquilla Medium Security Prison (SMSBA). The research aimed to determine how historical factors influence psychological well-being in a sample of 131 male inmates. Two questionnaires were used: one to assess historical risk factors and another to measure psychological well-being. The results showed a positive correlation between psychological well-being and factors such as commitment to education, parental modeling, prosocial behavior, resilient personality, parental supervision, social support, problem-solving, empathy, and emotional conflict. Conversely, negative correlations were found with factors such as psychological and family violence, physical violence, negative attitudes, anger, self-harm, stress, and substance abuse. The study highlights the importance of understanding historical factors in the psychological well-being of inmates, as they significantly influence their mental health and behavior within the prison environment. The findings suggest that addressing these factors can improve the psychological well-being of inmates and reduce the risk of negative behaviors. The study contributes to the understanding of psychological well-being in prison settings and provides insights for improving mental health care for inmates.This study explores the relationship between psychological well-being and historical factors among individuals deprived of liberty in the Barranquilla Medium Security Prison (SMSBA). The research aimed to determine how historical factors influence psychological well-being in a sample of 131 male inmates. Two questionnaires were used: one to assess historical risk factors and another to measure psychological well-being. The results showed a positive correlation between psychological well-being and factors such as commitment to education, parental modeling, prosocial behavior, resilient personality, parental supervision, social support, problem-solving, empathy, and emotional conflict. Conversely, negative correlations were found with factors such as psychological and family violence, physical violence, negative attitudes, anger, self-harm, stress, and substance abuse. The study highlights the importance of understanding historical factors in the psychological well-being of inmates, as they significantly influence their mental health and behavior within the prison environment. The findings suggest that addressing these factors can improve the psychological well-being of inmates and reduce the risk of negative behaviors. The study contributes to the understanding of psychological well-being in prison settings and provides insights for improving mental health care for inmates.