This study focuses on identifying personality traits in computer science students and determining whether they are related to academic performance. In addition, the importance of the personality traits based on motivation scale and depression, anxiety, and stress scales were measured. A sample of 188 students from the Computer Engineering Schools of the Pontifical Catholic University of Valparaíso was used. Through econometric two-stage least squares and paired sample correlation analysis, the results obtained indicate that there is a relation between academic performance and the personality traits measured by educational motivation scale and the ranking of university entrance and gender. In addition, these results led to characterization of students based on their personality traits and provided elements that may enhance the development of an effective personality that allows students to successfully face their environment, playing an important role in the educational process.