To better-understand how brain flexibility influences cognition, Kamen Tsvetanov and colleagues first developed techniques to improve measurements of brain function, and then applied those techniques to show that cognitive ability is influenced by brain network flexibility in the frontal cortex. Interestingly, this relationship becomes more important with age, showing that to maintain cognition through the lifespan, brain flexibility is crucial.