For millions of people with insomnia, the nightly struggle does not end when the alarm rings. Daytime complaints of foggy thinking, poor concentration, and rigid problem-solving are among the most common sequelae of disturbed sleep, yet the brain mechanisms behind these executive difficulties have remained frustratingly opaque. A new neuroimaging study published in BMC Psychiatry by Shiyan Yang, Zhangwei Lv, Zilu Zhang, and Xu Lei of Southwest University and collaborators now offers a detailed window into what goes wrong. By combining a carefully modified cognitive task with functional magnetic resonance imaging, the team shows that insomnia is associated with a measurable breakdown in how the brain reconfigures its networks when attention is pulled toward sleep-related words and images, a finding that could reshape how researchers think about the daytime toll of sleeplessness.
The study focused on cognitive flexibility, the executive capacity that allows us to shift mental sets, abandon a no-longer-relevant rule, and adopt a new one. This ability is routinely probed in the laboratory with task-switching paradigms, in which participants alternate between different judgments about the same stimuli, and the slowdown that occurs on switch trials relative to repeat trials, known as the switch cost, indexes the effort of reconfiguration. Prior work had suggested that people with insomnia disorder perform worse on such measures, but the neural story was incomplete, particularly regarding a distinctive feature of the disorder: an attentional bias toward sleep-related information. Words like bed, images of bedrooms, and thoughts of sleep seem to capture the insomniac mind involuntarily, and the researchers suspected this bias might actively interfere with flexible cognition.
To test that idea, the team recruited 48 participants, 24 individuals meeting criteria for insomnia disorder and 24 healthy sleepers, and scanned their brains while they performed a modified task-switching paradigm. Crucially, the stimuli were split into two categories: sleep-related items, such as words associated with beds and sleep, and general, emotionally neutral items unrelated to sleep. Participants had to switch between task rules on these stimuli while lying in the scanner, allowing the researchers to measure not only reaction times and accuracy but also the switch cost specific to each stimulus type. Alongside the imaging session, participants completed the Cognitive Flexibility Inventory, a self-report measure of flexible thinking, and the Insomnia Severity Index, providing subjective anchors for the behavioral and neural data.
The behavioral results contained a striking twist. On the questionnaire, the insomnia group reported significantly lower cognitive flexibility than the healthy controls, confirming that the subjective experience of mental rigidity is a real, measurable feature of the disorder. Yet when the researchers examined raw task performance, they found that the insomnia group actually responded faster to sleep-related stimuli than to general ones. Rather than being simply slowed across the board, people with insomnia showed a speed advantage for sleep-related material, a pattern consistent with heightened salience and rapid capture of attention by sleep-related cues. This faster responding, however, did not translate into better overall executive performance, hinting that the speed came at a price elsewhere in the processing stream.
That price became visible in the brain activation data. When the researchers compared the two groups, they found altered activation in three regions: the right precuneus, the angular gyrus, and the superior temporal gyrus. Importantly, these differences were not uniform across stimulus types; statistical tests revealed interaction effects between group and stimulus type, meaning the insomnia-related activation changes depended on whether the stimulus was sleep-related or general. The precuneus, a hub of the brain’s default mode network involved in self-referential thought and memory retrieval, the angular gyrus, another default mode hub linked to semantic processing and attentional reorienting, and the superior temporal gyrus, involved in auditory and semantic processing, together form part of the machinery that supports flexible shifting between internal and external focus.
Activation maps, however, only show which regions work harder. To understand how these regions communicate, the team turned to generalized psychophysiological interaction analysis, or gPPI, a technique that estimates task-dependent functional connectivity, that is, how strongly two brain regions coordinate their activity as a function of the specific task condition. This connectivity approach is what allowed the researchers to ask the question that matters most for cognitive flexibility: when the brain must reconfigure itself for a new task, do the relevant networks talk to each other properly, and does the presence of sleep-related stimuli disrupt that conversation?
The gPPI results revealed three distinct disruptions in the insomnia group. First, under sleep stimulus conditions, patients showed enhanced connectivity between the precuneus and the cerebellum, a pattern the authors interpret as reflecting the abnormal capture of attention by sleep-related information, pulling resources toward processing the sleep cue. Second, the insomnia group exhibited disrupted connectivity between the angular gyrus and frontal-parietal regions, the frontoparietal control network that is central to implementing task rules and managing switches. Weakened coordination between default mode regions and this control network provides a direct neural account of why switching between mental sets becomes effortful. Third, the researchers found reduced integration from the superior temporal gyrus to multiple association regions spread across networks, suggesting a broader failure to distribute task-relevant information efficiently across the cortical hierarchy.
Taken together, these findings sketch a coherent mechanism linking insomnia to executive dysfunction. Sleep-related stimuli, which carry exaggerated salience for people with the disorder, appear to hijack the reconfiguration process. Instead of the brain smoothly reallocating its frontoparietal control resources to implement a new task rule, attention is captured by the sleep cue, connectivity shifts toward regions involved in processing that cue, and the integration needed for flexible performance is degraded. The faster reaction times to sleep-related stimuli, rather than indicating superior performance, may reflect this very capture: the sleep-related material is processed quickly and involuntarily, but at the cost of optimal network coordination for the task at hand. This interpretation elegantly reconciles the subjective complaint of mental rigidity with the sometimes-subtle behavioral deficits observed in the laboratory.
The study’s design and methodology strengthen its conclusions. The matched groups, the within-subject manipulation of stimulus type, the combination of behavioral, activation, and connectivity analyses, and the concurrent collection of validated questionnaires all contribute to a multi-level picture of the phenomenon. The work was approved by the Ethics Committee of the School of Psychology at Southwestern University and conducted in accordance with the Declaration of Helsinki, with written informed consent from all participants, and it was supported by the National Natural Science Foundation of China and the National Social Science Foundation of China. As with any study of this scale, the sample of 24 participants per group warrants replication in larger and more diverse cohorts, and the cross-sectional design cannot determine whether the connectivity disruptions are a cause or a consequence of chronic sleep disturbance.
Even so, the implications reach beyond the sleep lab. If attentional bias toward sleep-related information actively disrupts cognitive network dynamics, then interventions that reduce this bias, such as attention bias modification training already explored in insomnia treatment research, might do more than improve sleep; they could protect daytime executive function. The findings also add insomnia to the growing list of psychiatric conditions, from depression to anxiety, in which task-dependent connectivity analyses reveal how disorder-specific emotional stimuli distort large-scale brain coordination. For the exhausted patient who cannot explain why simple mental switching feels so hard, the study offers a concrete answer: the brain’s switching machinery is being quietly diverted by the very thoughts of sleep that torment the night, a mechanism that future therapies may finally be able to target directly.
Subject of Research: Neural mechanisms of impaired cognitive flexibility and sleep-related attentional bias in insomnia disorder
Article Title: Disrupted network reconfiguration during task switching in insomnia: the role of sleep-related attentional bias
Article References: Yang, S., Lv, Z., Zhang, Z., & Lei, X. (2026). Disrupted network reconfiguration during task switching in insomnia: the role of sleep-related attentional bias. BMC Psychiatry. https://doi.org/10.1186/s12888-026-08635-4
Image Credits: AI Generated
DOI: 10.1186/s12888-026-08635-4
Keywords: insomnia, cognitive flexibility, task switching, fMRI, attentional bias, functional connectivity, gPPI, precuneus, angular gyrus, frontoparietal network, executive function, sleep-related stimuli
Cite Scienmag News
Cassandra Pierce. (October 13, 2026). Insomnia Hijacks the Brain’s Switching Network When Sleep Cues Appear. Scienmag. https://scienmag.com/insomnia-hijacks-the-brains-switching-network-when-sleep-cues-appear/
Cassandra Pierce. "Insomnia Hijacks the Brain’s Switching Network When Sleep Cues Appear." Scienmag, 13 October 2026, https://scienmag.com/insomnia-hijacks-the-brains-switching-network-when-sleep-cues-appear/. Accessed 13 October 2026.
Cassandra Pierce. "Insomnia Hijacks the Brain’s Switching Network When Sleep Cues Appear." Scienmag. October 13, 2026. https://scienmag.com/insomnia-hijacks-the-brains-switching-network-when-sleep-cues-appear/

