This study was conducted using a quantitative approach with an ex post facto method, aiming to determine the influence of digital literacy and optimism on teachers' profesional competence. The research was carried out at State Elementary Schools in the Selembayung Madani Cluster, Tuah Madani District, Pekanbaru City, involving a sample of 168 teachers, determined using Slovin’s formula with a…