With the rapid development of Chinese society and economy as well as the deepening of the reform of the higher education management system and the change of employment mode of graduates, college students face various challenges of frustration and pressure in the areas of value and ethical concepts, interpersonal relationships, behavior, life, and employment. Some students who are relatively fragile psychologically are unable to bear the heavy pressure of frustration and challenges, and are prone to psychological crisis, overreacting, and even hurting others or self-injury or suicide. How to solve the current psychological problems of college students and help them become adults and talents is a new task and a serious challenge for college students’ mental health education under the new situation. With the development of the Internet, more and more people are expressing their emotions in social networks, including suicidal intentions, which creates new opportunities for suicide prevention. If suicide risk can be automatically identified using microblogs, it can open up new directions for suicide prevention efforts. This paper is based on the use of deep learning to build a social media suicide identifier to explore the possibility of assessing individual users’ suicide in real time through social platforms. To verify the effectiveness of this algorithmic model, the keyword attributes used by the algorithm are statistically analyzed and compared with the prediction results of two other algorithmic models. The experimental results show that the algorithmic model based on deep learning can be more effective in predicting the suicide risk of microblog users.