Individual differences in executive functions are almost entirely genetic in origin:

Recent psychological and neuropsychological research suggests that executive functions — the cognitive control processes that regulate thought and action — are multifaceted and that different types of executive functions are correlated but separable.

The present multivariate twin study of three executive functions (inhibiting dominant responses, updating working memory representations, and shifting between task sets), measured as latent variables, examined why people vary in these executive control abilities and why these abilities are correlated but separable from a behavioral genetic perspective.

Results indicated that executive functions are correlated because they are influenced by a highly heritable (99%) common factor that goes beyond general intelligence or perceptual speed, and they are separable because of additional genetic influences unique to particular executive functions. This combination of general and specific genetic influences places executive functions among the most heritable psychological traits. These results highlight the potential of genetic approaches for uncovering the biological underpinnings of executive functions and suggest a need for examining multiple types of executive functions to distinguish different levels of genetic influences.