CONCLUSIONS: Sexual orientation, substance use, lack of material, and affective support were identified as significant risk factors for suicidal behavior and suicide attempts among medical students. Additionally, hopelessness, history of mental health diseases, and ADHD symptoms were associated with an increased risk. These findings underscore the need for targeted interventions that include behavior modification for substance use and the reinforcement of emotional and social support networks.