Grade repetition is an issue with important educational implications. This study analyzes the effect of cognitive variables, socio-economic status, as well as the interaction of socio-economic status with ethnic origin, on the probability of not repeating. Data were collected to calculate socioeconomic status using the Hollingshead Socioeconomic Index, and the following tests were administered to collect information on cognitive variables: the Primary Mental Aptitude Test (PMA), the Raven's Progressive Matrices Test, and the Wechsler Intelligence for Children Information Scale (WISC IV). The sample consisted of 664 students of Compulsory Secondary Education (ESO), Baccalaureate and intermediate and higher vocational training. The results confirm the predictive power of socioeconomic status. With regard to cognitive variables, significant results were only obtained when the WISC-IV Information Scale was taken as a predictor, this measure being related to crystallized intelligence. The influence of the origin of the students did not yield significant results. There is a clear need for a debate and a rethinking of the issue leading to the identification of new strategies to reduce grade repetition and its negative effects.