Introduction

On January 30, 2020, the COVID-19 pandemic was listed as a public health emergency of international concern. The virus was later found to have human-to-human transmission characteristics and mainly spread through contact and respiratory droplets [1]. The unpredictable and uncontrollable pandemic caused widespread public anxiety and panic [2]. A recent review demonstrated the prevalence of anxiety symptoms ranging from 6.33 to 50.9% during the pandemic [3]. From March to April 2020, many countries implemented enforcement such as home quarantine, traffic control, and businesses and schools closures to stop the further escalation of the pandemic [4]. Cities with severe pandemics implemented a stay-at-home policy [5], people were not allowed out of the home and were required to do remote working at home or distance learning [6]. The social isolation led to a deterioration in psychological conditions, increasing feelings of loneliness and anxiety [7, 8]. The restrictions during the pandemic led to longer screen time for using Internet devices, seeking emotional relief, and ameliorating social isolation [9, 10]. Online work, study, and social interaction may also cause increased screen time. A survey covering 12,107 people showed that the screen time among Chinese residents was about 4.4 h during home quarantine [11].

During COVID-19, screen time rises significantly due to psychological needs and social requirements [12, 13]. Under the pressure of pandemics, people tend to use smartphones excessively to cope with negative emotions [10, 14]. However, excessive use of electronic devices (mobile phones, computers, TV, etc.) and persistently increased screen time have recently been linked to anxiety symptoms [10, 14,15,16,17,18,19]. The negative impact of excessive screen time on mental health may be exacerbated under highly stressful conditions like COVID-19. During the pandemic, people search online to access news about COVID-19, and excessive attention to such information could cause an increase in anxiety [2]. Meanwhile, the increased screen time may aggravate the lack of social interaction and physical activity caused by home quarantine, resulting in anxiety symptoms [20, 21]. Given the possible impact of screen time changes during COVID-19, we consider that excessive screen time would contribute to higher anxiety levels. Nevertheless, people were already had excessive screen time before the pandemic, and prolonged use of electronic devices negatively affects mental health [14,15,16]. The impact of total screen time on anxiety may not reflect the influence of changes in screen time due to COVID-19. We thus examined the effect of screen time changes on anxiety during the pandemic. In addition, the potential mechanism of the effect between screen time changes and anxiety during the pandemic is unknown, and we explored this further.

In recent years, several studies have indicated that sleep and physical activity might play significant roles in the relationship between screen time and negative emotion, but the underlying mechanism of sleep and physical activity in this relationship has not been examined totally [22,23,24,25]. Extensive research has shown that excessive screen time caused longer sleep latency, insufficient sleep duration, and poor sleep quality [26,27,28,29]. Excessive screen time, especially time spent in the evening, may delay bedtime. Blue light from digital devices could suppress melatonin and lead to circadian rhythm disorder, which ultimately causes poor sleep outcomes [26, 30, 31]. In addition, cognitive arousal for browsing the web may delay or disrupt sleep [32], given that screen use could affect sleep for these reasons, and excessive screen time may disturb sleep mainly by delayed sleeping time. Poor sleep quality is also linked with the prevalence of anxiety symptoms [33].

Similar to sleep, physical activity may mediate the relationship between screen time changes and anxiety. In previous studies, people with long screen time typically reported less time for physical activity [11, 34, 35]. Importantly, the benefits of physical activity on anxiety have been recognized, not only under normal conditions but also during the pandemic [36,37,38,39,40,41,42]. During COVID-19, people who achieved physical activity-recommended guidelines showed a significantly lower possibility of experiencing higher levels of anxiety [41]. Physical activity acts on multiple biological and psychological systems, leads to synergistic adaptations that effectively reduce anxiety symptoms [43], and tends to activate anti-inflammatory mechanisms to diminish oxidative stress [38]. Additionally, lower amounts of physical activity were associated with higher daily screen time during the pandemic [42].

In sum, sleep and physical activity may be mediators between screen time and anxiety during home quarantine of COVID-19. Our hypotheses are also supported by the digital displacement model, which interprets the indirect effect of screen time on mental health [20, 23]. The theory assumes that excessive screen time may displace the time of engaging in activities that are more beneficial for mental health, including face-to-face social interaction, sleep, exercise, reading, and time spent outdoors [20, 22, 44,45,46], and the affected activities would further affect negative emotion.

The present study aimed to determine whether screen time changes affect anxiety during COVID-19 and further examine the mechanism between screen time and anxiety changes. Therefore, we proposed the following hypotheses and built the corresponding model: (1) increased screen time caused by COVID-19 might have a negative effect on anxiety; (2) screen time changes may affect anxiety by affecting sleep latency and subjective sleep quality; (3) screen time changes may impact subjective sleep quality through sleep latency; (4) changes in screen time would affect anxiety through physical activity. The conceptual hypothesized model is shown in Fig. 1.

Fig. 1
figure 1

The conceptual model of this study

Methods

Participants and procedures

This was a cross-sectional study conducted from March to April 2020. The self-developed questionnaire was delivered on the website to comply with the policies for controlling COVID-19 transmission. The participants completed the questionnaire by clicking a link on social media. Through a convenience sampling method, a total of 1109 adults from 31 provinces in China filled in the questionnaire voluntarily online. Finally, 970 participants met the following criteria and were included in the data analysis: (1) aged 18 years and above, (2) completed the questionnaire correctly, (3) slept 6–10 h every night. Participants were asked to report their changes in screen time, physical activity, sleep, and mental conditions during the home quarantine for the COVID-19 pandemic. This study was conducted in accordance with the Declaration of Helsinki and approved by the Medical Ethical Committee of the South China Normal University. Each participant signed informed consent before study commencement.

Measures

Anxiety

The following question assessed changes in the levels of anxiety: compared with the day before COVID-19, how has your anxiety level changed during the stay at home? A 5-point Likert scale was used to rate the item: 1 = dropped significantly, 2 = dropped slightly, 3 = unchanged, 4 = increased slightly, 5 = increased significantly.

Screen time changes

A single question assessed the changes in screen time: compared with the day before COVID-19, how would you rate the screen time changes (including computers, TVs, mobile phones, etc.) during the stay at home? The question was evaluated by a 5-point Likert scale: 1 = decreased significantly, 2 = decreased slightly, 3 = unchanged, 4 = increased slightly, 5 = increased significantly.

Sleep

Sleep latency: Four items were used to obtain the difference in sleep latency before and after the COVID-19 pandemic. Participants were asked to report the time it takes to fall asleep after going to bed or putting down the phone on weekdays and weekends before and after the pandemic. The changes in sleep latency were calculated as the difference between sleep latency before and after the pandemic.

Sleep quality: A single item measured sleep quality changes: compared with the days before the COVID-19 pandemic, how would you rate the changes in sleep quality during the stay at home? The item was rated by a 5-point Likert scale, from 1 (decreased significantly) to 5 (increased significantly).

Physical activity

A single item was used to obtain physical activity changes during the stay at home: compared with the day before the pandemic, how would you rate the changes in physical activity level? A 5-point Likert scale was employed to rate the item (e.g., 1 = decreased significantly, 5 = increased significantly).

Basic demographic characteristics

Four questions were designed to collect participants' basic information, including age (What is your current age?), gender (Male or female?), occupation (Student or working?), and location (Where do you live currently?).

Data analysis

The SPSS 20.0 was used for descriptive statistics (including continuous variables and percentages of discrete variables) and Spearman correlation analyses of all variables in this study. In descriptive statistics, the difference in sleep latency less than zero was discriminated as a decrease in sleep latency after COVID-19, more than zero was discriminated as an increase, and zero as unchanged. In addition, we conducted a series of ordinal logistic regression analyses to determine the strength of associations between screen time, sleep latency, sleep quality, physical activity, and anxiety by SAS University Edition. In regression analyses, we set the unchanged level of screen time as a reference to determine the effects of screen time on levels of anxiety. The unadjusted model detected the effect of screen time changes, sleep quality changes, sleep latency changes, and changes in physical activity on anxiety separately. Model 1 (basic adjusted model) included age, gender, occupation, screen time, and anxiety. Model 2 (partially adjusted model) included sleep latency and sleep quality based on Model 1, while Model 3 (fully adjusted model) incorporates physical activity indicators.

Furthermore, the hypothesized multiple mediation model was conducted to verify the mechanism between screen time and anxiety by Mplus 8.0. The fit indices: Chi-square value, root mean square error of approximation (RMSEA), comparative fit index (CFI), Tuck–-Lews index (TLI), and standardized root mean square residual (SRMR) were reported to evaluate model fit. The direct and indirect effects were assessed by the bootstrapping procedure. The direct effect of screen time changes, mediation effects of sleep latency, sleep quality, and physical activity on anxiety were significant if the range of 95% CI did not include zero, controlling the gender and occupation [47]. Moreover, the hypothesized model had adjusted for socio-demographic variables.

Result

Descriptive statistics

Table 1 shows the critical characteristics of the 970 participants. Individuals who participated in this study ranged from 18 to 40 years old (M = 23.00, SD = 4.76), 74.4% of them were female, and 79.1% were students (Table 1). 85.8% of the participants increased their screen time after the outbreak of COVID-19, and over half (53.3%) reported their level of anxiety to be higher than before. 26.1% indicated that they had lower sleep quality, while 21.6% had higher sleep quality than before the pandemic. 36.9% of participants took more time to fall asleep after going to bed, and more than half (51.5%) of the participants reduced their frequency of physical activity after the virus outbreak.

Table 1 Descriptive statistics for the key characteristics of participants

Correlations for age, gender, occupation, screen time, sleep, physical activity, and anxiety

The results of Spearman’s correlations are shown in Table 2. Higher level of anxiety was related to longer screen time (r = 0.21, p < 0.01) and longer sleep latency (r = 0.11, p < 0.01), whereas lower anxiety was linked with better sleep quality (r = − 0.27, p < 0.01) and more physical activity (r = − 0.23, p < 0.01). Screen time was significantly correlated with all variables (both p < 0.01). Moreover, sleep quality had a negative association with sleep latency (r = − 0.22, p < 0.01).

Table 2 Correlation coefficient of all variables

Association between screen time changes and anxiety by ordinal logistic regression

The effects of screen time on anxiety were significant in all models (see Table 3). A fully adjusted model (Model 3) was applied to verify the associations between screen time and anxiety, without covariance of sleep and physical activity. Under Model 3, the strength of association between screen time and anxiety had a further attenuation than Model 2. Physical activity had a significant effect on anxiety in Model 3. The participant who considered that the frequency of physical activity had decreased significantly was 2.76 times more likely to report higher anxiety (95% CI 1.79–4.26).

Table 3 Association between screen time, sleep, physical activity and anxiety by ordinal logistic regression

Test of multiple mediation model

Controlling for age, gender and occupation, the model fit the data well, with χ2  = 6.36, p = 0.70, RMSEA = 0.02, CFI = 0.99, TLI = 0.98, SRMR = 0.06. In the estimated model, the direct paths from anxiety to sleep quality (β = − 0.27, p < 0.001), screen time (β = 0.12, p < 0.01), and physical activity (β = − 0.18, p < 0.001) were significant, while the path from anxiety to sleep latency was not significant (Fig. 2). Regarding the mediation effect of sleep quality, screen time was a significant predictor of anxiety. Thus, sleep quality was a mediator between screen time and anxiety, and the mediation effect was 0.024 (p < 0.05, Table 4). In contrast, the effect of screen time on anxiety was not significant when sleep latency acted as a mediating variable. Furthermore, sleep latency and sleep quality worked as serial mediators between screen time and anxiety, and the serial mediation effect was 0.007 (p < 0.01, Table 4). For the mediating variable of physical activity, screen time was also a significant predictor of anxiety (β = 0.048, p < 0.001, Table 4). No age, gender, or occupation effects on anxiety were observed.

Fig. 2
figure 2

The final model. **p < 0.01, ***p < 0.001. Age, gender and occupation were controlled

Table 4 Results of multiple mediation model test

Discussion

In the current cross-sectional study, we conducted an online survey of screen time changes, anxiety, sleep, physical activity, and demographic variables among participants from China. The present results indicated that 85.8% of participants in our study spent more time on electronic devices, and significantly increased screen time predicted anxiety symptoms. The multiple mediation analysis confirmed the hypothesis that increasing screen time on anxiety might be partly attributed to the impact on individual sleep and physical activity, and the mediating effect of physical activity on anxiety symptoms was stronger than sleep.

Screen time changes and anxiety symptoms

The adverse effect of significantly increased screen time on anxiety during the pandemic of COVID-19 was observed in the current study. In ordinal logistic regression analyses, significantly increased screen time was associated with anxiety symptoms. The association between such screen time change and anxiety remained strong even after controlling demographic variables, since most people have increased the use of mobile phone for watching videos and playing games during COVID-19 [46]. With fewer opportunities for face-to-face communication during home quarantine, the non-social use of screen time may further reduce the perceived social support and cause anxiety symptoms [48, 49]. Information related to COVID-19 transmission and mortality obtained from the video might also aggravate anxiety [50]. In addition, people exhibit stress responses to emergency-caused changes, causing significant changes to their lifestyles under the threat of COVID-19 [51]. Increased screen time due to entertainment during home isolation may accelerate lifestyle changes and lead to negative mental health outcomes [51, 52].

In particular, slightly increased screen time, slightly and significantly decreased screen time did not predict anxiety symptoms in regression analysis. The findings suggested that a slight increase in screen time did not cause anxiety symptoms, and reducing screen time did not help to relieve individuals' anxiety, which means the change of screen time in a certain range does not affect the levels of anxiety. One study indicated that screen time of watching TV or videos was associated with anxiety and other psychological symptoms, while chatting and working were not [22]. During COVID-19, the increased screen time that resulted from the transformation of working and studying patterns may not influence individuals’ mental health [12]. Meanwhile, appropriate time of watching videos, playing games, and socializing online may be helpful to relieve the anxiety symptoms [53, 54], to a certain extent, offsetting the negative effect of deficient in mentally healthy activities due to increased screen time.

The impact of sleep and physical activity

In this study, people with poorer sleep quality had much higher odds of increasing anxiety than those who reported unchanged. The effect of sleep quality on anxiety was even stronger than screen time and physical activity. The sleep loss can result in an abnormal top-down prefrontal control of emotional regulation, thereby directly affecting responses to negative emotions [55]. Meanwhile, the negative impact of sleep quality changes reflected the effects of different aspects of sleep among people [56]. For instance, in mediation analysis, the difficulty in falling asleep contributed to worse sleep quality, causing increased levels of anxiety. In addition to difficulty falling asleep, delayed sleep patterns may also cause a decline in sleep quality. Due to home isolation, people do not have to wake up for work or study as early as before the pandemic of COVID-19 [57], and later bedtime and wake time were observed in numerous retrospective studies [9, 58, 59]. Circadian rhythm disorders were associated with increased trait and state anxiety during the pandemic [60]. Moreover, the fear of being infected and other affective issues during COVID-19 caused insomnia, and problems with sleep maintenance may lead to reduced sleep quality. A systematic review concluded that the sleep maintenance experience is likely to make a relatively larger contribution to the overall perception of sleep compared with onset [56], which may partly explain why the robust association between sleep quality and anxiety still persisted after controlling screen time and sleep latency.

In regression analyses, the attenuation in the odds ratios of screen time revealed the important role of sleep quality, sleep latency, and physical activity in the association between screen time changes and anxiety. The results of the multiple mediation analysis elucidated that the increase in screen time directly impacted anxiety and indirectly through sleep quality, which is closely related to mental health. Sleep latency did not directly mediate the association between screen time changes and anxiety. Consistent with previous studies, increased screen time was negatively correlated with sleep quality [27,28,29], while poorer sleep quality predicted a higher level of anxiety [3, 33, 61]. Additionally, the short sleep latency influenced by increasing screen time would lead to an increase in anxiety levels by reducing sleep quality in multiple mediation analyses. The following explanations may partially explain this phenomenon. During the pandemic period, using electronic devices before bedtime was significantly elevated [9]. Cognitive arousal for browsing the pandemic-related information from digital media makes individuals difficult to fall asleep, causing poorer sleep quality [62]. As we have mentioned, people may exhibit delayed circadian rhythm and irregular sleep duration, contributing to a decline in sleep quality [63]. Difficulty in falling asleep may be part of the reasons for the lower levels of sleep quality, which amplifies anxiety symptoms during the pandemic. Thus, sleep latency and sleep quality mediated the relationship between screen time and mental health, as previous studies showed [26, 32, 64].

Moreover, physical activity also mediated the relationship between screen time and anxiety. The reduction of physical activity is fostered by increasing screen time, and people with decreased physical activity reported a higher level of anxiety. The present findings correspond to studies indicating that increased screen time is often linked with sedentary behavior and less physical activity during COVID-19 [11, 65]. According to the digital displacement model, people using electronic devices would occupy the time for other behavior that benefit mental health, such as physical activity [20]. The higher levels of screen time caused by COVID-19 may increase the possibility of suffering from the Internet or mobile phone addiction [66]. Individuals with this addiction cannot limit or control their electronic devices even when they know the harmful consequences [67]. They cannot manage the time using electronic devices, which may lead to less time for physical activity (the interpretation might also be applied to screen time on sleep). Accordingly, health-related behaviors such as sleep and physical activity have changed with the Covid-19 pandemic [68]. Furthermore, in line with the available literature, increased physical exercise attenuates the negative impact of screen time on anxiety, which may contribute to physical health improvement [38]. On the other hand, reducing sleep quality and physical activity caused by screen time increases may amplify the sense of being out of control, contributing to a higher level of anxiety [69]. The above findings revealed the potential mechanism for the effect of screen time changes on anxiety and provided empirical evidence for the digital displacement model.

The current study was conducted during the global pandemic, and the sharply changing screen time in our study resulted from home quarantine. The negative effects of increasing screen time were not entirely due to the excessive use of electronic devices as before the pandemic, which also reflected the impact of rapid lifestyle changes on anxiety during COVID-19. Moreover, the increased screen time caused by COVID-19 might result in a higher possibility of suffering from Internet or mobile phone addiction and aggravate the delirious effects of screen time on health-related behaviors such as sleep and physical activity, contributing to the higher level of anxiety. Our findings indicated that appropriately limiting screen time, maintaining good sleep, and engaging in physical activity are warranted against the incidence of mental health disorders during the lockdown.

Limitations and future directions

The following limitations need to be considered. First, participants’ responses may be subjective due to the assessment of anxiety with a single item, and assessment with no validated scales may lead to information bias. For instance, participants may overestimate or underestimate actual screen time due to different periods [46]. Facing COVID-19 and changes in daily life, people are under unprecedented pressure and are experiencing severe psychological distress [4]. To reduce the burden, we tried to simplify our questionnaire as much as possible. Meanwhile, due to the sudden outbreak of COVID-19, it was challenging to measure screen time and anxiety before and after the pandemic directly. Therefore, we developed a questionnaire based on the research needs and used the variables of screen time changes and anxiety changes. Many studies revealed that screen time and anxiety levels increased under the burden of COVID-19, [10, 69], which can support our findings. In addition, several researchers have tested the validity of a single-item measure for evaluating mental health and found that a single-item measurement was used associated with multiple-item scale significantly [70,71,72]. Secondly, we used a convenience sampling method to recruit participants, which may cause selection bias. Due to the lockdown, it was extremely difficult to use the probability sampling method or conduct face-to-face interview. Similar to other studies conducted during the pandemic [73, 74], we used a convenience sampling method to obtain a large sample safely and quickly. Because the recruitment of participants in the current study was via the Internet, and young adults were much more familiar with complete investigation online than other groups, most of our participants were university students. However, since young adults tend to have the highest rates of screen time and smartphone usage, this group is also the primary population investigated in studies of screen time [75]. Our study is consistent with recent studies related to screen time in terms of sample composition [76, 77]. Moreover, to reduce the potential influence of this selection bias, we applied covariance analysis in the model to control the effect of age, gender, and occupation. Although the present results were relatively reliable, it is better to control the proportion of participants by age, gender, and occupation in future studies if possible. Thirdly, some correlation coefficients in our correlation analysis were relatively low but still significant, which may be due to the large size of the sample. Accordingly, we conducted ordinal logistic regression analyses and developed a multiple mediation model to further clarify the relationship between the variables. Fourthly, although the mediating effect of physical activity on anxiety symptoms is more robust than sleep in our study, the result may be attributed to the absence of other factors such as sleep duration and rhythm. Previous studies showed that there might be an interaction between exercise and sleep. For instance, walking before bed can lead to an increase in sleep latency [78,79,80]. Future research on screen time and anxiety should consider the interaction between sleep and physical activity. Fifthly, the cross-sectional design restricted our understanding of the long-term effect of screen time changes on anxiety. The cross-sectional studies were necessary to detect the immediate effects of screen time changes on anxiety. However, as we mentioned, the emergence of anxiety symptoms may be lasting or postponed during the pandemic. Longitudinal studies examining the association between screen time changes and anxiety symptoms during COVID-19 are warranted.

Although the study has the above limitations, the findings in our study revealed the effect of the magnitude of screen time variation on anxiety, and provided guidance for future investigations of potential mechanisms underlying screen time and anxiety. During the home quarantine of COVID-19, using electronic devices is common for entertainment and relaxation. Meanwhile, due to the continuous spread and outbreaks of the pandemic, online work and learning are still an important part of people's daily life. The increase in screen time became an inevitable trend, but the current findings indicated that a rapid rise in electronic device usage time would amplify negative emotion. Moreover, the significantly increased screen time would result in poor sleep and lack of physical activity. People should consciously reduce screen time and participate in other activities that help alleviate anxiety symptoms during the pandemic, such as exercising and communicating with others. Additionally, this study showed that people with significantly lower sleep quality were up to 19.61 times more likely to have increased anxiety than those who were unchanged, which revealed the importance of maintaining good quality sleep for mental health. Reducing the time spent on mobile phones and other electronic devices before bedtime might be an effective way to improve sleep quality and reduce the negative influence on anxiety symptoms.

Conclusions

This study revealed the adverse effect of significantly increased screen time caused by the pandemic on anxiety symptoms. Sleep latency, sleep quality, and physical activity can mediate the relationship between screen time changes and anxiety during the pandemic. Moreover, difficulty in falling asleep caused by increased screen time would contribute to poorer sleep quality, further amplifying anxiety symptoms. In sum, our findings suggested that the fluctuation of screen time in a certain range does not affect the level of anxiety. The significantly increased screen time would result in poor sleep, including longer sleep latency and worse sleep quality, and lack of physical activity, which would lead to higher levels of anxiety.