The failure and dropout of university studies are issues that worry all nations due to the personal, social, and economic costs that this they entail. Because the dropout phenomenon is complex and involves numerous factors, to reverse it would involve a comprehensive approach through interventions aimed at the factors identified as key in the decision to drop out. Therefore, the main objective of this work is to determine the profile of students who enter the EPN (STEM higher-education institution) to analyze the characteristics that differentiate students who drop out early in their career and those who stay in school. A sample of 624 students who accessed the EPN leveling course (a compulsory course at the beginning of their studies) participated in the study. A total of 26.6% of the participants were women. A total of 50.7% of the participants passed the course. Data referring to social, economic, and academic variables were analyzed. Comparison techniques, as well as artificial neural networks, were used to compare characteristic profiles of students who passed the leveling course and those who dropped out. The results showed significant differences between the profiles of the students who passed and those who dropped out with regard to the variables related to previous academic performance and motivational and attributional aspects. The artificial neural networks corroborated the importance of these variables in predicting dropout. In this research, the key variables predicting whether a student continues or leaves higher education are revealed, allowing the identification of students at possible risk of dropping out and thus promoting initiatives to provide adequate academic support and improve student retention.