Computational thinking refers to a series of cognitive processes involved in solving problems through a computational system. A growing body of studies has managed to demonstrate the correlation between computational thinking and different cognitive domains. From these findings, in recent decades, multiple studies have taken place, seeking to evaluate the effect of computational thinking on higher-order cognitive processes. The current study aims to contribute to this discussion by studying the effect of an intervention program in computational thinking on the executive functions of school-age children. In this experimental study, 30 children from 10 to 11 years, were randomly assigned to an experimental group and an active control group. The instruments to collect the data were the 15 tests of the neuropsychological battery of executive functions and frontal lobes BANFE-2, which were applied to both groups before and after the intervention. The experimental group participated in an 8-week computational thinking intervention, twice a week with plugged and unplugged activities and block programming language. The results showed that the intervention had significant effects on executive functions associated with the anterior prefrontal cortex and the dorsolateral cortex, but not those related to the orbitofrontal area.