Artificial intelligence plays a leading role across various sectors, underscoring the importance of understanding the individual factors influencing their acceptance. Previous research has pointed out that variables such as age, gender, and cognitive flexibility impact attitudes toward these technologies. However, the interaction among these variables still requires further analysis. This study sought to explore the relationships between cognitive flexibility, age, gender, and attitudes toward artificial intelligence in a sample of 342 participants, with an average age of 26.80 years. Employing a descriptive-correlational design, two scales were used: one to measure cognitive flexibility and another to assess attitudes toward this technology. Due to the lack of normality in the distributions of the variables, Spearman's correlation was used for the analysis. The results show that cognitive flexibility and educational level have a positive and significant relationship with the attitude toward artificial intelligences (r = 0.245, p < 0.001 and r = 0.140, p = 0.009, respectively). On the other hand, age presents a weak negative relationship (r = -0.117, p < 0.05), while no significant relationship was observed with gender. These findings provide an initial basis for understanding individual differences in technology acceptance, although further research is needed to delve into the underlying mechanisms and evaluate other contextual factors.