This Brain Switch Controls Cognitive Flexibility

Columbia University Irving Medical Center

Columbia scientists have discovered a brain circuit in mice that acts like a dimmer switch for tuning cognitive flexibility up and down, a finding that could help people break out of rigid and harmful thought patterns.

Cognitive flexibility is essential for allowing us to shift tasks and strategies in response to day-to-day changes, anything from a traffic officer waving you through a red light, to a surprise snow day, to a global email outage. The same ability also works on our thoughts: letting us drop a worry once it has been resolved or stop replaying a mistake once the lesson is learned.

When that inner flexibility breaks down-as it frequently does in depression, anxiety, addiction, and other mental disorders-people have difficulty breaking out of their thought patterns. That "stuckness" takes the form of rumination in depression, worry loops in anxiety, return to use in addictions, and compulsions in OCD.

"Cognitive flexibility is arguably the thing patients describe when they say they feel stuck, and it often fails to recover after months of treatment," says Mark Ansorge, PhD, associate professor of clinical neurobiology in the Department of Psychiatry at Columbia University's Vagelos College of Physicians and Surgeons, who lead the research.

"Our study sheds light on how the brain switches between rules, and it provides a foundation for further investigation that could improve diagnosis and treatment."

The search for a cognitive flexibility circuit

Previous studies of people with impaired cognitive flexibility caused by brain injuries pointed to the brain's prefrontal cortex-a region just behind the forehead-as a logical location for such a circuit. Other studies, in animals, indicated the involvement of neurons that release serotonin to transmit messages.

To pinpoint the circuit, Ansorge's team used the latest brain recording techniques that measure the activity of specific neurons in mice as the animals move freely about their cages. With the mice hooked up to these brain recorders, the animals were presented with a test of their cognitive flexibility: a digging game, with changing rules, for a hidden treat.

illustration of mouse and food choices

Testing cognitive flexibility in mice with the digging game test. A mouse is offered two bowls, each with a different scent and a different filling, and a treat buried in only one. At first the scent is what counts-cinnamon always hides the treat, no matter what the bowl is filled with-and the mouse learns to follow its nose and ignore the filling. Then the rule changes without warning. Sometimes the answer is still a scent, just the other one. But sometimes scent stops mattering altogether and the treat is marked by the filling, the very thing the mouse had learned to disregard. That second rule change is the hard one and requires cognitive flexibility to locate the treat.

At the precise moment the mice were weighing up their options during the game, the researchers spotted specific neurons, originating in the brainstem, delivering shots of serotonin to the prefrontal cortex. When picking the correct dish became more difficult when the rules of the game changed, more serotonin was released. Optogenetic experiments, which allowed the researchers to raise and lower serotonin release, revealed that serotonin levels controlled the animals' cognitive flexibility.

graphs of serotonin neuron activity

Mice were more agile problem solvers when neurons in the animals' cognitive flexibility circuit were active and releasing serotonin. When serotonin was released (top image) as a mouse weighed its options during a cognitive test, the animal passed the test and found the reward; without serotonin release (bottom image), the mouse failed the test. Images from Morgan et al. (2026).

"Mice were much more agile problem solvers when the circuit's neurons released more serotonin," Ansorge says. "That suggests turning up the gain on serotonin signaling in the prefrontal cortex allows the brain to let go of a pattern that is no longer working. Conversely, when we turned serotonin release down, the mice kept following the old rule. They were stuck."

Potential for therapy

In principle, targeting the switch could lead to therapies that improve cognitive flexibility, Ansorge says.

The new study also found that serotonin quiets the prefrontal cortex's main output neurons by binding to 5-HT1A receptors, which SSRI antidepressants also target indirectly. "SSRIs can sometimes help patients abandon ineffective thought patterns, but targeting this circuit more directly should affect cognitive flexibility more precisely and more strongly," Ansorge says.

Psychedelics could be a possibility, as anecdotal reports suggest psychedelics like ayahuasca and psilocybin improve cognitive flexibility in people. "These improvements are reported to occur after the drug leaves the system, and if true, suggest the drug is making a lasting change to the circuit, possibly making it more sensitive to endogenous serotonin release," says Ansorge. "This is only a hypothesis, but with our new findings, it is now testable."

The team is also testing the idea that serotonin improves cognitive flexibility by narrowing the brain's focus. "When you concentrate intensely on something, you stop registering everything else-someone can ask you a question and you won't even hear it," Ansorge says. "We think serotonin may do something similar inside the circuit: quieting the prefrontal cortex's output neurons so that only the cues that currently matter get through."

/University Release. This material from the originating organization/author(s) might be of the point-in-time nature, and edited for clarity, style and length. Mirage.News does not take institutional positions or sides, and all views, positions, and conclusions expressed herein are solely those of the author(s).View in full here.