Digital competence is essential to teacher professionalism in the 21st century, yet few have examined how religiosity shapes it through digital ethics, particularly in Islamic higher education. To fill this gap, the research uses a quantitative survey approach to investigate the mediating role of digital ethics between religiosity and digital competence among pre-service teachers. The sample of 164 students of the social and humanities field education study program at Islamic universities in Jav