Introduction: One of the symptoms of people with autism spectrum disorder (ASD) is behavioral inflexibility, which causes poor adaptation to environmental demands and behavioral problems. The present study investigated, the role of executive functions in predicting the behavioral flexibility of young children with ASD. Methods: In this correlational study, the convenience sampling method selected 45 children aged 16 to 36 months. Data were collected using the behavior rating inventory of executive functioning-preschool version (BRIEF-P) and the behavior flexibility rating scale-revised (BFRS-R). Pearson correlation coefficient and simultaneous regression were used to analyze the data using SPSS-24 software. Results: The results of Pearson correlation coefficient and regression analysis revealed that the behavioral flexibility of children with inhibition (P<0. 05, r=0. 37), shifting (P<0. 01, r=0. 45), emotional control (P<0. 01, r=0. 49), planning/organizing (P<0. 05, r=0. 34), inhibitory self-control (P<0. 01, r=0. 44), cognitive flexibility (P<0. 01, r=0. 55), metacognition (P<0. 05, r=0. 30), and total score of executive functions (P<0. 01, r=0. 46) is correlated. Working memory had no significant relationship with young children's behavioral flexibility (P>05, r=0. 23). The overall score of young children executive functions predicts 18%, 15%, and 21% of the variance, respectively, of the behavioral flexibility of young children in relation to objects, the environment, and the overall score of behavioral flexibility. Executive functions did not have the ability to significantly predict behavioral flexibility toward individuals. Conclusion: The present study concluded that executive dysfunction is associated with behavioral flexibility in young children with ASD. It is suggested that in future studies, the design of early interventions to improve executive functions with the aim of increasing the flexibility of children with ASD be considered.