Cognitive Flexibility: Why Switching to Plan B Feels Impossible
Last reviewed: 11/15/2026
Reviewed by: Dr. Kiesa Kelly

The restaurant is closed when you arrive. A meeting moves up an hour. Someone suggests a different route home. For some people these are small bumps. For you, they can wreck the rest of the day. The plan in your head will not let go, the new plan will not load, and you feel irritated, frozen or close to tears over something you know is minor. Psychologists have a name for the skill that is struggling here: cognitive flexibility, the ability to switch from one plan or way of thinking to another.
Having trouble with cognitive flexibility is not a diagnosis, and it does not mean something is wrong with you. Switching is hard work for every brain, and it is one of the executive functions, the self-management skills our guide to executive dysfunction in adults covers in full. The useful question is why it is harder for you, and why it is harder now. In adults, the same stuck feeling can come from ADHD, autism, anxiety, OCD, depression or a night without sleep, and each of those points to a different kind of help.
In this article, you'll learn:
What cognitive flexibility is, in plain language
Three misconceptions about rigid thinking
What it looks like when a plan changes, at work and at home
How ADHD, autism, anxiety, OCD, depression and sleep loss can each make switching harder
How flexibility is assessed, and why a checklist can't settle the question
What helps, what to be cautious of, and when to get evaluated
What cognitive flexibility is: the short answer
Cognitive flexibility is the ability to let go of one plan, rule or point of view and take up another when circumstances change. In a widely cited review, psychologist Adele Diamond counts it among the core executive functions and includes in it the ability to adapt quickly to changed circumstances, to see things from a different perspective, and to take advantage of an unexpected opportunity [1]. It overlaps heavily with what researchers call set shifting or task switching [1]. Diamond's shortest definition is the clearest: "Cognitive flexibility is the opposite of rigidity" [1].
Flexibility builds on two other skills. To change plans, you have to set aside the old plan (inhibition) and load the new one into working memory [1]. That is why it tends to slip when either of those skills is under strain.
🔀 Key takeaway: Cognitive flexibility is the skill of switching plans or perspectives. It takes effort for everyone, and it leans on self-control and working memory.
Three misconceptions about rigid thinking
"If changes upset me, I must be autistic." Not necessarily. Trouble with change appears in one of the autism criteria, but an autism diagnosis also requires persistent differences in social communication and other patterns present from early development, even if masked until later [3]. As the sections below show, ADHD, anxiety, OCD and depression are all linked with harder switching, and a night without sleep makes it harder. If autism is a real question for you, a screener like the AQ-10 is a starting point, not an answer.
"Rigid people just need to try harder." Switching costs real effort. Diamond notes that it is much easier for adults to keep doing one thing than to switch back and forth between ways of thinking, and she describes cognitive flexibility as one of the most demanding executive functions [1]. Willpower rarely fixes a skill that stress or exhaustion is draining. Our post on why regulation comes before planning explains how stress gets in the way.
"Brain-training games will fix it." A major review examined the studies that brain-training companies cite in support of their products. It found that people get better at the trained tasks, but found little evidence that training improves everyday thinking [12]. Getting faster at a switching game is not the same as handling a canceled appointment.
🧩 Key takeaway: Rigid thinking is a feature, not a diagnosis. It has several possible causes, and effort or apps alone rarely address any of them.
What it looks like when a plan changes
Core features
In our clinical experience, when flexibility is low in the moment, people often describe some mix of these:
The old plan keeps replaying after it is gone
A blank or frozen feeling when you try to build Plan B
Frustration, anxiety or tearfulness that feels out of proportion to the change
Sticking with an approach after it has clearly stopped working
Needing time alone to reset before you can carry on
Researchers see a lab version of that fourth pattern. In card-sorting tasks where the sorting rule changes without warning, some people keep sorting by the old rule. These are called perseverative errors, and in a large review of studies in autism they showed the biggest group differences of any flexibility measure [4].
How it shows up day to day
You have blocked Tuesday morning to finish a report. At 9:05 your manager asks you to cover a client call instead. You agree, take the call and do fine. But for the next two hours you cannot get back into anything. The report feels like it belongs to a different day, the afternoon plan no longer fits, and you half-start tasks and check messages. By evening you are worn out and annoyed with yourself, because the change itself was small.
Or: your family planned a beach day and it rains. Everyone else shrugs and suggests a movie. You feel a flash of irritation, then something closer to grief for the day you had pictured. You go along, but you are quiet and distracted, and someone asks what is wrong. You can't quite explain that the problem is not the movie. Your mind had already lived the beach day, and it will not let go.
⏳ Key takeaway: The cost of a changed plan is often less the change itself than the time it takes to let the old plan go and get moving again.
Why a change of plan derails: ADHD, autism, anxiety, low mood and sleep
The same stuck feeling can come from different places. Differences in set shifting turn up across many conditions, not just one. A review of 110 studies found that people with OCD scored lower on most aspects of executive function, and the authors noted that a similar broad pattern appears in other conditions, which suggests these differences may be shared risk factors rather than signs of any one diagnosis [9]. That is why the cause matters more than the label "rigid."
Autism: when sameness is part of how you are wired
One autism criterion, as the CDC reproduces it from the DSM-5, includes "insistence on sameness, inflexible adherence to routines," with examples such as extreme distress at small changes, difficulty with transitions and rigid thinking patterns [3]. It is one of four types of restricted and repetitive behavior, and a diagnosis needs at least two of them alongside the social-communication criteria [3]. A 2024 review of 59 studies, covering 2,122 autistic people without intellectual disability, found more difficulty with cognitive flexibility on average, with a small-to-moderate effect and substantial variation between people [4]. Autistic people vary widely on these measures, so a group average says little about any one person [4].
Since childhood you have kept the same morning sequence, down to the order you do things in. When construction forces a detour, your chest tightens before you even turn the wheel. The new route is only four minutes longer, but you arrive shaken, and the meeting you walk into feels harder than it should. It has always been this way, even in the places where you have learned to hide it, and it sits alongside other differences: casual conversation takes deliberate effort, and some sounds and textures are hard to tolerate.
Or: a friend changes Saturday plans from a picnic to a crowded brunch. You say yes, then spend the morning rehearsing what to say, where to sit and when you can leave. Afterward you need the rest of the day alone. If switching between activities costs you hours, our post on monotropism describes one autistic-led account of why.
The distinguishing pattern: in our clinical experience, autism-linked inflexibility goes back to early life and comes with social and sensory differences, though masking can hide it in some settings or until demands pile up.
ADHD: when the change never becomes a plan
In adults with ADHD, the research is less clear-cut than people expect. A review of 13 adult studies found lower set-shifting scores with a medium effect, but also lower scores on simple word reading and color naming, and the authors wrote that the difficulties "may not be confined to executive functioning" [6]. A larger review of 83 studies, not limited to adults, found the strongest and most consistent differences in ADHD in inhibition, vigilance, working memory and planning, and set shifting was not among them [5]. In our clinical experience, plan changes in ADHD often go wrong less through insisting on the old plan and more through losing track: the change knocks the new plan out of working memory before it can take hold.
Your dentist calls to move your appointment from Thursday to Wednesday. You say yes, hang up and never update your calendar. On Wednesday you work right through the slot, and on Thursday you show up at a closed office. You didn't resist the change. It simply never made it from the phone call into a plan you could follow.
Or: halfway through a project, your team switches to a different template. You agree it is better, but now you are holding two versions in your head. You keep drifting back to the old file, losing your place, and you finish late, frustrated that something so reasonable cost so much. If this sounds familiar, the ASRS is a short adult ADHD screener.
The distinguishing pattern: in our clinical experience, ADHD-linked trouble tends to be about holding and starting the new plan, not wanting the old one back.
Anxiety and OCD: when the unknown feels unsafe
A 2025 review of 32 studies with 13,084 participants found that generalized anxiety disorder was linked to poorer cognitive flexibility and working memory, but not to weaker inhibition [8]. The link held in young and middle-aged adults but not in older adults, and it was stronger on self-report questionnaires than on performance tests [8]. One leading theory proposes that anxiety pulls attention toward possible threats and leaves less for steering it, including shifting [7]. The 2025 review found that its results only partly fit that theory [8]. Another common thread is difficulty tolerating uncertainty, which a review of 181 studies linked moderately to symptoms of anxiety disorders, OCD and depression [13]. In OCD specifically, a review of 110 studies found lower shifting scores, though on timed tasks part of that gap may reflect slower overall speed [9].
Your friend texts that dinner has moved to a new restaurant across town. Before you can feel neutral about it, your mind runs the list: where will you park, what if it's loud, what if you're late. The change is easy to understand. It feels hard because each unknown opens a new worry. Once you have looked up the restaurant and the parking, the dread drops.
Or: your evening routine gets interrupted by a phone call. When you come back, you feel a pull to start the routine over from the beginning, because finishing it out of order feels wrong in a way you can't explain. In our clinical experience, that urge to redo or check until something feels "right" points more toward OCD than toward a flexibility problem. If worry is the main thread, the GAD-7 can help you put a number on it.
The distinguishing pattern: in our clinical experience, anxiety-driven rigidity attaches to uncertainty and eases once the unknowns are filled in.
Depression: when everything new feels heavy
A review of 113 studies found that people with major depression scored lower on set shifting than healthy comparison groups, with a moderate effect that grew with symptom severity [10]. Some of the difference on timed tasks reflected slower processing speed, and the author was clear that the studies do not show depression causes the difference [10]. People in remission still scored somewhat lower on average [10].
Over the past few months everything has taken more effort. When a coworker suggests a new way to run a project, you don't argue. You just feel heavy, and coming up with a different approach feels impossible, so you keep doing it the old way even though it isn't working. A year ago you would have adjusted without much thought. If that shift came with low mood or a loss of interest in things you used to enjoy, the PHQ-9 is a reasonable place to start.
The distinguishing pattern: in our clinical experience, depression-linked rigidity often shows up as a change from your usual self, alongside low mood or loss of interest.
Sleep loss: when the rigidity follows a sleepless night
A 2025 review of 17 sleep studies found that total sleep deprivation consistently made people less accurate at switching between tasks [11]. The effects of partial sleep loss were less clear, and the studies overall were mixed: eight found reduced flexibility and six found no significant effect [11]. Diamond also warns that executive functions are often the first to suffer when you are stressed, sad, lonely or sleep deprived, enough to look like a disorder such as ADHD when none is present [1].
You take a red-eye flight and get no sleep. At the airport, your connecting flight is canceled. On a normal day you would rebook calmly, but now you stand at the counter unable to weigh the options, and the agent's suggestions all sound wrong. The next week, rested, you handle a similar snag in a few minutes.
The distinguishing pattern: in our clinical experience, sleep-linked rigidity shows up after nights without sleep and lifts when you are rested.
🧭 Key takeaway: In our clinical experience, a pattern from early life with social and sensory differences (even if masked) points toward an autism question; losing the new plan points toward ADHD; dread of the unknown points toward anxiety; a shift with low mood points toward depression; and rigidity that follows sleepless nights points toward sleep. More than one can apply.

How it is assessed
What an evaluation looks at
In research, flexibility is often measured with tasks such as the Wisconsin Card Sorting Test, where you sort cards by a rule and must switch when the rule quietly changes [1][2]. Clinicians also use questionnaires about everyday behavior. The catch is that the two kinds of measure do not agree. A 2022 review of 11 studies in clinical groups found no relationship between questionnaire scores and test scores for cognitive flexibility, and the authors concluded that the two approaches measure different things [15]. Our post on executive function testing for adults explains what specific tests measure and when formal testing is worth it.
For ADHD, UK national guidance says a diagnosis should not be made on rating scales alone and calls for a full clinical, developmental and psychiatric history [14]. The same logic applies to any question about rigid thinking. In our practice, every ADHD, autism and combined assessment is completed by Dr. Kelly herself, by secure telehealth, for teens and adults.
What rules it in or out
A clinician sorting out a flexibility complaint usually asks:
When it started. Since childhood, or a change in the last months or years?
Where it shows up. Everywhere, or mostly at work, at home or after nights without sleep?
What the change triggers. Wanting the old plan back, losing track of the new one, worry about the unknown, an urge to redo, or simple heaviness?
What else is present. Social and sensory differences, attention problems, worry, low mood, poor sleep.
📋 Key takeaway: No single questionnaire or test can tell you why switching is hard for you. History, timing and the other symptoms that come with it do most of the sorting.
What actually helps
Evidence-based options
In our clinical experience, the most reliable help targets the cause. The guidance below is about treating ADHD itself, not flexibility specifically: for adults with ADHD, UK guidance recommends practical changes to your environment first, such as reducing distractions and getting instructions in writing; medication if symptoms still cause significant problems; and, when psychological treatment is indicated, a structured ADHD-focused intervention that may include CBT [14]. When anxiety, OCD or depression is driving the rigidity, in our clinical experience treating that condition directly does more than working on flexibility in isolation. If rigidity tracks nights without sleep, protecting sleep is a sensible first step in our clinical experience. Research shows a full night without sleep reliably impairs switching [11], though it has not tested better sleep as a treatment for rigidity.
Direct evidence for training flexibility itself in adults is limited. That is worth knowing before you spend money on a program that promises it.
Day-to-day strategies
These are practical suggestions from our clinical work, not tested treatments, so treat them as experiments:
Ask for warning. A heads-up the day before gives you time to switch before the change arrives.
Write the new plan down. Get Plan B out of your head and onto a list or calendar right away.
Pre-build Plan B for predictable snags. Decide in advance what you will do if it rains or the meeting moves.
Leave a buffer after a change. A ten-minute gap before the next demand lets the new plan settle.
Name what is fixed and what is flexible. Knowing which parts of the day won't move makes the rest easier to adjust.
What to be cautious of
Be cautious about brain-training apps that promise better flexibility in daily life, since the evidence for everyday benefit is thin [12]. Be cautious, too, about diagnosing yourself from a list of traits. No single questionnaire or test can settle a diagnosis on its own [3][14], and questionnaires and lab tasks of flexibility measure different things [15].
🛠️ Key takeaway: Start with the cause. In our experience, treating ADHD, anxiety, OCD, depression or lost sleep does more than practicing flexibility on its own.

When to get evaluated
Use this as a rule of thumb. If plan changes have been hard for as long as you can remember, even if you have learned to hide it in some settings, and social or sensory differences come with it, an autism or combined ADHD and autism evaluation is a reasonable question to ask. If the hard part is holding onto and starting the new plan, alongside long-standing attention trouble, start with ADHD. If the rigidity is new, or it travels with worry, low mood or poor sleep, a broader mental health evaluation fits better than a neurodevelopmental one. If more than one of these sounds right, say so, because a combined evaluation can look at the overlap. Our ADHD and autism testing in Tennessee page explains how that process works.
Questions worth asking any evaluator:
"If my rigidity could come from autism, ADHD, anxiety or depression, will you look at all of them?"
"How do you separate a lifelong pattern from something that started recently?"
"How do you account for sleep, stress and coping strategies I have built over the years?"
"What will I receive at the end: a diagnosis only, or specific recommendations for daily life?"
Next step: getting support
When a change of plans knocks you off course, it is easy to decide you are just inflexible and leave it there. But rigid thinking is a signal, not a verdict. It can reflect how your brain has always worked, an anxiety pattern, low mood or a stretch of bad sleep, and each of those has a different and workable path forward. Knowing which one is driving it is what turns frustration into a plan.
Wondering what's behind the stuck feeling?
If changes of plan keep costing you far more than they seem to cost other people, an evaluation can clarify whether ADHD, autism, anxiety, depression or something else is part of the picture, and what would help.
Frequently Asked Questions
Why do small changes to my plans feel so upsetting?
Because switching plans takes real mental work, even for people with no diagnosis. You have to set aside the plan you were holding and load a new one, and one widely cited review describes that kind of switching as one of the most demanding of the brain's self-management skills. It is often harder for people living with anxiety, low mood, ADHD or autism, and after a night without sleep. Strong upset over a small change is a sign to look at what is draining you, not a diagnosis.
Is rigid thinking a sign of autism or ADHD?
Not on its own. Trouble with change is part of one autism criterion, but an autism diagnosis also needs persistent differences in social communication and other patterns present from early development, even if they were masked until later. In adults with ADHD, set-shifting scores are lower on average, but so are other skills, so it is not a specific marker. Anxiety, OCD and depression are also linked with harder switching, and a full night without sleep makes it harder. Sorting out which one is driving it takes a full evaluation, not a checklist.
Can adults get better at switching plans?
Research on this is limited, and direct evidence for training flexibility itself in adults is thin. In our clinical experience, switching often gets easier when what is making it hard is treated, such as ADHD, anxiety, OCD or depression, or lost sleep. Practical habits such as asking for warning before changes and writing the new plan down can also reduce the strain. Be cautious about brain-training games: a major review found people improve at the games themselves but little evidence that this carries over to everyday life.
Can lack of sleep make it harder to change plans?
Yes, a full night without sleep can. A 2025 review of sleep-loss studies found that total sleep deprivation consistently made people less accurate at switching between tasks. The effect of a few short nights is less clear, because studies of partial sleep loss have mixed results. If you notice you become rigid mainly after nights without sleep, that pattern is worth mentioning to a clinician, because it points toward sleep rather than a lifelong trait.
Does a questionnaire show how flexible my thinking really is?
Only partly. Questionnaires capture how you see your everyday behavior, and lab tasks capture how you perform on a switching test, and the two do not line up. A 2022 review of studies in clinical groups found no relationship between questionnaire scores and test scores for cognitive flexibility. That is one reason a clinician looks at your history, daily life and other symptoms instead of relying on a single score from either kind of measure.
About the Author
Dr. Kiesa Kelly is a licensed clinical psychologist trained in neuropsychology and the founder of ScienceWorks Behavioral Healthcare, with more than 20 years of experience in psychological assessment. Before founding ScienceWorks, she spent 16 years as a psychology professor and department chair, and her clinical work spans ADHD and autism assessments for teens and adults alongside OCD, trauma and insomnia.
She earned her PhD in Clinical Psychology with a concentration in Neuropsychology from Rosalind Franklin University of Medicine and Science, and completed practica, internship, and an NIH-funded postdoctoral fellowship focused on ADHD at the University of Chicago, the University of Wisconsin, the University of Florida, and Vanderbilt University. Dr. Kelly is a psychologist, not a physician, and does not prescribe medication.
References
1. Diamond A. Executive functions. Annu Rev Psychol. 2013;64:135-168. https://doi.org/10.1146/annurev-psych-113011-143750
2. Miyake A, Friedman NP, Emerson MJ, Witzki AH, Howerter A, Wager TD. The unity and diversity of executive functions and their contributions to complex "Frontal Lobe" tasks: a latent variable analysis. Cogn Psychol. 2000;41(1):49-100. https://doi.org/10.1006/cogp.1999.0734
3. Centers for Disease Control and Prevention. Clinical Testing and Diagnosis for Autism Spectrum Disorder. Updated May 16, 2024. https://www.cdc.gov/autism/hcp/diagnosis/index.html
4. Lage C, Smith ES, Lawson RP. A meta-analysis of cognitive flexibility in autism spectrum disorder. Neurosci Biobehav Rev. 2024;157:105511. https://doi.org/10.1016/j.neubiorev.2023.105511
5. Willcutt EG, Doyle AE, Nigg JT, Faraone SV, Pennington BF. Validity of the executive function theory of attention-deficit/hyperactivity disorder: a meta-analytic review. Biol Psychiatry. 2005;57(11):1336-1346. https://doi.org/10.1016/j.biopsych.2005.02.006
6. Boonstra AM, Oosterlaan J, Sergeant JA, Buitelaar JK. Executive functioning in adult ADHD: a meta-analytic review. Psychol Med. 2005;35(8):1097-1108. https://doi.org/10.1017/s003329170500499x
7. Eysenck MW, Derakshan N, Santos R, Calvo MG. Anxiety and cognitive performance: attentional control theory. Emotion. 2007;7(2):336-353. https://doi.org/10.1037/1528-3542.7.2.336
8. Nguyen L, Walters J, Hutchinson E, Liu Y, Li X, Gudmundsson C. Executive functioning in individuals with generalized anxiety disorder: A systematic review and meta-analysis. J Affect Disord. 2025;389:119683. https://doi.org/10.1016/j.jad.2025.119683
9. Snyder HR, Kaiser RH, Warren SL, Heller W. Obsessive-compulsive disorder is associated with broad impairments in executive function: A meta-analysis. Clin Psychol Sci. 2015;3(2):301-330. https://doi.org/10.1177/2167702614534210
10. Snyder HR. Major depressive disorder is associated with broad impairments on neuropsychological measures of executive function: a meta-analysis and review. Psychol Bull. 2013;139(1):81-132. https://doi.org/10.1037/a0028727
11. Sun X, Qu Z, Zhang X, Zhang Y, Zhang X, Zhao H, Zhang H. The effects of sleep deprivation on cognitive flexibility: a scoping review of outcomes and biological mechanisms. Front Neurosci. 2025;19:1626309. https://doi.org/10.3389/fnins.2025.1626309
12. Simons DJ, Boot WR, Charness N, Gathercole SE, Chabris CF, Hambrick DZ, Stine-Morrow EA. Do "Brain-Training" Programs Work? Psychol Sci Public Interest. 2016;17(3):103-186. https://doi.org/10.1177/1529100616661983
13. McEvoy PM, Hyett MP, Shihata S, Price JE, Strachan L. The impact of methodological and measurement factors on transdiagnostic associations with intolerance of uncertainty: A meta-analysis. Clin Psychol Rev. 2019;73:101778. https://doi.org/10.1016/j.cpr.2019.101778
14. National Institute for Health and Care Excellence. Attention deficit hyperactivity disorder: diagnosis and management. NICE guideline NG87. Published March 14, 2018; last updated September 13, 2019. https://www.nice.org.uk/guidance/ng87/chapter/Recommendations
15. Howlett CA, Wewege MA, Berryman C, Oldach A, Jennings E, Moore E, Karran EL, Szeto K, Pronk L, Miles S, Moseley GL. Back to the drawing board—The relationship between self-report and neuropsychological tests of cognitive flexibility in clinical cohorts: A systematic review and meta-analysis. Neuropsychology. 2022;36(5):347-372. https://doi.org/10.1037/neu0000796
Disclaimer
This article is for informational and educational purposes only and is not a substitute for professional medical or mental health advice, diagnosis, or treatment. ADHD, autism, anxiety, OCD and depression are clinical diagnoses that require evaluation by a qualified professional. If you are thinking about suicide or harming yourself, call or text 988. If you are in immediate danger, call 911.

