Information and Communication Technologies (ICT) are tools to be used to support educational processes and students have access to them more and more every day. However this does not assure the appropriate use of these tools. That is why the objective of the present study is to identify the level of competency in the use of ICT of students in secondary schools in Obregon City, Sonora, Mexico, in the opinions of the students themselves and of their teachers and to compare this with the level of digital competencies of students in some regions of Spain, using an investigation carried out earlier. Two questionnaires with 51 questions were used, one for 949 students and the other for 49 teachers. The results show that students claim to have between moderately and very high levels of competence in ICT skills while their teachers say the students have high levels of competence in some technological skills such as producing a written documents with a word processor. In the study in Spain, students and teachers voiced similar averages in the highest level of competencies, but differed in the competencies with the lowest averages.