This study used a three (animation types: educational, entertainment, and control groups) × four (age group: four-, five-, six-, and seven-year-olds) between-group experimental design to investigate the short-term effects of animation type and age on each component of children’s executive function (EF) (inhibitory control [IC], cognitive flexibility [CF], and working memory [WM]). One hundred twenty-six kindergarten and first-grade elementary school students in a city in Henan Province of China were selected for the experimental study. The results showed that briefly watching animation affected children’s EF. Specifically, watching entertainment cartoons weakened children’s IC and CF, while cartoons did not affect children’s WM. The moderating effect of age in the relationship between animation type and EFs was non-significant. This study suggests that researchers should focus on the uniqueness of each component of EF in children aged four to seven years, and parents should try to limit children’s viewing of animation, especially entertainment animation.