The period when education services were tried to be provided remotely due to the COVID-19 epidemic enabled teachers to be intertwined with technology-supported teaching platforms. The acquisition of the technology required for the use of the platform, the adaptation of the existing teaching strategies, methods, and techniques to the platform, and the need to stay in touch with all stakeholders related to education in this process have led to new experiences for teachers as well as many challenging situations. During this process, it was predicted that teachers frequently use their cognitive flexibility, which enables them to think about different solutions and make functional changes for different or problematic situations. The research is a survey study and data were collected from a group of teachers with the Cognitive Flexibility Inventory and the Attitude Scale towards Compulsory Distance Education, whose validity and reliability were retested within the scope of this research. The results of this study, in which the data were analyzed with descriptive statistics, show that the cognitive flexibility of the teachers participating in the research was high during the epidemic period and that they had attitudes that could not be evaluated either positively or negatively regarding compulsory distance education. Although there is a relationship between teachers' cognitive flexibility levels and their attitudes towards compulsory distance education, it is at a low level. The cognitive flexibility of teachers can predict a very small part of their attitudes towards compulsory distance education. The findings obtained from the research are discussed in relation to other research results.