The current educational context demands digital competence from teachers as one of the key factors to guide the process of teaching and learning in a digital society. It thus becomes necessary to identify first-year university students' competence, in order to design training that allows its development, not only at an instrumental level, but, above all, with a marked methodological character. The main aim of this research is to analyze and compare in terms of gender and degree, the perception that first-year students of Education in Catalonia and Andorra have about their level of teacher digital competence (TDC), as a means for a formative assessment method that allows future teachers to reflect on the development of this competence. A descriptive and comparative analysis with a quantitative, non-experimental and transectional approach and a post-hoc design was carried out, in which 1558 first-year students of the Bachelor's degrees in Education from the Catalan and Andorran universities answered to a questionnaire during the 2020-21 academic year. The findings show that, in general, participants show a high self-perception of their teacher digital competence, assessing themselves more competent in ethical aspects, communication and use of digital resources and applications, while they feel less capable in aspects related to pedagogical design, evaluation and the use of digital technologies for learning.