The ability to assess executive functions such as behavioral flexibility in rats is useful for investigating the neurobiology of cognition in both intact animals and disease models. Here we describe automated tasks for assessing strategy shifting and reversal learning, which are particularly sensitive to disruptions in prefrontal cortical networks.