Introduction

Good sleep quality was associated with improved attention, behavior, learning, memory, emotional regulation, quality of life, and mental and physical health [1]. In contrast, inadequate sleep had negative health consequences, for example, obesity, diabetes, hypertension, and depression [2, 3]. Furthermore, inadequate sleep for adolescents and adults has been shown to carry behavioral risks such as self-harm and suicide attempts [4,5,6]. The recommended duration of sleep for adolescents is 8 to 10 h/day [7]. In Thailand, the average sleep period among adolescents was 7 h a day which was lower than the recommendation [8]. Research in the USA found that a duration of more than 9 h/day compensated for a debt of sleep and could reduce fatigue [9]. Those with sleep debt, which defined as not getting adequate sleep over a series of days, needed more hours for sleep compensation. However, the risk for insulin resistance and metabolic syndrome due to sleep deficiency is not minimized after oversleeping [10].

Changes in sleep–wake regulation and circadian rhythm during adolescence were biological process which might contribute to sleep problems in adolescents [11]. Studies from South Korea, Northern Taiwan, and Germany showed that the duration of sleep among adolescents decreased with increasing age [12,13,14]. Furthermore, many factors were also contributed to insufficient sleep during this stage such as caffeine consumption, academic performance, and the use of electronic media [15]. Thai adolescents used social media (SM) for recreational purposes and the most preferred social platforms were Facebook, YouTube, Line, and Twitter [16]. The prevalence of Facebook addiction among Thai high school students was higher than those in Philippine, Germany, and Turkey [17]. Other researches found that SM use was strongly associated with sleep disturbance, depression, and anxiety [18, 19]. The previous studies also demonstrated that adolescents who had higher levels of SM use for emotional investment, those giving value of spending online time to make them feel happy or connect them to the past memories or other activities, both in general and at night, experienced poorer sleep quality, lower self-esteem, and higher levels of anxiety and depression [20, 21]. Nonetheless, those did not explore factors associated with SM use and sleep quality, such as anxiety, depression, or years of schooling. The previous study showed the linear association between multiple platform of social media use for personal purposes and emotional well-being such as stress and poor sleep quality [16]. The strongest predictor of having very poor sleep quality was Twitter-addiction [16]. Furthermore, risk of depression among adolescents increased whenever increasing use of SM [22].

The systematic review and meta-analysis regarding the effect of the COVID-19 pandemic on sleep quality in adolescents found that sleep quality worsened during those pandemic, despite of increasing sleep duration [23]. Also, sleep characteristics such as increased sleep duration, late bedtimes, and poor sleep quality were related to the changes in bedtime routines and screen time usage during those pandemic [23]. Furthermore, time spent on social media had a stronger relationship with emotional distress among female rather than male. This previous study also proposes gender differences in the relationship between SM use and well-being which demonstrated that female who interacted with SM higher at age 10 were associated with declines in well-being [24]. Similar to the study during the COVID-19 outbreak in China, it found that being female, more stress, and spending over 60 min on SM were associated with anxiety symptoms increment [25].

Even though most studies were done during that pandemic, but the study period was quite limited. The longitudinal studies exploring the association between SM use and sleep quality for different time periods were required. Furthermore, during the COVID-19 pandemic, the majority of adolescents stayed at home with social isolation. Factors related to sleep, psychological well-being and SM use in this outbreak was interesting to explore its association. The current study aimed to investigate the characteristics of sleep, use of social media (and electronic devices) and mental health in the study population during COVID-19 lockdown period and after school re-opening. The secondary objective was to assess the association between poor sleep quality and use of social media, and mental health.

Methods

Study design

This prospective cohort study was conducted between December 2019 and September 2020. Before starting this research, its protocol was approved by the IRB in our institution. It was conducted at the University hospital. All methods were performed in accordance with the relevant guidelines and regulations.

Participants

The recruitment process was carried out at a private all-girl school in Bangkok, Thailand. The school was selected because it exemplified a focus population that represented a gender-specific pattern of SM use. Participants were female adolescents (aged 12 to 18 years) who studied in grades 7 through 12 and had agreed to participate. Informed consents were obtained from their parents or legal guardians.

Data collection

A total of 219 participants completed a range of self-administered electronic questionnaires at baseline, 3 months, and 6 months. Exclusion criteria were having underlying diseases, especially obstructive sleep apnea and mental health illnesses. Only 6 participants did not complete all questionnaires and were excluded from data analysis. Data collection was carried out during 2 semesters and during the intervening school break. The baseline was the month of the second-semester final examinations (February 2020). The 3-month follow-up occurred during the COVID-19 pandemic and associated lockdown period (May 2020). The 6-month follow-up was at the beginning of the first semester after the school reopening with new normal school policy (September 2020). The self-administered questionnaires consisted of a health behavior survey, an SM usage questionnaire, the Pittsburgh Sleep Quality Index (PSQI) Instruments, the Thai version of the Patient Health Questionnaire (PHQ-9), and the Thai version of the Screen for Child Anxiety Related Emotional Disorders (SCARED) questionnaire.

Materials

All previous tools in this study were validated for adolescent population and used under owners’ permission.

The health behavior survey collected information about age, grade point average (GPA), learning problems, body satisfaction, exercise, caffeine consumption, and risky behaviors. This questionnaire was routinely used to assess the adolescent’s behaviors particularly risky behaviors [26].

We developed the SM use questionnaires based on the objective of this study and it was subjectively reported by answering a specially prepared questionnaire. It had been content-validated by 3 specialists in adolescent medicine. The questionnaire focused on the types of SM, the time spent, the devices used to access SM, the main purpose of use, and problems related to SM usage such as feeling distressed if not using SM, being told by family and friends to decrease using SM, using SM to relax or to socialize, resulting in sleep insufficiency, desiring to stop using SM and seeking help.

Sleep quality was evaluated with the PSQI-Thai version. This 19-item self-administered questionnaire has a sensitivity of 77.78% and a specificity of 93.33% [27]. PSQI was validated for the adolescent population [28]. It assesses sleep quality over the previous month. Scores are obtained for 7 domains: subjective sleep quality, sleep latency, sleep duration, habitual sleep efficiency, sleep disturbances, use of sleep medications, and daytime dysfunction. A total score of greater than 5 (range 0–21) is classified as poor sleep quality.

The Thai version of the Screen for Child Anxiety Related Emotional Disorders (SCARED) is a validated questionnaire for anxiety screening. Permission to use was obtained from Ularntinon S [29]. This 41-item rating scale questionnaire used a 3-point scale (0 = almost never, 1 = sometimes, and 2 = often). Total SCARED scores ≥ 25 were likely to signify an anxiety disorder. Total scores ≥ 9 (from items 5, 7, 14, 21, 23, 28, 33, 35, and 37) indicated the possibility to be a generalized anxiety disorder. Total scores ≥ 8 (from items 3, 10, 26, 32, 39, 40, and 41) suggest to be a social anxiety disorder.

Depression was identified using the Thai version of PHQ-9 [30], validated by Kongsook et al. [31] This tool was recommended as part of the Thai Clinical Practice Guideline for depression to assess all Thai adolescents during routine health check-up. The self-report instrument uses 9 questions to assess the symptoms of depression experienced by an individual during the previous 2 weeks. All questions are scored from 0 (not at all) to 3 (nearly every day). A total score ≥ 7 were the optimal cut-off point for diagnosing depression in the Thais, with a sensitivity of 86.15% and specificity of 83.12%.

Statistical analysis

Statistical analyses were performed using PASW Statistics for Windows (version 18; SPSS Inc., Chicago, IL, USA). The characteristics of the samples were summarized using frequency, percentage, mean, and standard deviations for normally distributed variables. A generalized linear model (using repeated measures) was performed to compare continuous variables during the 3 periods, and Cochran’s Q test was performed to identify the differences in the values of the 3 periods. The correlation coefficient was used to analyze the association between PSQI scores and depression, anxiety, and related factors. Univariate and multivariate analyses were performed using binary logistic regression. The dependent variable was sleep quality, while the independent variables were the total duration of SM use, the SCARED-Thai version total scores (anxiety disorder), generalized anxiety disorder scores, the social anxiety disorder scores, and the depression scores. Unadjusted and adjusted odds ratios with their 95% confidence intervals were reported. All significant factors from the multivariate analysis were used to put in the second analysis for adjusted odd ratios. A p value of less than 0.05 was considered statistically significant.

Results

Demographic data are summarized in Table 1. The mean age was 14.52 (± 1.59) years, and the mean GPA was 3.24 (range 1.45–4.00). Half of the students consumed caffeine after lunch (54.8%) and felt depressed (55.7%). A total of 81.3% reported that their sleep quality was poor.

Table 1 Demographic data (N = 219)

Table 2 showed the characteristics of the SM use, PSQI, depression, and anxiety at baseline, 3 months, and 6 months period. The 3 periods had a statistically significant difference in the average SM use during their respective survey week. The most common SM platforms were YouTube, Line, and Instagram. The proportion of participants who played online games during the school break was higher than the corresponding levels for the first and second semesters (42.9%, 29.7%, and 32%, respectively; p = 0.002). A total of 154 students (70.2%) used a smartphone to access SM at baseline, which was significantly higher than the values for the 2 other periods (p < 0.001). The majority of the students used SM after 4 PM on weekdays (78.1%, 90.9%, and 83.3%) and after 6 PM on weekends (79.9%, 65.7%, and 76.7%). Most of the students used SM to relax, with the highest level of use for this purpose during the school break (84%, 94.5%, and 89%; p = 0.003). The average duration of sleep (hours/night) was 6.50 at baseline, 6.99 at 3 months, and 6.64 at 6 months (p = 0.001). At these points, only a certain amount of students (8.7%, 13.2%, and 5.5%) reported sleeping for more than 8 h (p = 0.02). At baseline, 56.1% were diagnosed with poor sleep quality, and the proportion decreased at 3 months- (53.4%) and 6-months follow-up (50.7%). At 6-months-period, a significant number of students reported feeling sad for more than 2 weeks. The level was higher than those of the other 2 periods (p < 0.001), similar to the average self-rated happiness score (p < 0.001). There were no significant differences in anxiety among those during the 3 periods.

Table 2 Characteristics of social media usage, Pittsburgh Sleep Quality Index, depression, and anxiety related disorder among high school female adolescents (N = 219)

The association between PSQI scores and the total duration of SM usage during the 3 periods, showed a statistically significant positive correlation only at the beginning of the study (r = 0.14; p < 0.05; Table 3). However, there was a significant positive correlation between PSQI scores and anxiety, depression, self-perception of poor sleep quality, and self-reported learning problems. Academic performance, caffeine consumption, and risky behaviors were not associated with poor sleep quality.

Table 3 Association between Pittsburg Sleep Quality Index scores and social media usage, anxiety, depression, learning, and risky behaviors (N = 219)

Factors associated with poor sleep quality are listed in Table 4. SM use was associated with poor sleep quality only at 6-months follow-up (odds ratio, 1.11; 95% CI, 1.02–1.22). Students who had higher total SCARED scores, generalized anxiety disorder scores, and social anxiety disorder scores were more likely to have poor sleep quality (Table 4). The self-perception of poor sleep quality was associated with poor sleep quality in all 3 periods (4.59 [95% CI, 2.23–9.44]; 2.83 [95% CI, 1.39–5.72]; and 6.44 [95% CI, 3.09–13.42]). After adjusting for the significant factors in our univariate analysis, a multivariate analysis found that only depression and self-perception of poor sleep quality were associated with poor sleep quality at baseline and 6-month follow-up.

Table 4 Factors associated with poor Pittsburg Sleep Quality Index scores (N = 219)

Discussion

During the lockdown female adolescents reported an increase in sleep problems; mainly long sleep latency and total scores of PSQI, used more electronic devices and social media. However, differences in the frequency of anxiety and depression were not significant between the three periods. Poor sleep quality was correlated with social media use after the lockdown, but not during the lockdown, probably due to the flexibility of school schedules. Our results were similar to previous studies, showing that SM use was associated with poor sleep quality [20, 32, 33]. A systematic review found that the vast majority of studies demonstrated that screen-based media consumption, delayed bedtimes, and reduced total sleep duration resulted in adverse sleep [34]. Furthermore, poor sleep quality was associated with a higher likelihood of addiction to SM or online gaming [16, 35]. Interestingly, our study revealed that poor sleep quality was not correlated with SM use during the school break. The explanation for this might be that even though the students had a greater opportunity to sleep longer during the school break than during the semesters, the total duration of sleep was still below the recommended level, resulting in no difference in sleep quality scores. However, the data revealed that the proportion of students who slept for more than 8 h was higher during the school break than during the two semesters. A review of the literature related to school start times and sleep among adolescents also showed that delaying school start time increased sleep duration by delaying a wakening time [36].

The COVID-19 pandemic and lockdown in Thailand could have inadvertently encouraged students to access SM due to the move to online learning, virtually with computers and mobile devices, making them more access to SM. Our study found that the average usage of SM and online gaming during the lockdown period (i.e., the break between the two semesters) were greater than that during the two semesters, when the students were back to school. Moreover, the use of SM on weekends and weekdays during the school break differed from the use during the first and second semesters. Students did not access SM before school start time because they tended to wake up late. This contrasted with the second-semester final examination period, when the proportion of SM users increased significantly after midnight both weekdays and weekends.

The findings of this study showed that depression and anxiety were related to poor sleep quality. This corresponded with many studies that demonstrated an association between SM use and mental health outcomes [19, 21]. The COVID-19 pandemic and lockdown did not affect negative emotions in our study population.In contrast, previous studies on anxiety and depression during COVID-19 lockdowns showed that students experienced more stress, anxiety, and depression [37,38,39].

The strength of the study was a longitudinal study exploring the association between SM use and sleep quality for three different time period. The study results were similar to prior studies which showed that adolescents who use SM tended to have a poorer sleep quality, and higher levels of anxiety and depression [19, 20].

The limitations of the current study must be considered. First, the population in the study is not generalizable because it might not imply male gender and public schools. Second, the study did not have the control group. Third, as the study was questionnaire-based, it reported the subjective assessments of the students. Therefore, the accuracy and reliability of the information they provided in their responses may be compromised, given that the information was based on their recall or individual assessments. Finally, self-reported responses about emotions may not align with the clinical diagnoses of mental health specialists. Further experimental and observational research were needed to investigate details for both the female and male populations, which could clarify the association between SM usage and sleep quality.

Conclusions

Female adolescents used more electronic devices and social media during the COVID-19 lockdown and reported an increase in sleep problems. However, between the three periods of time, there was no difference in the frequency of anxiety and depression. Poor sleep quality was correlated with social media use after the lockdown, but not during the lockdown. Higher levels of SM usage were associated with poorer sleep quality and psychological distress. The health guidance of time-limited use of SM, increasing duration of sleep, and non-SM activities participation should be implemented for Thai students to prevent sleep-related problems.