This study aims, first and foremost, to validate the psychometric properties of the scale Acceptance and Self-Efficacy for the Integration of Artificial Intelligence (AAIIA) in the Teaching of History and Literature for its application in the Spanish context. This scale, specifically designed based on technological acceptance models and standardized psychometric guidelines, represents the first instrument to address the integrated use of AI in the curricular domains of History and Literature. Secondly, the study examines potential differences in knowledge, attitudes, readiness for AI use, and perceptions of its pedagogical impact according to three sociodemographic variables of secondary education teachers: gender, educational level, and geographical origin. The results confirm the bifactorial structure of the instrument, demonstrating adequate fit indices (RMSEA = 0.043, SRMR = 0.023, CFI = 0.982, TLI = 0.980) and high internal consistency (α = .928, ω = .866), providing evidence of its reliability and validity for application among Social Sciences and Literature educators in Spain. Furthermore, the findings reveal no statistically significant differences in the sociodemographic variables analyzed, except for gender. Men teachers exhibit significantly higher scores in knowledge, attitudes, readiness, confidence in their abilities, and motivation to integrate AI into their teaching practice. However, women teachers report the highest scores in their perception of AI’s pedagogical potential, particularly in its capacity to personalize learning, support the teaching process, facilitate assessment, and foster the development of critical thinking skills.