Introduction

Mental health problems affect 10–20% of children and adolescents worldwide [1] and are the leading causes of disability in young people aged 10–24 years [2]. Mental health problems commonly have their onset during adolescence [3], implying that it is important to identify modifiable risk factors in order to prevent the development of mental health problems in adolescents and in later life. In Sweden, the proportion of 13- and 15-year-old students reporting multiple psychosomatic symptoms, such as headaches and difficulty in sleep, has doubled since the mid-1980s [4], and psychosomatic symptoms are associated with increased odds ratios for functional impairment in adolescents’ everyday life [5]. There is a marked increase in stress starting from age of 13 years and with a substantial gender gap, i.e. girls reported higher level of stress than boys [6]. Further, somatic symptoms in adolescence predict severe adult mental illness measured by hospital-based care [7].

Coinciding with the increased prevalence of stress and psychosomatic symptoms, there is accumulating evidence showing that the level of physical activity in children and adolescents is decreasing. A recent review based on longitudinal studies with accelerometer measured moderate-to-vigorous physical activity (MVPA) across childhood to adolescence shows that there is a significant annual decline in MVPA across all age groups [8].

A growing body of research provides evidence for a positive association between physical activity and mental health outcomes in adolescents. Depression is mostly studied, while stress and negative affect are much less studied (for review, see [9, 10]). It remains unclear whether physical activity benefits adolescents’ overall mental well-being or whether the benefits are restricted to a certain type of mental health problems.

The majority of studies about physical activity and mental health among adolescents are based on subjective measures of physical activity [9]. Accelerometers have become a common tool for measuring physical activity in recent studies and provide more accurate measures of physical activity. However, accelerometer measured physical activity and sedentary time are not often used in mental health research.

Accelerometer measures of physical activity have traditionally been categorized into sedentary time (SED), light-, moderate- and vigorous-intensity physical activity (LPA, MPA and VPA), where the last two categories often have been merged into MVPA. Studies and guidelines about the effects of physical activity on general health as well as mental health have been focused on MVPA. The role of sedentary behaviour/time and LPA on adolescents’ mental health is less clear and results are controversial. SED has been shown to increase in children and adolescents [11, 12]. The decrease in total physical activity between 12 and 16 years of age has been shown to be driven by both decreasing LPA and increasing SED [13]. Increased screen time for leisure, a commonly used proxy measure for SED, has been shown to be associated with depressive symptoms among adolescents (for review, see [14]). In one study, self-reported screen time was shown to be positively associated with mental distress in adolescents, whereas accelerometer measured SED was not [15]. Another study showed that LPA was associated with a reduction in depressive symptoms in adolescents [13]. Other negative psychological outcomes such as stress and psychosomatic symptoms, more frequently observed among adolescents, have not been studied.

While increased SED and decreased physical activity have been frequently reported, there are also reports showing that in Sweden, the proportion of adolescents who reported leisure time exercise (corresponding to VPA) at least 4 times a week has increased since 1985/86 [16]. Adolescents’ physical activity and sedentary behaviours vary among different segments of the day and week [17]. Breaking the day/week into smaller time segments could be informative for future physical activity interventions in adolescents. We know little about the relationship between adolescents’ mental health problems and SED/physical activity during school- and leisure-time, respectively.

The mechanisms underlying the associations between physical activity and adolescent mental health are less clear. The behavioural mechanism hypothesis proposes that changes in mental health outcomes resulting from physical activity are mediated by changes in relevant and associated behaviours, such as sleep volume and quality, coping and self-regulation skills [18]. Coping, i.e. strategies for how to handle stressful situations, and especially cognitive strategies, like thinking and reasoning, is important for mental health. Under stress, a more beneficial coping style may confer resilience and reduce the activation of the physiological systems. Coping strategies “shift-persist” consist of reframing appraisals of current stressors more positively (shifting), while simultaneusly persisting with a focus on the future, and have been shown to play an important role in adolescents’ mental health [19]. Few studies have examined coping strategies [18], and mediation models are needed to identify the mechanisms responsible for any changes in mental health resulting from physical activity and sedentary behaviour [9].

In view of the above, the present study aimed to:

  1. 1)

    monitor physical activity and SED during school- and leisure-time among adolescents with accelerometers;

  2. 2)

    investigate whether physical activity and SED were associated with stress and psychosomatic symptoms in adolescents; and if so,

  3. 3)

    examine whether the use of coping strategies “shift-persist” mediated the association.

Methods

Participants

We used data from the STARS (Study of Adolescence Resilience and Stress) study, an on-going prospective and observational cohort study initiated in autumn 2015. Data used in this study were from the baseline examinations during autumn 2015 until spring 2019. Participants were 7th grade pupils recruited from 54 schools in 16 municipalities in Western Sweden. Schools were purposefully selected from different areas with various socioeconomic contexts. A total of 5084 pupils were informed and invited, and 2283 pupils entered the study. The study was approved by the Ethics Committee at the Sahlgrenska Academy at the University of Gothenburg. Both pupils and their parents or guardians gave a written informed consent to participation and use of data for research. Once the signed consent forms were received, adolescents were scheduled for baseline survey and physical examinations which were taken at the schools. They received accelerometer during the visit.

Mental health problems

The 10-item version of the perceived stress scale (PSS-10) [20] was used to measure stress perceived by adolescents. PSS-10 was designed to measure how unpredictable, uncontrollable, and overloading respondents find their lives. Adolescents were asked to rate each statement with a 5-point frequency scale that ranges from 0 (never) to 4 (very often). A maximum of one missing item was accepted and missing item was replaced by intrapersonal mean. The total score ranged from 0 to 40, with higher score representing higher level of stress.

The psychosomatic problem scale was used to measure psychosomatic symptoms including difficulty in concentrating and sleeping, suffering from headaches and stomach-aches, poor appetite, feeling tense, low and dizzy [6]. Participants were asked to choose between 0 (never) and 4 (always). A maximum of one missing item was accepted and missing item was replaced by intrapersonal mean before a total score was calculated. The total score ranged from 0 to 32, with higher score representing higher level of psychosomatic symptoms.

In our samples, the Cronbach’s alpha coefficients for the PSS-10 scale (α = 0.812) and psychosomatic problem scale (α = 0.837) indicated high internal consistency reliability of these scales. The item-total correlations are 0.491 ± 0.082 for PSS-10 scale and 0.566 ± 0.030 for psychosomatic problem scale. Thus our way of handling item-level missing data is acceptable according to Graham [21]. We categorized the level of stress and psychosomatic symptoms into quartiles and defined lowest through highest quartiles as low, medium low, medium high and high.

Measures of physical activity

Adolescents were asked to wear an accelerometer (ActiGraph GT3X+) over the hip during their waking hours for 7 days, except during water activities. Raw accelerometer data was processed to ActiGraph counts [22]. Consecutive periods of ≥60 min of zero counts, with allowance of up to 2 min with maximum 100 counts per minute, were defined as non-wear time. We applied wear time requirement of ≥10 h per day and ≥ 4 days per week to constitute a valid measurement. We included those with no weekend day. School time wearing was defined as weekdays during 8 am and 4 pm. Leisure time wearing was defined as weekdays from 7 am to 8 am and from 4 pm to 11 pm, plus weekends from 7 am to 11 pm. An epoch length of 3 s was used. SED, LPA, MPA and VPA were defined using Evenson’s cut points 0–100, 101–2295, 2296–4011 and > 4012 counts per minute, respectively, only considering counts from the vertical axis [23]. Evenson’s cut points have been shown to provide acceptable classification accuracy for all four levels of physical activity intensity in children and adolescents [24]. The minutes spent in different physical activity intensities were calculated.

Potential mediating variable

The coping strategies “shift-persist” were measured as previously described [19]. The tendency to shift oneself in response to stressors was measured using the Positive Thinking scale of the Responses to Stress questionnaire, while the Life Orientation Test was used to measure future persistence. In our samples, the Cronbach’s alpha coefficients for the “shift-persist” questionnaires is 0.722. To create a total “shift-persist” score, responses to the shift and persist measures were first standardized (because they are on different scales), and then summed. Higher scores indicate using a higher combination of the “shift-persist” strategies.

Potential confounders

Data on gender and migration background were collected. Family socioeconomic status (SES) was measured using “Family Affluence Scale” [25]. Puberty was determined using self-assessed Tanner staging by adolescents. Girls were given line drawings of girls showing the 5 stages of breast and pubic hair development with appropriate written descriptions. Boys were given line drawings of boys showing the 5 stages of genital and pubic hair development with appropriate written descriptions. Each subject was asked to select the drawing and stage that best indicated his/her own development.

Body mass index (BMI)

Height and weight were measured without shoes. Age- and sex-specific BMI z-scores were calculated and overweight and obese were identified using the Extended International BMI cut-offs [26].

Statistical analysis

All continuous variables were tested for normal distribution by Kolmogorov-Smirnov test and visually checked using histogram and normal probability quantile-quantile plot (Q-Q plot). Student’s t-test was used for analyzing differences between two groups and ANOVA followed by Bonferroni correction was used for analyzing differences among three or more groups. Chi-square test was used for categorical variables.

The association between physical activity and mental health outcomes were evaluated using ordinal logistic regression models. We used units of 15 min for VPA and MVPA, and 60 min for SED and LPA to avoid large numbers of minutes producing very small model coefficients that are hard to interpret, as described earlier [13]. The results are expressed as odds ratio (OR) with 95% confidence interval (CI). To adjust for potential confounding, sex, family SES, migration background and pubertal stage were all included in the models.

To explore the hypothesized mediating role of “shift-persist”, mediation analysis was performed using PROCESS macro (version 3.5, model 4) for SPSS, which uses a regression-based approach to mediation [27]. This macro analyzes the significance of total effect (path c), direct effect (path c’) and indirect effects (through path a and path b) as illustrated in Fig. 1 and uses bootstrapping to test the indirect effect (path ab) to determine if it is different from zero. Bootstrapping does not assume that indirect effect’s distribution is normal and therefore is preferable. We used 10,000 bootstrap samples for percentile bootstrap confidence intervals. To deal with heteroscedasticity we observed in some regressions, a heteroscedasticity consistent standard error and covariance matrix estimator was used for all mediation analyses.

Fig. 1
figure 1

Overview of the mediation analysis

All statistical analyses were performed with IBM SPSS 26. A two-sided p ≤ 0.05 was considered as statistically significant.

Results

Characteristics of the study sample

A total of 1756 adolescents agreed to wear accelerometer. Of these, 1284 had valid accelerometer data, i.e. ≥10 h per day and ≥ 4 days per week. Among adolescents with valid accelerometer data, there were less males, more with Swedish background and less with overweight/obesity than those without valid accelerometer data (including those who did not wear accelerometer). There was no difference in SES between the two groups. The level of stress and psychosomatic symptoms were slightly but significantly lower in adolescents with valid accelerometer data than those without (Table 1).

Table 1 Description of STARS participants with or without valid accelerometer data

The level of physical activity

Girls had higher level of SED and lower levels of LPA, MPA, VPA and MVPA than boys (Table 2). When dividing into school and leisure time, all but SED, LPA and MPA during leisure time were statistically significant different between sexes.

Table 2 Sedentary time and time spent in different physical activity intensities in 13-year olds measured by accelerometer

We observed SES-related difference in leisure time MVPA, being lower in adolescents with low SES (28.7 ± 13.8 min/day) compared to medium SES (31.5 ± 15.2 min/day, p = 0.012) and high SES (31.4 ± 14.2 min/day, p = 0.151). We did not find statistically significant SES-related difference in school time MVPA.

Adolescents with immigrant background had higher level of MVPA during school time (31.5 ± 11.5 min/day) than those with Swedish background (28.7 ± 10.1 min/day, p < 0.001). During leisure time, however, adolescents with Swedish background had higher MVPA (31.2 ± 14.4 min/day) than those with immigrant background (28.9 ± 16.2, p = 0.032).

Correlation between physical activity and mental health problems

Bivariate correlation showed that there was a statistically significant association between mental health problems and different measures of physical activity. The associations were driven by differences in physical activities during leisure time, but not school time (Table S1). We did not observe any statistically significant association between mental health problems and SED, neither during school time nor leisure time. The following analyses were therefore focused on measurements during leisure time. The strength of the relationship was small, e.g. the correlation coefficient between stress and leisure time VPA was − 0.112 (p < 0.001).

The fully adjusted models indicated that leisure time LPA, MPA, VPA and MVPA were negative and significant predictors for stress (Table 3). For example, every 60 min/day increase in leisure time LPA would result in a 36.6% decreased risk of being in a higher stress category after controlling for sex, SES, migration background and pubertal stage. We observed statistically significant difference between the lowest quartile and the highest quartile. Thus, for every 60-min increase on LPA, the risk of an adolescent being in high stress decreased 49.1% when compared to low stress. Another example, every 15 min/day increase in leisure time VPA would result in a 23.3% decreased risk of being in a higher stress category after controlling for sex, SES, migration background and pubertal grade. We observed statistically significant difference between the lowest quartile and the highest quartile. Thus, for every 15-min increase on VPA, the risk of an adolescent being in high stress decreased 32.3% when compared to low stress.

Table 3 Association between mental health problems and physical activity/SED during leisure time measured by accelerometer

Similarly, we found that leisure time VPA and MVPA were negative and significant predictors for psychosomatic symptoms (Table 3).

The role of coping strategies “shift-persist”

Bivariate correlation analysis showed that both stress and psychosomatic symptoms were negatively associated with coping strategies “shift-persist”. Further, leisure times spent in different physical activity intensities, but not SED, were found to be positively correlated with coping strategies “shift-persist” (Table S1).

To investigate whether coping strategies “shift-persist” mediate the relationship between physical activity and mental health problems, we performed mediation analyses. Results indicated that leisure time LPA, VPA and MVPA were indirectly related to mental health problems through their relationship with coping strategies “shift-persist” (Table 4). Adolescents who spent more time in LPA, VPA or MVPA during leisure time were more likely to have higher “shift-persist” score. Having higher “shift-persist” was related to lower level of stress or psychosomatic symptoms. For example, if we consider an average adolescent in our sample and keep confounders unchanged, an increase in 15 min of leisure time VPA was associated with 3.0% increase in “shift-persist” score, which in turn was associated with 12.3% decrease in stress. Another example, for an average adolescent in our sample, an increase in 60 min of leisure time LPA was associated with 3.7% increase in “shift-persist” score, which in turn was associated with 4.4% decrease in stress.

Table 4 Direct and indirect associations (via “shift-persist”) between leisure time physical activity and mental health problems

A 95% percentile bootstrap confidence interval based on 10,000 bootstrap samples showed that the indirect effect was entirely under zero, indicating successful mediation. The direct effects (c’) were not statistically significant (exception VPA → PSP), indicating complete mediation. The R-squared for the Total Effect Model ranged from 0.075 to 0.104, thus explaining 7.5–10.4% of variance in the level of mental health problems.

Discussion

Two main findings emerged from this study. First, accelerometer measured times spent in different physical activity intensities were negatively associated with the levels of stress and psychosomatic symptoms in 13-year olds. The associations were observed for LPA, VPA and MVPA during leisure time, but not during school time. Second, the use of coping strategies “shift-persist” mediated the associations between leisure time physical activity and stress/psychosomatic symptoms. Thus, our data suggest that leisure time physical activity may strengthen adolescents’ capacity to cope with stress and stress-related mental health problems.

Research regarding the impact of physical activity on mental health outcomes other than depression is lacking [9, 10]. Using accelerometer measured physical activity, we found that more time spent in physical activity was associated with less stress and psychosomatic symptoms in a healthy adolescent population. This is in line with the few existing studies showing that adolescents who reported greater physical activity also reported less stress [28, 29] as well as less somatic and psychological complaints [30]. Interestingly, we found that not only the traditional VPA and MVPA but also LPA were associated with stress and psychosomatic symptoms. Recently, LPA was shown to be associated with a reduction in depressive symptoms in adolescents [13]. LPA has been shown to have benefits for anxiety symptoms among young people aged 12–26 years [10]. The current guidelines about the effects of physical activity on general health as well as mental health in children and adolescents focus on MVPA. Our result suggests that leisure time LPA might be also important as high-intensity physical activity in alleviating stress. This is encouraging as LPA is relatively easier to achieve compare to MVPA. LPA, together with SED, constitutes the vast majority of waking daily activity. Interventions with LPA may be beneficial for people who are unlikely to adhere to more vigorous-intensity interventions. Our study provides new evidence supporting the new WHO 2020 guidelines on Physical activity and Sedentary Behaviour that suggest “doing some physical activity is better than doing none” [31].

Despite increasing evidence supporting the beneficial effects of physical activity on adolescents’ mental health, the underlying mechanisms are less clear. To fill this gap, we used mediation models to investigate whether the use of coping strategies “shift-persist” can be one of the underlying mechanisms. Our data showed that adolescents who engaged more time in physical activity during leisure time were more likely to adopt coping strategies “shift-persist”. This is in line with the study in adults showing that a higher degree of physical activity was linked to a greater relative preference for the reappraisal strategy of positive reinterpretation [32]. Also, Giles et al. showed that higher habitual exercise was associated with greater cognitive control of neural information and cognitive reappraisal of emotional information [33]. Thus, a persons’ physical activity may facilitate more adaptive emotion regulation in critical contexts.

Our data showed that having higher “shift-persist” was related to less stress or psychosomatic symptoms and the use of “shift-persist” mediated the associations between physical activity and stress/psychosomatic symptoms. Our finding is in line with the notion that physical activity increases well-being through better coping with stressors, including improved stressor appraisal or specific styles of coping when faced with stressful situations [34]. There is evidence supporting that the ability to adapt to stress by shifting oneself or positive reappraisal can reduce reactivity of the hypothalamic–pituitary–adrenal axis to stressors, facilitating faster stress recovery or greater resilience, and thereby, potentially greater coping success by reappraisal [35]. Indded, children with higher levels of daytime physical activity have been shown to have lower hypothalamic-pituitary-adrenocortical axis activity in response to the Trier Social Stress test [36], although this has not been confirmed in adults [37]. Taken together, spending more time in physical activity may enhance adolescent’s ability to adaptively respond to stressors, thus minimizing risk of having high stress and psychosomatic symptoms. Further longitudinal studies are warranted.

Our data showed that the associations were observed for LPA, VPA and MVPA during leisure time, but not during school time. One explanation for the lack of association between adolescent’s mental health problems and school time physical activity can be that Swedish schools provide rather equal level of physical education. Interestingly, we observed the SES-related difference in MVPA during leisure time, but not school time.

The role of SED on adolescents’ mental health is less clear and results are controversial. Using accelerometer measured SED, we did not find any significant association between SED and stress/psychosomatic symptoms in adolescents. In line with our study, Opdal showed that accelerometer-assessed SED was not associated with mental distress in adolescents [15]. Kandola et al. showed, however, that accelerometer-assessed SED increased throughout adolescence and was associated with depressive symptoms at age 18 years [13]. The reason for this controversy is unknown. We don’t have information regarding the context in which the adolescents were sedentary, therefore the impact of social component of sedentary behaviour on stress/psychosomatic symptoms is not revealed by this study.

Strengths of this study include accelerometer based measures of physical activity and SED, large population-based adolescence sample, and the use of moderation models to investigate the underlying mechanisms. Our study also has limitations. Our study was based on cross-sectional data, and did not allow conclusion on causal relation. There is evidence that relationship between sport involvement and mental health in adolescence can be bi-directional [38]. Accelerometers cannot accurately record certain activities, such as water-based activities and activities that only use the lower body. We did not apply at least one weekend day as inclusion criteria for accelerometer data as a total of 231 (18%) did not have accelerometer data for weekend. However, including the number of days of weekend wearing as an additional co-variable did not change the results from regression or mediation analysis.

Conclusions

Our study showed that more time spent in physical activity, irrespective of intensity, is associated with less stress and psychosomatic symptoms in adolescents. In particular, the involvement of adopting coping strategies “shift-persist” in this association signals a potential mechanism through which physical activity may exert positive effects on stress management. Thus, based on our cross-sectional data, we conclude that leisure time physical activity may facilitate successful coping with stress and stress-related mental health problems in adolescents. The importance of LPA should be highlighted.