Skip to main content
BMC Psychology logoLink to BMC Psychology
. 2026 Aug 10;14:1354. doi: 10.1186/s40359-026-05342-3

Effects of sleep quality on the offline storage state of visual working memory

Li Gong 1, Jinghan Chen 1, Xiaojing Li 1, Qiang Liu 2,✉
PMCID: PMC13587488  PMID: 42754928

Abstract

Objective

Visual working memory (VWM) is a core cognitive function in humans, which enables flexible and efficient storage of visual information from complex contexts into either online or offline states in accordance with current task demands. Among these two states, the offline state demonstrates greater advantages in resisting interference and stabilizing stored information. Previous research has demonstrated that an individual’s sleep quality can predict performance in VWM tasks. However, these studies have primarily focused on the online storage state of VWM. To date, there remains unclear whether sleep quality affects the offline storage state, and whether its influence differs between the two distinct storage states. This study aimed to clarify the behavioral association between sleep quality and VWM online and offline storage performance.

Methods

The present study employed a mixed experimental design, combining the Pittsburgh Sleep Quality Index with a sequential presentation retrieval paradigm to examine the effects of sleep quality on different storage states of VWM. Valid data were obtained from 76 volunteers (mean age = 19.95 ± 1.72 years, male proportion = 27.63%). All participants completed the standard Pittsburgh Sleep Quality Index assessment to obtain comprehensive subjective sleep quality scores, which were adopted as the core predictive indicator for subsequent behavioral correlation analysis.

Results

The experimental results showed that the total score of participants’ sleep quality was significantly negatively correlated with VWM accuracy in both online and offline states. In addition, for VWM accuracy, the main effects of sleep quality and VWM storage state were significant, and a significant interaction effect between sleep quality and storage state was also observed. Simple effect analyses further revealed that participants with higher sleep quality exhibited significantly higher VWM accuracy in the offline state compared with those with lower sleep quality. For VWM reaction time, only a significant main effect of VWM storage state was identified.

Conclusions

These behavioral findings indicate that sleep quality exerts differential influences on distinct VWM storage states. Specifically, poor sleep quality imposes a more pronounced detrimental effect on VWM offline accuracy relative to the online state. This study provides empirical behavioral evidence supporting the differentiation between online and offline VWM storage states and supplements existing research on the association between sleep quality and VWM performance.

Keywords: Visual working memory, Sleep quality, Online state, Offline state

Introduction

Visual working memory (VWM), as a critical subsystem of working memory, is specifically responsible for the temporary storage of visual information [1] and serves as the foundation for individuals to engage in higher-order cognitive activities such as decision-making and reasoning [2–4]. However, given that VWM capacity is inherently limited [5, 6], individuals must flexibly represent and store to-be-processed information in distinct states according to real-time task demands when confronted with complex multitasking situations. Consequently, researchers have proposed the multi-state model of working memory, positing that individuals prioritize the processing of items highly relevant to the current task by maintaining them in an online state, while storing items irrelevant to the current task but pertinent to upcoming tasks in an offline state [7–9].

Sleep is a core physiological basis for maintaining cognitive function and is crucial for offline memory consolidation and the functional regulation of brain regions. Impaired sleep quality can lead to neuronal damage, significantly disrupt information processing and resource integration within the brain, and further weaken the efficiency and stability of cognitive activities such as memory and attention [10, 11]. Existing studies have shown that individuals’ sleep status can predict their task performance in VWM [12–14]. It is important to clarify here that the present study focuses on habitual daily sleep quality measured via the Pittsburgh Sleep Quality Index (PSQI) [15], a subjective assessment of chronic sleep status. While distinct from experimentally induced acute sleep deprivation, sleep restriction or nap interventions, these sleep-related conditions share overlapping physiological and cognitive pathways, allowing cross-reference of relevant mechanistic findings. Accumulated evidence has confirmed that both chronic poor subjective sleep quality and acute sleep loss trigger overlapping neural impairments, including disrupted fronto-parietal control networks, impaired hippocampal synaptic plasticity, and weakened episodic memory consolidation [11, 16, 17]. Although these two types of sleep disturbance differ in duration and induction mode, they converge on identical core cognitive pathways linking sleep deficits to working memory decline. For example, Chee and Chuah [12] used the change detection paradigm to investigate the effect of sleep deprivation on VWM. Their results revealed that sleep deprivation impaired individuals’ VWM performance, and neuroimaging findings showed neural deactivation in the precuneus and the temporoparietal junction. In addition, researchers have examined the influence of daily sleep quality on VWM performance using the PSQI and various VWM experimental paradigms. Consistent findings indicate that individuals’ daily sleep quality significantly predicts VWM performance, such that individuals with poorer sleep quality exhibit worse VWM performance [14, 18]. However, most of these studies adopted simple memory probe tasks and only focused on how sleep quality affects the online storage state of VWM. To date, few studies have explored the effect of sleep quality on the offline storage state of VWM.

Research has established that the online and offline states of VWM constitute two dissociable and independent states [19–21]. On the one hand, at the level of cognitive performance, these two states operate at distinct time points and correspond to different task demands: the former is relevant to the current task, whereas the latter is irrelevant to the current task but pertinent to upcoming tasks [22]. On the other hand, from a neurobiological perspective, the maintenance of online-state items relies on neural activation induced by persistent neuronal firing, with core regulatory regions including the early visual cortex and frontoparietal cortex; by contrast, the neural activity of offline-state items cannot be directly detected through electrophysiological signals, and their mnemonic maintenance is primarily achieved via synaptic weight changes [20, 23, 24]. Relevant human neuroimaging evidence supports this dissociation, while two key electrophysiological observations originate from non-human primate experiments: Panichello & Buschman [24] recorded macaque single-neuron activity to verify synaptic-dependent offline storage, and Barbosa et al. [25] captured latent silent neural signals in non-human primate prefrontal circuits. Collectively, these human and primate findings further corroborate the notion that offline storage may operate through activity-silent mechanisms [8, 25]. Therefore, it can be hypothesized that sleep problems may exert differential effects on distinct VWM storage states.

Furthermore, by comparing and analyzing the storage characteristics and core properties of the offline state of working memory with those of episodic memory, Beukers et al. [26] explicitly proposed that the storage process of the offline state of working memory relies on the modulation of the episodic memory system. Existing studies have confirmed that the hippocampus serves as the core brain region underlying the processing and storage of episodic memory [27], and its functional integrity plays a decisive role in the normal operation of episodic memory. Using targeted transcranial magnetic stimulation (TMS) over neural networks, Hermiller et al. [28] precisely modulated the hippocampal-cortical network in humans. Combining behavioral measures and neuroimaging indices, their study confirmed a clear causal regulatory effect of functional connectivity between the hippocampus and cortical networks during episodic memory retrieval. On this basis, Chandra et al. [29] further constructed a refined neural circuit model of the neocortex-entorhinal cortex-hippocampus, and more clearly illustrated the core regulatory role of the hippocampus in the encoding, storage, and retrieval of episodic memory from the micro-level perspective of dynamic interactions within neural circuits.

Notably, abnormal sleep states exert pronounced adverse effects on the physiological functions of the hippocampus. Findings regarding hippocampal neuronal reactivation, memory replay and molecular signaling pathways below are primarily derived from rodent animal model studies [17, 29, 30]. It should be emphasized that these animal-based results only offer tentative mechanistic references rather than direct, definitive explanations for human cognitive performance, given the inherent gaps between rodent brain physiology and human cognitive behavior. Even so, such animal research remains valuable for generating testable mechanistic hypotheses to guide future human neuroimaging investigations. Sleep deprivation impairs the stability of molecular signaling pathways within the hippocampus, reduces neuronal reactivation and memory replay in hippocampal regions [17, 30], and consequently compromises hippocampus dependent cognitive functions such as episodic memory and associative memory. Regarding the phase-specific mechanisms of sleep, non-rapid eye movement (NREM) sleep dynamically modulates the efficiency of interregional information transfer by regulating neural communication patterns within the corticothalamic-hippocampal circuit, thereby influencing the consolidation and integration of memory information and ultimately enabling precise modulation of episodic memory. In contrast, sleep exerts distinct regulatory mechanisms on the online state of working memory, primarily by modulating neural activity within the frontoparietal inhibitory network to alter its cognitive control function, which further affects the maintenance and processing efficiency of online memory representations [31, 32]. Collectively, these findings systematically reveal divergent regulatory patterns of sleep across different memory types, indirectly indicating dissociable effects of sleep on distinct storage states of VWM. This provides critical theoretical support for further investigating how sleep quality modulates offline storage in VWM.

In summary, grounded on the aforementioned theoretical rationales and empirical evidence, this study hypothesizes that sleep quality exerts distinct effects on the online and offline storage states of VWM. Nevertheless, this hypothesis has not yet been systematically verified. Accordingly, the present study adopted the PSQI to assess individual sleep quality, and combined the change-detection task with the sequential presentation-retrieval paradigm to address this research question. In the sequential presentation-retrieval paradigm, memory arrays are presented sequentially. This design is based on the assumption that initially presented items shift to a passive state during the active maintenance of subsequently presented items [21, 33, 34]. Such an arrangement enables the coexistence of active and passive memory representations within a single working memory task. The present study aims to enrich empirical findings in the fields of sleep and VWM at the behavioral level, further advance the theoretical understanding of the multi-state model of working memory, and provide new behavioral empirical evidence to inspire follow-up research exploring the neural mechanisms underlying sleep-related cognitive functions. Furthermore, by clarifying the differential impacts of sleep quality on the online and offline states of VWM, this research offers critical theoretical support for explaining the central role of sleep in a broad range of cognitive processes such as learning and memory, and also lays a solid foundation for future relevant investigations.

Materials and methods

Participants

The sleep quality questionnaire used in the experiment was the Chinese version of the PSQI [15], revised by Liu and Tang [35]. This scale includes 18 items and uses a 4-level rating (0 ~ 3 points), with a total score range of 0 ~ 21 points. The higher the score, the poorer the sleep quality. During the preliminary screening phase of this study, 522 valid PSQI questionnaires were collected from undergraduate students at a university in the southwestern region of China (M ± SD = 5.70 ± 2.48). All 522 participants only completed the sleep quality scale along with demographic questions, and no additional health history questionnaires were administered throughout the screening process. The Cronbach’s α of the PSQI scale was 0.80. All participants who subsequently took part in the formal VWM experiment were newly recruited volunteers from this screening pool specifically for our experiment on sleep quality and VWM, rather than being selected from an existing laboratory database or other research projects. According to the validated Chinese clinical detection criteria established by Liu & Tang [35], participants with PSQI scores of 5 and below were categorized into the high sleep quality group, and those with scores of 8 and above were categorized into the low sleep quality group. Scores ranging from 6 to 7 reflect a mild intermediate sleep state that cannot be unambiguously allocated to either group. To prevent blurring the between-group manipulation and weakening the contrast between distinct sleep quality levels, we excluded all participants with intermediate PSQI scores of 6–7 from formal experimental recruitment. Eligible participants who volunteered for the subsequent experiment were scheduled accordingly.

Sample size was estimated a priori using G*Power 3.1 [36] for a 2 (between-subjects: sleep quality) × 2 (within-subjects: storage state) mixed repeated-measures analyses of variance (ANOVA). With a significance level of α = 0.01, a medium effect size of f = 0.25, and an anticipated statistical power of 95%, the total sample size needed was at least 76. A total of 78 undergraduate students were recruited for this experiment. Two students did not complete the entire experimental task. Ultimately, 76 valid data sets were obtained (38 in the high sleep quality group and 38 in the low sleep quality group). The participants had an average age of 19.95 ± 1.72 years, with 21 male students (27.63%). All participants had normal or corrected vision and no color blindness or color deficiency. This study received ethical approval from the Ethics Committee of Sichuan Normal University (Approval No: 2024LS06). All experimental procedures complied with the ethical principles of the Declaration of Helsinki. The experimental procedures were thoroughly explained to the participants, and their informed consent was obtained prior to the experiment. Participants were offered a cash reward upon completion of the experiment.

Stimuli

The experimental paradigm was programmed using E-Prime 3.0 software (Psychology Software Tools, Pittsburgh, PA, USA). All stimuli were presented on a 23.8-inch LCD monitor with a refresh rate of 60 Hz and a resolution of 1920 × 1080 pixels. All participants sat on a chair located 70 cm away from the monitor. For the duration of the experiment, participants were asked to stare at a “+” fixation (with a size of 0.47 °) in the center of the screen. The stimuli consisted of colored squares (0.65° × 0.65°) presented on a gray background. The colors of all stimuli were randomly selected from ten distinguishable colors (blue, black, red, magenta, green, lime, cyan, white, yellow, purple) and were not repeated within a single trial. The experiment recorded participants’ accuracy (ACC) and reaction time (RT).

Procedure

The experiment consisted of two tasks, and the order of these two experimental tasks was counterbalanced across participants. Task 1 (Fig. 1A) began with a blank screen lasting 500 ms, followed by a presentation phase where a memory array consisting of four items was presented for 500 ms. This was followed by a 1000 ms delay period. Finally, in the probe phase, participants were instructed to determine whether the detected item color was the same as the corresponding item color in the memory array. Task 2 (Fig. 1B) began each trial with a screen displaying a fixed cross, which lasted for 500 ms. Then, memory array 1 consisting of four items was presented for 500 ms. After a delay of 1000 ms, memory array 2 appeared, comprising two items. In half of the trials, these two items were presented vertically, while in the other half, they were presented horizontally. The order of these two conditions was counterbalanced across the experiment. Following the disappearance of memory array 2 and a delay of 1000 ms, the probe array appeared. First, participants were required to probe the items from memory array 2, followed by probing the items from memory array (1) To avoid confusion, we refer to the probing of memory array 1 as probe 1, and the probing of memory array 2 as probe (2) The squares appearing in probe 1 and probe 2 were consistent in terms of quantity and spatial location with the corresponding memory items from memory array 1 and memory array 2. During the probe phase, participants were instructed to judge whether the color of the probed item matched the color of the item at the corresponding position in the memory array. If they matched, participants were instructed to press the “Z” key; otherwise, they were instructed to press the “M” key.

Fig. 1.

Fig. 1

Experimental flowchart. A represents Task 1, and B represents Task 2

We explicitly operationalized VWM online and offline states following established theoretical and experimental conventions [21, 33, 34]. The online state refers to real-time active maintenance of visual representations supported by sustained neural activity during stimulus encoding and immediate judgment, corresponding to Task 1. The offline state denotes activity-silent, latent memory storage that is disengaged from ongoing attention but retrievable for later testing. In Task 2’s sequential paradigm, the first memory array (tested after the presentation of the second array, Probe1) represents the offline state. Notably, Task 2 Probe 2 was only designed to distinguish dual memory states and was excluded from core analyses.

All participants received a cash reward upon completion of the entire experimental session. Each task began with 12 practice trials with real-time ACC feedback to help participants fully understand task rules and eliminate unfamiliarity-induced behavioral errors. The practice session served solely for task familiarization, and potential practice effects were minimized before formal data collection to ensure the validity of experimental results [16, 21]. Subsequent to the practice phase, the formal experimental procedure was conducted without trial-by-trial feedback. Each task included 3 formal blocks, and the whole experiment comprised a total of 96 formal experimental trials. The entire experimental procedure lasted approximately 35 min. Prior to the commencement of each block, a random four-digit number was presented on the screen, and participants were required to silently rehearse the number throughout the block to effectively suppress verbal encoding of visual stimulus information [21, 37]. All participants were instructed to complete the whole experiment with full concentration and rigorous compliance with task requirements.

Statistical analysis

The data were analyzed using SPSS 27.0 (IBM Corporation, 2020), employing statistical techniques such as correlation analysis, two-factor repeated measures analysis of variance, and independent samples t-test. Normality was assessed with Shapiro-Wilk tests and Q-Q plots. RT is inherently right-skewed with a long tail; therefore, normality was evaluated mainly based on Q-Q plots and the absence of extreme outliers. All behavioral data were regarded as approximately normally distributed and suitable for parametric analyses. The correlation analysis was performed using a two-tailed Pearson test with the significance level set at α = 0.05. The significance level for all ANOVA was set at α = 0.05, two-tailed. Post-hoc simple effect comparisons after mixed ANOVA were adjusted with Bonferroni correction. In the change detection paradigm, the ACC measure not only assesses the precision of participants’ responses but also reflects their perceptual sensitivity and attention level. On the other hand, the RT measure provides a good indication of the speed and efficiency of participants’ cognitive processes. Therefore, in this experiment, the analysis focused on these two dependent variables: ACC and RT. We conducted single-trial outlier screening on each participant’s RT data. Any trial whose RT deviated more than ± 3 standard deviations from the participant’s own mean RT was discarded, and only the mean RTs of valid retained trials were analyzed.

Results

Descriptive statistics and correlation analysis of each variable

PSQI total scores were used as continuous variables in correlation analyses to examine the relationships between sleep quality and behavioral indicators (ACC and RT) of VWM in online and offline states. Notably, participants with intermediate PSQI scores ranging from 6 to 7 were excluded from formal testing to ensure sharp between-group differentiation for the primary mixed ANOVA analyses. As a result, the distribution of PSQI total scores in the current sample is truncated, lacking observations in the mild sleep impairment range. As shown in Table 1 below, the experimental results indicate that there was a significant negative correlation between the total score of sleep quality and the ACC of VWM in the online storage condition (r = − 0.26, p = 0.023). There was a significant negative correlation between the total score of sleep quality and the ACC in the offline storage condition (r = − 0.37, p < 0.001). However, there was no significant correlation between the total score of sleep quality of the students and the RT in different storage states of VWM. Furthermore, in Probe 2 of Task 2, sleep quality showed no significant correlations with either the ACC (r = − 0.16, p = 0.174) or RT (r = 0.16, p = 0.173) of VWM. Probe 2 was merely included to manipulate online/offline VWM dissociation rather than a primary outcome for testing our core hypothesis, so we focus analyses and discussion on offline memory storage. These results will not be elaborated upon further in the following sections. The scatter plot illustrating the correlation analysis between students’ total sleep quality scores and the ACC rates of two storage states in VWM is presented in the following Fig. 2.

Table 1.

Means, standard deviations and correlation analysis among study variables (N = 76)

Variables 1 2 3 4 5
1. The total score of sleep quality 1
2. VWM online ACC −0.26* 1
3. VWM offline ACC −0.37*** 0.57*** 1
4. VWM online RT 0.04 −0.04 0.03 1
5. VWM offline RT 0.19 −0.14 0.05 0.78*** 1
Mean 6.62 0.86 0.71 895.40 1347.60
SD 3.38 0.06 0.10 220.11 484.69

SD means standard deviation. * p < 0.05, *** p < 0.001

Fig. 2.

Fig. 2

The scatter plot of correlation between total score of sleep quality and the ACC of online state (a) and offline state (b) of VWM

Repeated-measures ANOVA for sleep quality and VWM storage status

Repeated-measures analysis of variance was further performed to explore the differences and interactive effects of VWM performance across different storage states between the high and low sleep quality groups. The ACC of VWM online and offline storage in high and low sleep quality groups was further analyzed by repeated measures analysis of variance. The results are shown in Fig. 3(a). The main effect of sleep quality was significant, F (1, 74) = 9.15, p = 0.003, ηp2 = 0.11. The main effect of VWM storage state was significant, F (1, 74) = 303.47, p < 0.001, ηp2 = 0.80. The interaction between sleep quality and VWM storage state was significant, F (1, 74) = 6.03, p = 0.016, ηp2 = 0.08. Further simple effects analyses revealed that, in the online storage condition, the ACC difference between the two groups did not reach statistical significance, t (74) = 1.86, p = 0.067, Cohen’s d = 0.43, 95%CI [− 0.03, 0.88]. In the offline storage condition, the participants in the high sleep quality group (M ± SD = 0.74 ± 0.09) showed significantly higher ACC compared to the participants in the low sleep quality group (M ± SD = 0.67 ± 0.10), t (74) = 3.16, p = 0.002, Cohen’s d = 0.73, 95%CI [0.26, 1.19].

Fig. 3.

Fig. 3

a ACC and (b) RT of online state and offline state under high and low sleep quality conditions. The error target in figure is standard error; ** p < 0.01, *** p < 0.001

A repeated-measures analysis of variance was conducted to examine the RT of the high and low sleep quality groups in in the online and offline states of VWM. The results are shown in Fig. 3(b). The main effect of sleep quality was not significant, F (1, 74) = 0.87, p = 0.353, ηp2 = 0.01. The main effect of VWM storage state was significant, F (1, 74) = 135.92, p < 0.001, ηp2 = 0.65. The interaction between sleep quality and storage state was not significant, F (1, 74) = 2.86, p = 0.095, ηp2 = 0.04.

Discussion

This study employed a mixed experimental design to investigate the impact of sleep quality on different storage states of VWM by comparing the performance of high and low sleep quality groups on the online and offline states of VWM. The experimental results indicated that the main effects of sleep quality and VWM storage state were significant in the ACC index of VWM, the interaction between sleep quality and VWM storage state was also significant. Simple effect analyses demonstrated that in the offline storage state, the high sleep quality group exhibited significantly higher ACC compared to the low sleep quality group. Regarding the RT measures of VWM, there was a significant main effect of VWM storage state, while the main effect of sleep quality and the interaction between sleep quality and VWM storage state were not significant. These findings suggest that individual sleep quality has differential effects on different storage states of VWM, with a greater impact on the offline state.

The experiment reveals that the effect of sleep quality on the online and offline storage states of VWM is different, thus confirming our hypothesis. As mentioned above, these two distinct storage states of VWM differ qualitatively in both cognitive performance and neural mechanisms, and they do not share common storage resources [21]. The offline state relies on the episodic memory system, and the maintenance and retrieval of offline items require the involvement of the long‑term memory system [26, 38]. Specifically, existing studies have found that the neural decoding patterns underlying the offline state of working memory are largely consistent with those of episodic memory; both are maintained through rapidly formed changes in synaptic weights [26, 39]. Furthermore, Mızrak and Oberauer [40] adopted a modified Hebbian paradigm and serial recall task to investigate the contribution of long-term memory to working memory. Their findings indicated that the offline state of working memory selectively recruits task relevant information from the long-term memory system to optimize behavioral performance.

Accordingly, the mechanism underlying the influence of sleep quality on the offline storage of VWM may substantially overlap with that governing long-term memory function. Previous studies on sleep and memory have demonstrated that sleep quality exerts dissociable effects on the online storage of working memory versus long-term memory. Chen et al. [41] yielded relevant human behavioral and neuroimaging evidence, whereas Chernyshev et al. [42] and Guzeev et al. [43] verified related cognitive pathways at the molecular mechanistic level via rodent animal models. It is worth noting that the extant literature presents heterogeneous findings across different experimental designs, memory tasks and sleep manipulations. The following discussion is based primarily on evidence from human behavioral and neuroimaging studies, which are methodologically most comparable to our present paradigm. A body of research using declarative memory and episodic memory paradigms has documented that memory representations relying on long-term storage and synaptic consolidation are more susceptible to sleep disturbances [44, 45]. Conversely, several studies adopting classic working memory tasks with high online attentional demands found that poor sleep quality [16] and acute total sleep deprivation [46] each yield robust deficits in online working memory maintenance. Such discrepancies may stem from differences in task complexity, memory load, and the type of sleep manipulation adopted across studies. The present results align with the line of evidence observing heightened vulnerability in offline memory representations linked to the episodic memory system. These works provide convergent empirical support for the present research.

Furthermore, we found that sleep quality exerted a stronger influence on the offline state than on the online state of VWM. On the one hand, regarding the nature of the experimental paradigms, the online state is more analogous to the 1-back task, whereas the offline state resembles the 2-back task. Li et al. [47] investigated the effects of total sleep deprivation across varying working memory loads and found that performance on the 2-back task was impaired to a greater extent than performance on the 1-back task following sleep deprivation. On the other hand, prior studies have demonstrated that, under equivalent memory load conditions, behavioral performance is consistently worse in offline-state tasks than in online-state tasks. According to Zhang et al. [34], such behavioral patterns arise from memory loss occurring during the transfer of memorized items from the online to the offline state. This indicates that information maintained in the offline state is more limited and exhibits weaker memory traces compared with that retained in the online state. These findings are consistent with those reported by Peters et al. [48], who examined differences in information representation across VWM storage states and revealed that the feature precision of offline items is significantly lower than that of online items. Collectively, this evidence suggests that mnemonic strength in the offline state of working memory is weaker than that in the online state. Consequently, the offline state is more vulnerable to external factors such as sleep restriction.

Interestingly, some studies have found that sleep quality exerts a significant influence on performance in simple tasks requiring fewer cognitive resources. In contrast, such effects become non-significant during demanding, complex tasks that require intentional cognitive engagement [49, 50]. For instance, MacDonald et al. [13] focused on nap-related effects rather than total sleep deprivation, and highlighted the temporal variability of sleep-related effects on working memory. They proposed that the impairments associated with insufficient sleep are primarily driven by elevated fatigue. Notably, brief working memory tasks do not induce substantial fatigue in individuals. Instead, such tasks only require short periods of focused attention, which can offset the detrimental effects of poor sleep.

Unlike the online state of working memory, the offline state representation is stored through changes in synaptic weights. Synaptic connection strength, a critical component of neuronal communication, significantly influences brain function and the processing and storage of information [51]. The following accounts of synaptic plasticity are mainly supported by animal model research, which provides tentative mechanistic context rather than definitive causal explanations for the human behavioral patterns observed in this study. Research indicates that sleep deprivation or poor sleep quality can impair cognitive function by altering the number and morphology of dendritic spines and bidirectionally changing synaptic structural plasticity [52, 53]. The offline storage of VWM obviates the consumption of neural energy, thus not occupying excessive attentional resources during task performance [8]. Consequently, it can be integrated from the above that the impact of sleep quality on different storage states of VWM is dissociable, with a larger effect on the offline storage state than on the online storage state.

Our study investigated the effects of sleep quality on distinct storage states of VWM, with both theoretical and practical implications. First, this study is the first to explore the influence of sleep quality on the offline storage of VWM, thereby filling an important research gap in the relevant field. Second, it highlights the critical role of sleep in cognitive functioning and raises public awareness regarding sleep health. Third, our findings generate several novel research questions. For instance, as mentioned earlier, memory information is lost during transitions between different storage states. Does the effect of sleep quality on the offline storage of VWM originate from the cognitive costs incurred during memory switching between these distinct states? Furthermore, as reported by MacDonald et al. [13], nap-induced sleep modulation produces temporally variable effects on online working memory performance. Does such a phenomenon also manifest in behavioral performance related to the offline state? Finally, several limitations of the present study should be noted. First, this research only employed behavioral measurements, leaving the neural mechanisms underlying sleep quality modulation of VWM offline states unaddressed, which requires further neural-level exploration in future work. Second, the sample was demographically homogeneous, individual differences in occupation, and daily rest patterns were not systematically controlled, potentially confounding sleep and VWM performance. Third, sleep quality was assessed solely with the PSQI, a subjective scale. This method lacks objective sleep microstructural indicators and cannot establish precise quantitative links between objective sleep profiles and VWM offline states. Future research should incorporate objective sleep monitoring to address this limitation.

Conclusions

This study employed a two-factor mixed experimental design to investigate the effects of sleep quality on different storage states of VWM. The results revealed that sleep quality exerted differential impacts on the online and offline states of VWM. Poor sleep quality was associated with greater impairment in the offline storage state. These findings provide new evidence for the relationship between sleep quality and VWM, and contribute to elucidating the inherent nature of their association.

Acknowledgements

The authors would like to first express sincere thanks to the participants for their active engagement in this study. We also thank all members of the research team who assisted in recruiting participants.

Abbreviations

VWM

Visual working memory

PSQI

Pittsburgh sleep quality index

ANOVA

Analyses of variance

ACC

Accuracy

RT

Reaction time

SD

Standard deviation

Authors’ contributions

LG conceived the study, collected the data, and wrote the original draft. JC conducted the software analysis, performed validation, and reviewed and edited the manuscript. XL collected the data and reviewed the manuscript. QL provided guidance on methods, supervised the research and administered the project. All authors reviewed and approved the final manuscript.

Funding

This work was supported by General Project of Humanities and Social Sciences Research of Ministry of Education of China (Grant No. 25YJA190009).

Data availability

The data that support the findings of this study are available in the [figshare] repository (https://doi.org/10.6084/m9.figshare.25498384.v4).

Declarations

Ethics approval and consent to participate

The study was conducted in accordance with the Declaration of Helsinki and approved by the Institutional Review Board (or Ethics Committee) of Sichuan Normal University (approval code: 2024LS06). Informed consent was obtained from all subjects involved in the study.

Consent for publication

Not applicable.

Competing interests

The authors declare no competing interests.

Footnotes

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Baddeley AD, Hitch GJ. Working memory. In: Bower GA, editor. Recent Advances in Learning and Motivation. Volume 8. New York: Academic; 1974. pp. 47–89. 10.1016/S0079-7421(08)60452-1. [DOI] [Google Scholar]
  • 2.Bühner M, Kröner S, Ziegler M. Working memory, visual–spatial intelligence and their relationship to problem-solving. Intelligence. 2008;36(6):672–80. 10.1016/j.intell.2008.03.008. [DOI] [Google Scholar]
  • 3.Cowan N. Working memory underpins cognitive development, learning, and education. Educational Psychol Rev. 2014;26(2):197–223. 10.1007/s10648-013-9246-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Teng C, Kravitz DJ. Visual working memory directly alters perception. Nat Hum Behav. 2019;3(8):827–36. 10.1038/s41562-019-0640-4. [DOI] [PubMed] [Google Scholar]
  • 5.Luck SJ, Vogel EK. The capacity of visual working memory for features and conjunctions. Nature. 1997;390(6657):279–81. 10.1038/36846. [DOI] [PubMed] [Google Scholar]
  • 6.Luck SJ, Vogel EK. Visual working memory capacity: From psychophysics and neurobiology to individual differences. Trends Cogn Sci. 2013;17(8):391–400. 10.1016/j.tics.2013.06.006. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Rose NS. The dynamic-processing model of working memory. Curr Dir Psychol Sci. 2020;29(4):378–87. 10.1177/0963721420922185. [DOI] [Google Scholar]
  • 8.Stokes MG. Activity-silent’ working memory in prefrontal cortex: A dynamic coding framework. Trends Cogn Sci. 2015;19(7):394–405. 10.1016/j.tics.2015.05.004. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Stokes MG, Muhle-Karbe PS, Myers NE. Theoretical distinction between functional states in working memory and their corresponding neural states. Visual Cognition. 2020;28(5–8):420–32. 10.1080/13506285.2020.1825141. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Harrington MO, Karapanagiotidis T, Phillips L, Smallwood J, Anderson MC, Cairney SA. Memory control deficits in the sleep-deprived human brain. PNAS. 2025;122(1):e2400743122. 10.1101/2023.11.07.565941. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Yuan XL, Wang CY. Sleep deprivation-induced cognitive impairment: Unraveling the role of neuroinflammation. Exp Neurol. 2025;394:115419. 10.1016/j.expneurol.2025.115419. [DOI] [PubMed] [Google Scholar]
  • 12.Chee MW, Chuah LY. Functional neuroimaging and behavioral correlates of capacity decline in visual short-term memory after sleep deprivation. PNAS. 2007;104:9487–92. 10.1073/pnas.0610712104. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.MacDonald KJ, Lockhart H, Storace AC, Emrich SM, Cote KA. A daytime nap enhances visual working memory performance and alters event-related delay activity. Cogn Affect Behav Neurosci. 2018;18(6):1105–20. 10.3758/s13415-018-0625-1. [DOI] [PubMed] [Google Scholar]
  • 14.Xie W, Berry A, Lustig C, Deldin P, Zhang W. Poor sleep quality and compromised visual working memory capacity. J Int Neuropsychol Soc. 2019;25(6):583–94. 10.1017/S1355617719000183. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Buysse DJ, Reynolds CF 3rd, Monk TH, Berman SR, Kupfer DJ. The Pittsburgh Sleep Quality Index: A new instrument for psychiatric practice and research. Psychiatry Res. 1989;28:193–213. 10.1016/0165-1781(89)90047-4. [DOI] [PubMed] [Google Scholar]
  • 16.Gong L, Wang M, Ye C, Liu Q. The impact of sleep quality on visual working memory varied with the duration of maintenance. Front Psychol. 2024;15:1404989. 10.3389/fpsyg.2024.1404989. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Havekes R, Abel T. The tired hippocampus: The molecular impact of sleep deprivation on hippocampal function. Curr Opin Neurobiol. 2017;44:13–9. 10.1016/j.conb.2017.02.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Karmaker C, Akter P. Visuospatial working memory: Does sleep quality correlate with it? Int J Indian Psychol. 2020;8:978–84. 10.25215/0803.105. [DOI] [Google Scholar]
  • 19.Christophel TB, Iamshchinina P, Yan C, Allefeld C, Haynes JD. Cortical specialization for attended versus unattended working memory. Nat Neurosci. 2018;21(4):494–6. 10.1038/s41593-018-0094-4. [DOI] [PubMed] [Google Scholar]
  • 20.Rose NS, LaRocque JJ, Riggall AC, Gosseries O, Starrett MJ, Meyering EE, Postle BR. Reactivation of latent working memories with transcranial magnetic stimulation. Science. 2016;354(6316):1136–9. 10.1126/science.aah7011. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Li Z, Liang T, Liu Q. The storage resources of the active and passive states are independent in visual working memory. Cognition. 2021;217:104911. 10.1016/j.cognition.2021.104911. [DOI] [PubMed] [Google Scholar]
  • 22.Muhle-Karbe PS, Myers NE, Stokes MG. A hierarchy of functional states in working memory. J Neurosci. 2021;41(20):4461–75. 10.1523/JNEUROSCI.3104-20.2021. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Deutsch P, Czoschke S, Fischer C, Kaiser J, Bledowski C. Decoding of working memory contents in auditory cortex is not distractor-resistant. J Neurosci. 2023;43(18):3284–93. 10.1523/jneurosci.1890-22.2023. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Panichello MF, Buschman TJ. Shared mechanisms underlie the control of working memory and attention. Nature. 2021;592:601–5. 10.1038/s41586-021-03390-w. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Barbosa J, Stein H, Martinez RL, Galan-Gadea A, Li S, Dalmau J, Adam KCS, Valls-Solé J, Constantinidis C, Compte A. Interplay between persistent activity and activity-silent dynamics in the prefrontal cortex underlies serial biases in working memory. Nat Neurosci. 2020;23(8):1016–24. 10.1038/s41593-020-0644-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Beukers AO, Buschman TJ, Cohen JD, Norman KA. Is activity silent working memory simply episodic memory? Trends Cogn Sci. 2021;25(4):284–93. 10.1016/j.tics.2021.01.003. [DOI] [PubMed] [Google Scholar]
  • 27.Moscovitch M, Cabeza R, Winocur G, Nadel L. Episodic memory and beyond: The hippocampus and neocortex in transformation. Ann Rev Psychol. 2016;67:105–34. 10.1146/annurev-psych-113011-143733. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Hermiller MS, VanHaerents S, Raij T, Voss JL. Frequency-specific noninvasive modulation of memory retrieval and its relationship with hippocampal network connectivity. Hippocampus. 2019;29(7):595–609. 10.1002/hipo.23054. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Chandra S, Sharma S, Chaudhuri R, Fiete I. Episodic and associative memory from spatial scaffolds in the hippocampus. Nature. 2025;638(8051):739–51. 10.1038/s41586-024-08392-y. [DOI] [PubMed] [Google Scholar]
  • 30.Giri B, Kinsky N, Kaya U, Maboudi K, Abel T, Diba K. Sleep loss diminishes hippocampal reactivation and replay. Nature. 2024;630(8018):935–42. 10.1038/s41586-024-07538-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Dai C, Zhang Y, Cai X, Peng Z, Zhang L, Shao Y, Wang C. Effects of sleep deprivation on working memory: Change in functional connectivity between the dorsal attention, default mode, and fronto-parietal networks. Front Hum Neurosci. 2020;14:360. 10.3389/fnhum.2020.00360. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Frenda SJ, Fenn KM. Sleep less, think worse: The effect of sleep deprivation on working memory. J Appl Res Memory Cognition. 2016;5(4):463–9. 10.1016/j.jarmac.2016.10.001. [DOI] [Google Scholar]
  • 33.Li Z, Zhang J, Liang T, Ye C, Liu Q. Interval between two sequential arrays determines their storage state in visual working memory. Sci Rep. 2020;10(1):7706. 10.1038/s41598-020-64825-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Zhang J, Ye C, Sun HJ, Zhou J, Liang T, Li Y, Liu Q. The passive state: A protective mechanism for information in working memory tasks. J Experimental Psychology: Learn Memory Cognition. 2022;48(9):1235–48. 10.1037/xlm0001092. [DOI] [PubMed] [Google Scholar]
  • 35.Liu XC, Tang MQ. Reliability and validity of the Pittsburgh sleep quality index. Chin J Psychiatry. 1996;29:103–7. [Google Scholar]
  • 36.Faul F, Erdfelder E, Lang AG, Buchner A. G*Power 3: a flexible statistical power analysis program for the social, behavioral, and biomedical sciences. Behav Res Methods. 2007;39(2):175–91. 10.3758/BF03193146. [DOI] [PubMed] [Google Scholar]
  • 37.Shaffer WO, Shiffrin RM. Rehearsal and storage of visual information. J Exp Psychol. 1972;92(2):292–6. 10.1037/h0032076. [DOI] [PubMed] [Google Scholar]
  • 38.Rose NS, Myerson J, Roediger HL, Hale S. Similarities and differences between working memory and long-term memory: Evidence from the levels-of-processing span task. J Experimental Psychology: Learn Memory Cognition. 2010;36(2):471–83. 10.1037/a0018405. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Kamiński J, Rutishauser U. Between persistently active and activity-silent frameworks: Novel vistas on the cellular basis of working memory. Ann N Y Acad Sci. 2020;1464(1):64–75. 10.1111/nyas.14213. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 40.Mızrak E, Oberauer K. Working memory recruits long-term memory when it is beneficial: Evidence from the Hebb effect. J Exp Psychol Gen. 2022;151(4):763–80. 10.1037/xge0000934. [DOI] [PubMed] [Google Scholar]
  • 41.Chen PC, Niknazar H, Alaynick WA, Whitehurst LN, Mednick SC. Competitive dynamics underlie cognitive improvements during sleep. PNAS. 2021;118(51):e2109339118. 10.1073/pnas.2109339118. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.Chernyshev MV, Guseev MA, Ekimova IV. Effect of acute and chronic sleep deficit on working and long-term memory in rats. J Evol Biochem Physiol. 2023;59:2129–40. 10.1134/S0022093023060182. [DOI] [Google Scholar]
  • 43.Guzeev MA, Chernyshev MV, Ekimova IV. The impact of sleep deficiency on spatial working and long-term memory in different rat models of sleep deprivation. Sleep. 2023;46:36–7. 10.1093/sleep/zsad077.0081. [DOI] [Google Scholar]
  • 44.Baran B, Pace-Schott EF, Ericson C, Spencer RM. Processing of emotional reactivity and emotional memory over sleep. J Neurosci. 2012;32(3):1035–42. 10.1523/JNEUROSCI.2532-11.2012. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Bryant NB, Nadel L, Gómez RL. Associations between sleep and episodic memory updating. Hippocampus. 2020;30(8):794–805. 10.1002/hipo.23178. [DOI] [PubMed] [Google Scholar]
  • 46.Peng Z, Hou Y, Xu L, Wang H, Wu S, Song T, Shao Y, Yang Y. Recovery sleep attenuates impairments in working memory following total sleep deprivation. Front NeuroSci. 2023;17:1056788. 10.3389/fnins.2023.1056788. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47.Li JH, Cao YX, Ou SM, Jiang TX, Wang L, Ma N. The effect of total sleep deprivation on working memory: evidence from diffusion model. Sleep. 2024;47(2):zsae006. 10.1093/sleep/zsae006. [DOI] [PubMed] [Google Scholar]
  • 48.Peters B, Rahm B, Kaiser J, Bledowski C. Differential trajectories of memory quality and guessing across sequential reports from working memory. J Vis. 2019;19(7):3. 10.1167/19.7.3. [DOI] [PubMed] [Google Scholar]
  • 49.Chee MW, Choo WC. Functional imaging of working memory after 24 hr of total sleep deprivation. J Neurosci. 2004;24(19):4560–7. 10.1523/JNEUROSCI.0007-04.2004. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.Kim T, Kim S, Kang J, Kwon M, Lee SH. The common effects of sleep deprivation on human long-term memory and cognitive control processes. Front NeuroSci. 2022;16:883848. 10.3389/fnins.2022.883848. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Rabinowitch I, Colón-Ramos DA, Krieg M. Understanding neural circuit function through synaptic engineering. Nat Rev Neurosci. 2024;25(2):131–9. 10.1038/s41583-023-00777-8. [DOI] [PubMed] [Google Scholar]
  • 52.Cowen MH, Raizen DM, Hart MP. Structural neuroplasticity after sleep loss modifies behavior and requires neurexin and neuroligin. iScience. 2024;27(4):109477. 10.1016/j.isci.2024.109477. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53.Raven F, Van der Zee EA, Meerlo P, Havekes R. The role of sleep in regulating structural plasticity and synaptic strength: Implications for memory and cognitive function. Sleep Med Rev. 2018;39:3–11. 10.1016/j.smrv.2017.05.002. [DOI] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The data that support the findings of this study are available in the [figshare] repository (https://doi.org/10.6084/m9.figshare.25498384.v4).


Articles from BMC Psychology are provided here courtesy of BMC

RESOURCES