Abstract
Background and objectives
With the development of society, contemporary young people, especially college students, are facing increasing levels of stress. Stress is often associated with poor sleep quality in individuals, but the underlying mechanisms between these two factors need further exploration. Therefore, this study aims to investigate the relationship between stress and sleep quality among college students, with stress as the independent variable, sleep quality as the dependent variable, healthy diet as the mediating variable, and physical exercise as the moderating variable, to further elucidate the underlying connections between stress and sleep quality in college students.
Methods
A total of 4090 college students (1503 males and 2587 females; mean age 19.05 ± 1.16 years) were included in this study. Data on stress, healthy diet, physical exercise, and sleep quality were collected through a cross-sectional subjective survey. The basic characteristics of the variables were described using SPSS, and correlation analyses were performed. Finally, a moderated mediation model was constructed using the PROCESS macro.
Results
The study found that stress was significantly negatively correlated with healthy diet (r = -0.162, p < 0.001) and sleep quality (r = -0.492, p < 0.001) among college students. Healthy diet mediated the relationship between stress (β = -0.161, SE = 0.015, p < 0.001) and sleep quality (β = 0.160, SE = 0.014, p < 0.001) among college students. Physical exercise significantly moderated the relationship between stress and healthy diet (β = -0.040, SE = 0.015, p < 0.01).
Discussion
This study further elucidated the mechanisms underlying the relationship between stress and sleep quality among college students by incorporating behavioral variables (healthy diet and physical exercise). It is recommended that college students actively engage in physical exercise, which can help alleviate stress, promote healthy eating, and thereby improve sleep quality.
Keywords: Physical exercise, Sleep quality, Stress, Healthy diet, College students
Introduction
From psychological and biological perspectives, stress refers to any environmental or physical pressure that elicits a response from an organism [1]. In most cases, stress promotes survival by forcing organisms to adapt to rapidly changing environmental conditions. However, when an organism's response to stress is insufficient or the stress is too intense, it may lead to illness or even death [1]. In this study, the term “stress” focuses on psychological distress, specifically emotional tension, anxiety, and worry that interfere with daily Life, including sleep. This is consistent with our measurement methods and previous Literature. A meta-analysis involving 2,088,032 global students during the COVID-19 pandemic found that the perceived stress prevalence rate of 31% [2]. Meanwhile, a study in China reported that the prevalence of stress among college students (n = 1586; Perceived Stress Scale [PSS-10] ≥ 14) reached 67.5% [3]. After leaving the strictly regulated high school environment, college students enter a more liberal university campus, where they face various challenges and associated stressors, such as interpersonal stress [4], academic pressure [5], financial stress [6], cultural adaptation stress [7], and employment pressure [8]. Therefore, this study aims to explore the impact of stress on Chinese college students and identify protective factors.
Sleep quality among college students is another important topic widely investigated by scholars. The National Sleep Foundation-led expert panel, after reviewing 277 studies, defined sleep quality as comprising four elements: sleep latency, awakenings, wake after sleep onset, and sleep efficiency [9]. In the relatively free university environment, Chinese college students may indulge in their lifestyles and neglect healthy sleep routines [10]. A recent cross-sectional survey involving 6284 college students showed that over 30% had poor sleep quality [11]. According to the hyperarousal model of insomnia [12], psychobiological disorders stemming from chronic psychological distress (excessive rumination) and physiological imbalance (disruption of the hypothalamic–pituitary–adrenal axis) may lead to poor sleep quality among college students. One important variable in this theory is stress, which has been found to be significantly positively correlated with poor sleep quality [13][14]. In a large-sample cross-sectional study of Chinese college students (n = 8178), perceived stress was found to significantly predict poor sleep quality among college students, even after introducing additional mediating variables (presence of meaning in life and depression), with a significant predictive effect (β = 0.14, p < 0.001) [15]. In a review study on factors affecting sleep quality among college students, the authors concluded that "stress is one of the important psychological factors affecting sleep quality" [16].
Dietary patterns may mediate the relationship between stress and sleep quality among college students. In an extensive survey conducted in 2023, involving 222,401 adolescents from 61 countries and regions, a systematic review was carried out on four types of unhealthy eating patterns. The study revealed that globally, the proportions of adolescents with insufficient fruit intake, inadequate vegetable consumption, excessive daily beverage consumption, and overconsumption of fast food on a weekly basis were 37.0%, 28.5%, 50.0%, and 57.4%, respectively [17]. Additionally, among college students, 28.2% exhibited disordered eating behaviors, while 40.2% engaged in binge eating [18]. To unify the terminology of variables, this study defines a healthy diet as consuming fewer sugary or caffeinated foods and more fruits and vegetables [19]. Research has found a significant positive correlation between stress and sugary food consumption, and stress also strengthens the longitudinal relationship between depression and sugary food consumption [20]. Moreover, studies have shown that higher stress levels are associated with more frequent consumption of sweets and fast food, while reducing the frequency of fruit and vegetable consumption [21]. A randomized controlled trial found that alleviating individual stress levels helps increase their consumption of fruits and vegetables [22]. Additionally, research has shown a significant relationship between diet and sleep quality [23, 24]. In a longitudinal study in China with three follow-ups (each six months apart), carbonated beverages were found to significantly predict future insomnia levels among female students [25]. A meta-analysis of 22 original studies (12 adult and 10 child studies) found that short sleep duration and delayed optimal sleep timing in adults were associated with increased energy drink consumption (OR: 1.58; 95% CI: 1.31–1.90), and compared to children with sufficient sleep, short-sleeping children had a higher likelihood of sugar consumption (OR: 1.16; 95% CI: 1.10–1.21). Overall, individuals with sufficient sleep had lower intake of sugary drinks [26]. A study involving 1444 Americans aged 21–30 years showed that better sleep was associated with higher fruit and vegetable consumption through secondary analysis [27]. After considering covariates, men with better sleep quality and shorter sleep latency had higher fruit and vegetable intake.
Physical exercise is defined as any bodily movement produced by skeletal muscles that requires energy expenditure [28]. In addition to its well-known physical health benefits, a growing body of research has demonstrated that physical activity is closely linked to psychological stress reduction and improved sleep quality. Meta-analytic findings suggest that regular exercise helps to lower cortisol levels and increase the release of endorphins and serotonin, which can buffer the physiological effects of stress [29]. Furthermore, physical exercise has been shown to enhance sleep quality by promoting sleep onset, increasing deep sleep, and reducing nocturnal awakenings [30]. Theoretically, physical activity may also serve a social-regulatory function. According to social bond theory [31], engaging in group or structured exercise can strengthen interpersonal connections, increase perceived social support, and reduce feelings of isolation—all of which are protective against stress and poor sleep. In addition, some studies have found that physical activity reduces psychological inflexibility, which is a key cognitive risk factor in stress-related sleep disorders [13][32]. Despite these findings, few studies have examined whether physical exercise can moderate the pathways between stress, diet, and sleep quality in a unified model, particularly in college student populations. Thus, the current study introduces physical exercise as a moderating variable to explore its potential buffering effect on both behavioral and psychological responses to stress.
While the individual relationships between psychological stress, sleep quality, healthy diet, and physical exercise have been established in previous studies, most have examined these factors in isolation or used different analytic frameworks. The current study contributes to the literature in three important ways. First, it investigates a comprehensive moderated mediation model in a large sample of Chinese college students, a population facing increasingly high levels of psychological stress but underrepresented in integrated behavioral health models. Second, we conceptualize healthy diet as a mediator based on the behavioral self-regulation perspective. Psychological stress can impair decision-making and increase impulsivity, leading individuals to choose unhealthy food options (e.g., high sugar, high fat), which may then impair sleep through mechanisms such as metabolic disruption or inflammation. While the reverse pathway is also plausible, we focus on this direction because it reflects a stress-induced behavioral cascade with actionable intervention targets. Third, we introduce physical exercise as a moderator on two separate pathways—the effect of stress on healthy diet, and the direct effect of stress on sleep quality. This dual-pathway moderation approach enables a more nuanced understanding of how exercise may attenuate the negative impacts of stress across both behavioral and psychological domains. Therefore, this study proposes the following hypothesis:
H1: There is a significant negative correlation between stress and sleep quality among college students.
H2: The healthy diet significantly mediates the relationship between stress and sleep quality among college students.
H3: The physical exercise significantly moderates the relationships between stress and healthy diet.
H4: The physical exercise significantly moderates the relationships between stress and sleep quality.
The hypothesized model is shown in Fig. 1.
Fig. 1.

Hypothetical model diagram
Methods
Participants
This study used convenience sampling to recruit college students from seven universities located in Southwest, Northwest, Central, and East China between October and November 2024. The study was approved by the Ethics Committee of Xizang Minzu University before the initiation of the project (Grant number: 2024–19). Online electronic questionnaires were distributed through class group chats, with an informed consent form placed on the first page of the questionnaire. Participants could proceed with the survey only after reading and clicking "agree." Data were collected only from participants who completed the entire questionnaire. Participants who disagreed to participate or exited during the survey were excluded, and their data were not collected. Their right to freely participate was fully respected, and no adverse effects were imposed on them. The first page of the questionnaire explained the survey content, data anonymity, confidentiality, and usage. Participants typically completed the electronic questionnaire within 10 min. Data were screened to exclude samples with extreme response times and obvious patterned answers. The final analytic sample included 4090 participants (mean age 19.05 ± 1.16 years), including 1,503 males and 2,587 females; 1,019 were only children and 3,071 had siblings. Regarding paternal education, 229 participants reported "unclear," 844 indicated "primary school or below," 2,568 "middle school," 418 "college," and 31 "graduate." For maternal education, 245 reported "unclear," 1,117 "primary school or below," 2,317 "middle school," 385 "college," and 26 "graduate."
Measurement tools
Considering the daily academic stress of participants and the instability of online questionnaires, as well as minimizing disruption to participants' or teachers' regular teaching schedules, we selected convenient measurement tools. Simple measurement tools offer numerous advantages [33, 34], such as lower cognitive and time costs for participants, reduced response bias, higher satisfaction, and lower data processing costs.
Stress
A single-item measure of stress level was used to assess stress [35]. The question was: "Have you felt nervous, uneasy, or anxious, or had your thoughts so disturbed that you couldn't sleep at night, in the last two weeks?" It was scored on a 4-point scale, ranging from 1 (never) to 4 (nearly every day). The scale scores ranging from 1 to 4. A higher score indicates a higher stress level. This tool has been widely used in previous studies [36, 37][38].
Healthy eating
Healthy eating was assessed using three questions: "In the past week, how often did you (1) drink carbonated beverages? (2) eat fruit (excluding fruit juice)? (3) eat vegetables (including salads and non-fried potatoes)?" Response options ranged from 0 days to 5 or more days [19]. The total healthy eating score was calculated by summing fruit and vegetable intake and subtracting carbonated beverage consumption, with higher scores indicating healthier dietary habits. This measurement tool has been used in prior studies [39][38].
Sleep quality
A single-item measure was used to evaluate sleep quality [40]. The question was: "Please reflect on your overall sleep quality over the past seven days. This includes aspects such as the number of hours you slept, how easily you fell asleep, the frequency of nocturnal awakenings (excluding bathroom visits), waking up earlier than necessary in the morning, and feeling refreshed upon waking. How would you rate your sleep quality over the past seven days?" This question was scored on a 10-point scale, with higher scores indicating better sleep quality. This measurement approach has been extensively used in prior research [41–44][14].
Physical exercise
Physical activity was assessed with a single item: "In the past 7 days, how many days did you engage in at least 20 min of physical exercise or physical activity that made you sweat or breathe hard?" Response options ranged from 0 to 7 days [19]. This measurement question has been widely used in prior studies [39, 45, 46][47–51].
Covariates
In the present study, demographic variables mentioned in "Participants" section were treated as covariates when estimating the mediation model and moderated mediation model. In the current study, only-child status and parental education were included as covariates. These variables were selected because previous research suggests that family structure (e.g., being an only child) and parental educational background may influence psychological stress perception, eating behaviors, and sleep-related health outcomes in college students [52].
Data analysis
Before analyzing the data, a common method bias (CMB) test was conducted. Following the recommendations of Podsakoff et al. [53], a threshold of 40% was set to determine whether significant bias existed in the data. Descriptive statistics (means and standard deviations) for the 4 focal variables—physical exercise, sleep quality, stress, and healthy diet—were then calculated. Independent-samples t-tests, one-way ANOVAs, and Pearson correlations (r) were performed in SPSS 26.0. The moderated mediation model was estimated with the PROCESS 4.0 macro. All variables were standardized beforehand. Stress was specified as the independent variable, sleep quality as the dependent variable, healthy diet as the mediator, and physical exercise as the moderator. Demographic variables (only-child status and parental education) were entered as covariates [54]. Model 8 in PROCESS was employed, which extends Model 4 by adding a moderator that influences (a) the path from the independent variable to the mediator and (b) the path from the independent variable to the dependent variable. The moderation effects include both the main effect of the moderator and the interaction between the moderator and the independent variable. A statistical diagram illustrating these relationships was produced [55]. Conditional effects were plotted by selecting “Mean – 1 SD, Mean, Mean + 1 SD" under “Conditioning values" in PROCESS, generating simple slope plots of the moderator’s effect [56, 57]. To assess model fit and estimate 95% confidence intervals (95% CI), 5000 bootstrap resampling iterations were performed to ensure the robustness of the analysis [58]. The significance level was set at 0.05.
Results
Common method bias test
The results of the common method bias test in this study revealed the presence of four factors with eigenvalues greater than 1. The first factor accounted for 18.93% of the total variance, which is below the threshold of 40%. This indicates that there is no significant risk of common method bias in the current study.
Descriptive analysis
The analyses of the study’s key variables—stress, healthy diet, sleep quality, and physical exercise—across gender, only-child status, and grade are presented in Table 1.
Table 1.
Analysis of the differences of stress, health diet, sleep quality and physical exercise among gender, only child status and grade (*: p < 0.05; ***: p < 0.001)
| Variables | Stress | Health diet | Sleep quality | Physical exercise | |||||
|---|---|---|---|---|---|---|---|---|---|
| Mean | SD | Mean | SD | Mean | SD | Mean | SD | ||
| Gender | Male | 1.55 | 0.68 | 4.86 | 2.75 | 7.10 | 2.07 | 3.63 | 2.18 |
| Female | 1.55 | 0.63 | 5.25 | 2.80 | 7.11 | 1.86 | 2.75 | 2.08 | |
| t | 0.124 | −4.264*** | −0.262 | 12.654*** | |||||
| Only-child status | Only | 1.54 | 0.67 | 5.06 | 2.88 | 7.19 | 1.99 | 2.96 | 2.19 |
| Not only | 1.55 | 0.65 | 5.12 | 2.76 | 7.08 | 1.92 | 3.11 | 2.15 | |
| t | −0.407 | −0.579 | 1.453 | −1.925 | |||||
| Grade | Freshman year | 1.47 | 0.61 | 5.21 | 2.82 | 7.28 | 1.88 | 3.40 | 2.11 |
| Sophomore | 1.63 | 0.68 | 4.98 | 2.78 | 6.92 | 1.99 | 2.69 | 2.10 | |
| Junior in college | 1.53 | 0.58 | 5.30 | 2.57 | 7.33 | 1.85 | 3.71 | 2.38 | |
| Senior year | 1.75 | 0.91 | 5.35 | 2.57 | 6.65 | 2.18 | 1.95 | 2.40 | |
| F | 21.194*** | 2.720* | 12.620*** | 45.779*** | |||||
Correlation aanalysis
As shown in Table 2, stress was significantly negatively correlated with healthy eating (r = −0.162, p < 0.001) and sleep quality (r = −0.492, p < 0.001) among college students. Healthy eating was significantly positively correlated with sleep quality (r = 0.246, p < 0.001) and physical exercise (r = 0.197, p < 0.001). Additionally, physical exercise was significantly positively correlated with sleep quality (r = 0.085, p < 0.001).
Table 2.
Correlation analysis
| Variables | Mean | SD | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|---|
| 1 Stress | 1.55 | 0.62 | - | |||
| 2 Health diet | 5.11 | 2.79 | −0.162*** | - | ||
| 3 Sleep quality | 7.11 | 1.94 | −0.492*** | 0.246*** | - | |
| 4 Physical exercise | 3.08 | 2.16 | −0.012 | 0.197*** | 0.085*** | - |
***p < 0.001
Moderated mediation model test
After controlling for demographic variables, the results shown in Table 3, Fig. 2, and Fig. 3 indicate that stress significantly negatively predicted healthy eating (β = −0.161, SE = 0.015, p < 0.001) and sleep quality (β = −0.465, SE = 0.016, p < 0.001) among college students. Healthy eating significantly positively predicted sleep quality (β = 0.160, SE = 0.014, p < 0.001). Physical exercise significantly positively predicted healthy eating (β = 0.218, SE = 0.015, p < 0.01) and sleep quality (β = 0.048, SE = 0.014, p < 0.01). Finally, the interaction term between physical exercise and stress significantly negatively predicted healthy eating (β = −0.040, SE = 0.015, p < 0.01).
Table 3.
Mediation model testing
| Outcome variables | Predictor variables | β | SE | t | R2 | F |
|---|---|---|---|---|---|---|
| Health diet | Stress | −0.161 | 0.015 | −10.638*** | 0.079 | 38.964** |
| Physical exercise | 0.218 | 0.015 | 14.142*** | |||
| Stress × physical exercise | −0.040 | 0.015 | −2.712** | |||
| Sleep quality | Stress | −0.465 | 0.014 | −34.176*** | 0.274 | 153.734*** |
| Health diet | 0.160 | 0.014 | −34.176*** | |||
| Physical exercise | 0.048 | 0.014 | 3.443** | |||
| Stress × physical exercise | −0.004 | 0.013 | −0.275 |
*p < 0.05
**p < 0.01
***p < 0.001
Fig. 2.
Moderated Mediation Model (Stress as the independent variable, healthy diet as the mediator, sleep quality as the dependent variable, and physical exercise as the moderator; **p < 0.01, ***p < 0.001)
Fig. 3.
Slope diagram (Left panel: Physical exercise significantly moderates the relationship between stress and healthy diet. Right panel: Physical exercise does not significantly moderate the relationship between stress and sleep quality)
Further examination of the moderating effect of different levels of physical exercise on the relationship between stress and healthy eating revealed that physical exercise significantly moderated this relationship at different levels (see Table 4).
Table 4.
The moderating effect of mean ± 1SD levels of physical exercise
| The moderated relationship | Moderating variable (Physical exercise) | Effect size | SE | t | Lower Limit 95%CI | Upper Limit 95%CI |
|---|---|---|---|---|---|---|
| Stress and health diet | Mean −1SD | −0.121 | 0.021 | −5.669*** | −0.163 | −0.079 |
| Mean | −0.161 | 0.015 | −10.638*** | −0.190 | −0.131 | |
| Mean + 1SD | −0.201 | 0.021 | −9.604*** | −0.242 | −0.160 | |
| Stress and sleep quality | Mean −1SD | −0.461 | 0.019 | −24.285*** | −0.499 | −0.424 |
| Mean | −0.465 | 0.014 | −34.176*** | −0.492 | −0.438 | |
| Mean + 1SD | −0.468 | 0.019 | −24.963*** | −0.505 | −0.432 |
***p < 0.001
Discussion
This study further examined the relationship between stress and sleep quality among college students, exploring how behavioral factors such as healthy diet and physical exercise may contribute to this association. The findings revealed significant negative correlations between stress and sleep quality, as well as between stress and healthy eating among college students. Moreover, the relationship between stress and sleep quality was mediated by healthy eating. Physical exercise significantly moderated the relationship between stress and healthy eating but did not significantly moderate the relationship between stress and sleep quality.
The negative correlation between stress and sleep quality among college students is consistent with our initial hypothesis (H1). Previous studies have identified stress as one of the key psychological predictors of poor sleep quality in this population [16]. This relationship is supported by physiological evidence: chronic stress can disrupt the homeostasis of the hypothalamic–pituitary–adrenal (HPA) axis, leading to fragmented sleep and reduced sleep quality [59]. Stress has also been shown to interfere with serotonin secretion, a neurotransmitter that plays a crucial role in regulating sleep cycles and quality [60–62]. From a psychological perspective, longitudinal studies have confirmed that stress not only directly predicts poorer sleep quality but also exerts indirect effects through rumination and emotional dysregulation [63]. For instance, Liu et al. found that stress significantly predicted insomnia symptoms among Chinese undergraduates via cognitive arousal and emotion-focused coping [64]. Similarly, recent cross-cultural surveys have indicated a robust link between academic stress and sleep disturbances in university students, especially in East Asian populations where academic pressure is high [65]. These findings are consistent with our results, which showed that stress was significantly negatively correlated with sleep quality in college students.
Previous studies have established a link between psychological stress and unhealthy eating behaviors, as well as between dietary patterns and sleep quality. For instance, experimental research has demonstrated that individuals under stress are more likely to choose unhealthy foods over healthy options, often due to the immediate pleasure or emotional relief provided by high-sugar or high-fat items [66]. Structured interview studies have similarly shown that high stress levels increase the likelihood of emotional eating [67]. Moreover, dietary choices also appear to affect sleep: high intake of sugary foods has been associated with shorter sleep duration and lower sleep quality [68], while a longitudinal intervention study found that increasing fruit and vegetable intake significantly improved insomnia symptoms, sleep quality, and sleep latency over a three-month period [69]. Biologically, this may be due to the role of nutrients found in fruits and vegetables in enhancing the secretion of melatonin and other sleep-regulating hormones [70]. In Line with these findings, our study confirmed Hypothesis 2 (H2): stress was significantly negatively associated with healthy eating, and healthy eating was significantly positively associated with sleep quality. These results suggest that under higher levels of stress, college students may be more prone to unhealthy eating behaviors, which in turn impair sleep quality. The mediating role of healthy diet between stress and sleep quality provides empirical support for understanding how behavioral factors connect psychological and physical health outcomes in this population. Our findings also extend prior research by validating this mediation model within a large sample of Chinese university students, which has been underrepresented in the literature. By highlighting the intermediary function of dietary behavior, this study underscores the importance of addressing stress-related eating patterns in sleep interventions among young adults.
As shown in Fig. 2, the interaction term between stress and physical exercise significantly predicted healthy diet (β = –0.040, p < 0.01), providing direct statistical support for Hypothesis 4 (H4). This result indicates that the strength of the association between stress and healthy diet varies across levels of physical exercise. Based on this interaction, we conducted a simple slope analysis (Fig. 3 and Table 4), which revealed that the negative effect of stress on healthy eating was strongest among participants with high levels of physical activity. This pattern may reflect higher health standards, stricter self-regulatory routines, or stronger appearance-related motivations among physically active college students. These findings are consistent with prior research suggesting that physical activity is positively associated with better dietary choices, including increased consumption of fruits and vegetables and reduced intake of sugary and processed foods [71]. Physical exercise has also been shown to improve self-regulation and inhibitory control [72, 73], which may help individuals resist unhealthy eating behaviors under stress [74]. Moreover, physical activity has been identified as an effective buffer against stress through its regulation of the hypothalamic–pituitary–adrenal (HPA) axis, reducing cortisol levels and promoting psychological flexibility [75]. Social engagement and improved mood associated with physical activity can also reduce stress-induced emotional eating tendencies (Socioeconomic differences in leisure-time physical activity: the role of social participation and social capital in shaping health related behaviour). Taken together, these findings support the moderating role of physical activity in reducing the negative impact of stress on dietary behavior.
In contrast, physical exercise did not significantly moderate the relationship between stress and sleep quality (β = –0.004, p > 0.05), and thus Hypothesis 5 (H5) was not supported. Although previous research has consistently shown that moderate physical activity is associated with improved sleep outcomes [76], its moderating effect on stress-related sleep disturbances appears to be more complex. One possible explanation lies in the measurement tools used in this study, which assessed fewer dimensions of sleep and may have lacked the sensitivity to detect subtle interaction effects [77]. Beyond methodological concerns, recent evidence suggests that the moderating role of physical activity on stress-related sleep outcomes is both complex and context-dependent. While moderate-intensity exercise is generally beneficial for sleep quality [78], its protective effect may be diminished under certain conditions. For example, vigorous or late-evening exercise can increase physiological arousal and interfere with sleep onset and maintenance, particularly among individuals already experiencing high levels of stress [79]. Moreover, cognitive-emotional factors—such as rumination and anxiety—may exert a greater influence on stress-induced sleep disturbances than behavioral factors like exercise alone [80]. Therefore, physical activity may not fully buffer the negative impact of stress on sleep unless combined with psychological interventions targeting maladaptive thought patterns. Additionally, university students often face irregular schedules, high academic demands, and prolonged screen time, all of which can impair sleep quality regardless of physical activity habits [16]. These external stressors may offset the potential moderating effects of exercise. Taken together, our findings are consistent with prior research suggesting that while physical activity contributes to better overall sleep, its role in moderating the stress–sleep relationship may not be consistently observed, especially in populations with complex behavioral and psychosocial risk profiles.
This study collected a relatively large sample through a cross-sectional survey to examine the subjective reports of healthy eating, stress, physical exercise, and sleep quality among college students. It analyzed their interrelationships and constructed a moderated mediation model with stress as the independent variable, sleep quality as the dependent variable, healthy eating as the mediator, and physical exercise as the moderator. This study revealed the underlying psychological and behavioral mechanisms between stress and sleep quality among college students and further expanded the theoretical basis for this relationship. Based on the results, this study encourages college students to actively engage in physical exercise to alleviate stress, promote healthy eating, and thereby improve sleep quality. Additionally, future research is recommended to explore the underlying mechanisms through higher-quality studies, such as randomized controlled trials or basic experimental research, to provide theoretical references and evidence for improving sleep quality among college students.
Although this study possesses several strengths, it is not without limitations. First, the cross-sectional design precludes causal inferences and objective associations between variables. Future investigations should incorporate longitudinal tracking combined with objective measurements to establish stronger causal relationships. Second, while simplified measurement tools were employed for cost and feasibility considerations, they may have constrained our capacity to examine the nuanced effects of individual variable dimensions and obtain deeper insights. Additionally, the operational definitions of stress and sleep quality presented to participants exhibited conceptual overlap, potentially confounding their observed relationship [81]. Subsequent studies should employ multidimensional, validated instruments to enhance measurement precision while avoiding circular definitions between constructs. Third, despite the large sample size, the reliance on convenience sampling may have introduced selection bias. Future research should implement more rigorous sampling strategies, including participants from diverse cultural backgrounds, to improve generalizability. Lastly, although our findings indicate that physical activity moderates the stress–diet relationship, further investigation is warranted to determine whether extremely intense or excessive exercise could, under certain conditions (e.g., in high-performance-pressure populations or rigid training regimens), exacerbate rather than alleviate stress.
Conclusions
This study found significant negative correlations between stress and sleep quality, stress and healthy eating, and stress and sleep quality among college students. Healthy eating mediated the relationship between stress and sleep quality, while physical exercise moderated the relationship between stress and healthy eating. It is recommended that universities encourage college students to engage in physical activities and promote healthy eating to alleviate stress and improve sleep quality.
Acknowledgements
Thanks, JLW.
Authors’ contributions
Yacheng Zhu12456, Qing Zhang12345. 1 Conceptualization; 2 Methodology; 3 Data curation; 4 Writing—Original Draft; 5 Writing—Review & Editing; 6 Funding acquisition.
Funding
2025 Shaanxi Province University United Front Theory Research and Practice Project (Project No.: 2025GXTZ45); General Project on Teacher Education Reform and Teacher Development in Shaanxi Province in 2025 (Project No. SJS2025YB070); Xizang Autonomous Region Education Science Research 2023 Key Project (Project Approval No.: XZEDKP230015).
Data availability
The datasets generated and/or analysed during the current study are not publicly available due [our experimental team's policy] but are available from the corresponding author on reasonable request.
Declarations
Ethics approval and consent to participate
The study was approved by the Ethics Committee of Xizang Minzu University before the initiation of the project (Grant number: 2024–19). And informed consent was obtained from the participants before starting the program. We confirm that all the experiment is in accordance with the relevant guidelines and regulations such as the declaration of Helsinki.
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.Britannica, Encyclopaedia. TEO: stress. In., vol. 2025, January 28: Encyclopedia Britannica; 2025.
- 2.Fang Y, Ji B, Liu Y, Zhang J, Liu Q, Ge Y, et al. The prevalence of psychological stress in student populations during the COVID-19 epidemic: a systematic review and meta-analysis. Sci Rep. 2022;12(1):12118. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Zhan H, Zheng C, Zhang X, Yang M, Zhang L, Jia X. Chinese college students’ stress and anxiety levels under COVID-19. Front Psychiatry. 2021;12:615390. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Sun M, Piao M, Jia Z. The impact of alexithymia, anxiety, social pressure, and academic burnout on depression in Chinese university students: an analysis based on SEM. BMC Psychol. 2024;12(1):757. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Chen B, Wang W, Yang S. The relationship between academic stress and depression among college students during the COVID-19 pandemic: a cross-sectional study from China. BMC Psychiatry. 2024;24(1):46. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Tam Oi I B, Morrison K. Undergraduate students in part‐time employment in China. EDUC STUD-UK. 2005;31(2):169–180.
- 7.Wang X, Liu Y, Wang S, Zhu R, You X. Longitudinal study of acculturative stress and depression among minority college students in China. Curr Psychol. 2025;44(1):288–301.
- 8.Gao Z, Wang Q. Employment pressure of Chinese college students and its alleviating strategies. SHS Web of Conf. 2023;180:2032.
- 9.Ohayon M, Wickwire EM, Hirshkowitz M, Albert SM, Avidan A, Daly FJ, et al. National Sleep Foundation’s sleep quality recommendations: first report. Sleep Health. 2017;3(1):6–19. [DOI] [PubMed] [Google Scholar]
- 10.Wu M, Shen X, Yang J. Analysis on the status and influencing factors of habitual late night addiction of medical college students. Chin J Health Educ. 2022;38(02):164–7. [Google Scholar]
- 11.Li Y, Bai W, Zhu B, Duan R, Yu X, Xu W, et al. Prevalence and correlates of poor sleep quality among college students: a cross-sectional survey. Health Qual Life Outcomes. 2020;18(1):210. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Riemann D, Spiegelhalder K, Feige B, Voderholzer U, Berger M, Perlis M, et al. The hyperarousal model of insomnia: a review of the concept and its evidence. Sleep Med Rev. 2010;14(1):19–31. [DOI] [PubMed] [Google Scholar]
- 13.Shen Q, Wang S, Liu Y, Wang Z, Bai C, Zhang T. The chain mediating effect of psychological inflexibility and stress between physical exercise and adolescent insomnia. Sci Rep. 2024;14(1):24348. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Yin J, Cheng X, Yi Z, Deng L, Liu Y. To explore the relationship between physical activity and sleep quality of college students based on the mediating effect of stress and subjective well-being. BMC Psychol. 2025;13(1):932. [DOI] [PMC free article] [PubMed]
- 15.Huang Y, Yang L, Liu Y, Zhang S. Effects of perceived stress on college students’ sleep quality: a moderated chain mediation model. BMC Psychol. 2024;12(1):476. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Wang F, Bíró É. Determinants of sleep quality in college students: a literature review. Explore. 2021;17(2):170–7. [DOI] [PubMed] [Google Scholar]
- 17.Shawon MSR, Rouf RR, Jahan E, Hossain FB, Mahmood S, Gupta RD, et al. The burden of psychological distress and unhealthy dietary behaviours among 222,401 school-going adolescents from 61 countries. Sci Rep. 2023;13(1):21894. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Ganson KT, Cuccolo K, Nagata JM. Associations between psychosis symptoms and eating disorders among a national sample of U.S. college students. Eat Behav. 2022;45:101622. [DOI] [PubMed] [Google Scholar]
- 19.Health A: California Healthy Kids Survey: Physical Health & Nutrition Module. In. 2016.
- 20.Fish-Williamson A, Hahn-Holbrook J. The interrelationship between stress, sugar consumption and depression. Nutrients. 2024;16(19). [DOI] [PMC free article] [PubMed]
- 21.Mikolajczyk RT, El Ansari W, Maxwell AE. Food consumption frequency and perceived stress and depressive symptoms among students in three European countries. Nutr J. 2009;8:31. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Ju Q, Gan Y, Peng H, Li B, Nie S, Schwarzer R. Does stress compromise fruit and vegetable intake? A randomized controlled trial testing a model with planning as a mediator and stress as a moderator. Nutrition. 2025;129:112581. [DOI] [PubMed] [Google Scholar]
- 23.St-Onge M, Mikic A, Pietrolungo CE. Effects of diet on sleep quality. Adv Nutr. 2016;7(5):938–49. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Kim H, Jeong G, Park YK, Kang SW. Sleep quality and nutritional intake in subjects with sleep issues according to perceived stress levels. J Lifestyle Med. 2018;8(1):42–9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Jieru Y, Gaohong Z, Jian T, Qiuan LU, Dongyue HU, Zihan L, et al. Longitudinal study on association between sugar sweetened beverages consumption and insomnia among college students in Yunnan Province. Chin J School Health. 2024;45(10):1451–4. [Google Scholar]
- 26.Shahdadian F, Boozari B, Saneei P. Association between short sleep duration and intake of sugar and sugar-sweetened beverages: a systematic review and meta-analysis of observational studies. Sleep Health. 2023;9(2):159–76. [DOI] [PubMed] [Google Scholar]
- 27.Jansen EC, She R, Rukstalis MM, Alexander GL. Sleep duration and quality in relation to fruit and vegetable intake of US young adults: a secondary analysis. Int J Behav Med. 2021;28(2):177–88. [DOI] [PubMed] [Google Scholar]
- 28.Caspersen CJ, Powell KE, Christenson GM. Physical activity, exercise, and physical fitness: definitions and distinctions for health-related research. Public Health Rep. 1985;100(2):126–31. [PMC free article] [PubMed] [Google Scholar]
- 29.Silverman MN, Deuster PA. Biological mechanisms underlying the role of physical fitness in health and resilience. Interface Focus. 2014;4(5):20140040. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Korkutata A, Korkutata M, Lazarus M. The impact of exercise on sleep and sleep disorders. npj Biological Timing and Sleep. 2025;2(1):5. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Hirschi T. Causes of delinquency. Piscataway, NJ, US: Transaction Publishers; 2002. [Google Scholar]
- 32.Shen Q, Wang S, Liu Y, Wang Z, Bai C, Zhang T. The chain mediating effect of psychological inflexibility and stress between physical exercise and adolescent insomnia. Sci Rep. 2024;14(1):24348. [DOI] [PMC free article] [PubMed]
- 33.Allen MS, Iliescu D, Greiff S. Single item measures in psychological science: a call to action. Eur J Psychol Assess. 2022;38(1):1–5.
- 34.Fisher GG, Matthews RA, Gibbons AM: Developing and investigating the use of single-item measures in organizational research. US: Educational Publishing Foundation. 2016;21:3–23. [DOI] [PubMed]
- 35.Elo A, Leppänen A, Jahkola A. Validity of a single-item measure of stress symptoms. Scand J Work Environ Health. 2003;29(6):444–51. [DOI] [PubMed] [Google Scholar]
- 36.Thomée S, Härenstam A, Hagberg M. Mobile phone use and stress, sleep disturbances, and symptoms of depression among young adults–a prospective cohort study. BMC Public Health. 2011;11:66. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Puolakanaho A, Muotka JS, Lappalainen R, Lappalainen P, Hirvonen R, Kiuru N. Adolescents’ stress and depressive symptoms and their associations with psychological flexibility before educational transition. J Adolesc. 2023;95(5):990–1004. [DOI] [PubMed] [Google Scholar]
- 38.Yang L, Liu Y, Yan C, et al. The relationship between early warm and secure memories and healthy eating among college students: anxiety as mediator and physical activity as moderator. Psychiatry. 2025:1–20. [DOI] [PubMed]
- 39.Waasdorp TE, Mehari KR, Milam AJ, Bradshaw CP. Health-related risks for involvement in bullying among middle and high school youth. J Child Fam Stud. 2019;28(9):2606–17. [Google Scholar]
- 40.Snyder E, Cai B, DeMuro C, Morrison MF, Ball W. A new single-item sleep quality scale: results of psychometric evaluation in patients with chronic primary insomnia and depression. J Clin Sleep Med. 2018;14(11):1849–57. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Weng H, Barnhart WR, Cheng Y, Chen G, Cui T, Lu T, et al. Exploring the bidirectional relationships between night eating, loss of control eating, and sleep quality in Chinese adolescents: a four-wave cross-lagged study. Int J Eat Disord. 2022;55(10):1374–83. [DOI] [PubMed] [Google Scholar]
- 42.Serlachius A, Boggiss A, Lim D, Schache K, Wallace-Boyd K, Brenton-Peters J, et al. Pilot study of a well-being app to support New Zealand young people during the COVID-19 pandemic. Internet Interv. 2021;26:100464. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43.Pastore OL, Fortier MS. The mediating role of self-compassion in positive education for student mental health during COVID-19. Health PromoT Int. 2023;38(5):daad107. [DOI] [PubMed]
- 44.Labrague LJ. Pandemic fatigue and clinical nurses’ mental health, sleep quality and job contentment during the covid-19 pandemic: the mediating role of resilience. J Nurs Manage. 2021;29(7):1992–2001. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Lin L, Liu J, Cao X, Wen S, Xu J, Xue Z, et al. Internet addiction mediates the association between cyber victimization and psychological and physical symptoms:moderation by physical exercise. BMC Psychiatry. 2020;20(1):144. [DOI] [PMC free article] [PubMed]
- 46.Liu Y, Jin Y, Chen J, Zhu L, Xiao Y, Xu L, et al. Anxiety, inhibitory control, physical activity, and internet addiction in Chinese adolescents: a moderated mediation model. BMC Pediatr. 2024;24(1):663. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47.Peng J, Liu Y, Wang X, Yi Z, Xu L, Zhang F. Physical and emotional abuse with internet addiction and anxiety as a mediator and physical activity as a moderator. Sci Rep. 2025;15(1):2305. [DOI] [PMC free article] [PubMed]
- 48.Liu Y, Yin J, Xu L, Luo X, Liu H, Zhang T. The chain mediating effect of anxiety and inhibitory control and the moderating effect of physical activity between bullying victimization and internet addiction in Chinese adolescents. J Genet Psychol. 2025;186(5):397–412. [DOI] [PubMed]
- 49.Wang J, Xiao T, Liu Y, Guo Z, Yi Z. The relationship between physical activity and social network site addiction among adolescents: the chain mediating role of anxiety and ego-depletion. BMC Psychol. 2025;13(1):477. [DOI] [PMC free article] [PubMed]
- 50.Jia W, Zhang X, Ma Y, Yan G, Chen Y, Liu Y. Physical exercise moderates the mediating effect of depression between physical and psychological abuse in childhood and social network addiction in college students. Sci Rep. 2025;15(1):17869. [DOI] [PMC free article] [PubMed]
- 51.Wang J, Tang L, Liu Y, Wu X, Zhou Z, Zhu S. Physical activity moderates the mediating role of depression between experiential avoidance and Internet addiction. Sci Rep. 2025;15(1):20704. [DOI] [PMC free article] [PubMed]
- 52.Cheng S, Jia C, Wang Y. Only children were associated with anxiety and depressive symptoms among college students in China. Int J Environ Res Public Health. 2020;7(11):4035. [DOI] [PMC free article] [PubMed]
- 53.Podsakoff PM, MacKenzie SB, Lee J, Podsakoff NP. Common method biases in behavioral research: a critical review of the literature and recommended remedies. J Appl Psychol. 2003;88(5):879–903. [DOI] [PubMed] [Google Scholar]
- 54.Hayes AF. Partial, conditional, and moderated moderated mediation: quantification, inference, and interpretation. Commun Monogr. 2018;85(1):4–40. [Google Scholar]
- 55.Hayes A: Integrating mediation and moderation analysis: Fundamentals using PROCESS. Introduction to mediation, moderation and conditional process analysis 2013:507.
- 56.Cohen S, Wills T. Stress, social support, and the buffering hypothesis. Psychol Bull. 1985;98:310–57. [PubMed] [Google Scholar]
- 57.Kahn J: Reporting Mediation and Moderation. In.; 2021. https://about.illinoisstate.edu/jhkahn/reporting-mediation-and-moderation/
- 58.Berkovits I, Hancock GR, Nevitt J. Bootstrap resampling approaches for repeated measure designs: relative robustness to sphericity and normality violations. Educ Psychol Meas. 2000;60(6):877–92. [Google Scholar]
- 59.Nicolaides NC, Vgontzas AN, Kritikou I, Chrousos G: HPA Axis and Sleep; 2000.
- 60.van den Buuse M, Hale MW: Chapter 10 - Serotonin in Stress. In: Stress: Physiology, Biochemistry, and Pathology. Edited by Fink G: Academic Press; 2019:115–123.
- 61.Portas CM, Bjorvatn B, Ursin R. Serotonin and the sleep/wake cycle: special emphasis on microdialysis studies. Prog Neurobiol. 2000;60(1):13–35. [DOI] [PubMed] [Google Scholar]
- 62.Lo Martire V, Caruso D, Palagini L, Zoccoli G, Bastianini S. Stress & sleep: a relationship lasting a lifetime. Neurosci Biobehav Rev. 2020;117:65–77. [DOI] [PubMed] [Google Scholar]
- 63.Zhang J, Xiang S, Li X, Tang Y, Hu Q. The impact of stress on sleep quality: a mediation analysis based on longitudinal data. Front Psychol. 2024;15:1431234. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 64.Liu T, Zou H, Tao Z, Qiu B, He X, Chen Y, Wang S, Zhang W: The relationship between stressful life events, sleep, emotional regulation, and depression in freshmen college students. US: John Wiley & Sons; 2023;60:4653–66.
- 65.Zhang W, Yan C, Shum D, Deng C. Responses to academic stress mediate the association between sleep difficulties and depressive/anxiety symptoms in Chinese adolescents. J Affect Disord. 2020;263:89–98. [DOI] [PubMed] [Google Scholar]
- 66.Zellner DA, Loaiza S, Gonzalez Z, Pita J, Morales J, Pecora D, et al. Food selection changes under stress. Physiol Behav. 2006;87(4):789–93. [DOI] [PubMed] [Google Scholar]
- 67.Leow S, Dimmock JA, Guelfi KJ, Alderson JA, Jackson B. Understanding the determinants of stress-induced eating – a qualitative study. Appetite. 2021;165:105318. [DOI] [PubMed] [Google Scholar]
- 68.Afaghi A, O’Connor H, Chow CM. High-glycemic-index carbohydrate meals shorten sleep onset. Am J Clin Nutr. 2007;85(2):426–30. [DOI] [PubMed] [Google Scholar]
- 69.Jansen EC, She R, Rukstalis M, Alexander GL. Changes in fruit and vegetable consumption in relation to changes in sleep characteristics over a 3-month period among young adults. Sleep Health. 2021;7(3):345–52. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 70.Peuhkuri K, Sihvola N, Korpela R. Diet promotes sleep duration and quality. Nutr Res. 2012;32(5):309–19. [DOI] [PubMed] [Google Scholar]
- 71.Fleig L, Kerschreiter R, Schwarzer R, Pomp S, Lippke S. “Sticking to a healthy diet is easier for me when i exercise regularly”: cognitive transfer between physical exercise and healthy nutrition. Psychol Health. 2014;29(12):1361–72. [DOI] [PubMed] [Google Scholar]
- 72.Liu Y, Xiao T, Zhang W, Xu L, Zhang TC. The relationship between physical activity and Internet addiction among adolescents in western China: a chain mediating model of anxiety and inhibitory control. Psychol Health Med. 2024. [DOI] [PubMed]
- 73.Liu Y, Tan D, Wang P, Xiao T, Wang X, Zhang T. Physical activity moderated the mediating effect of self-control between bullying victimization and mobile phone addiction among college students. Sci Rep. 2024;14(1):20855. [DOI] [PMC free article] [PubMed]
- 74.Xue Y, Yang Y, Huang T. Effects of chronic exercise interventions on executive function among children and adolescents: a systematic review with meta-analysis. Br J Sports Med. 2019;53(22):1397–404. [DOI] [PubMed] [Google Scholar]
- 75.Arvidson E, Dahlman AS, Börjesson M, Gullstrand L, Jonsdottir IH. The effects of exercise training on hypothalamic-pituitary-adrenal axis reactivity and autonomic response to acute stress-a randomized controlled study. Trials. 2020;21(1):888. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 76.Hartescu I, Morgan K, Stevinson CD. Increased physical activity improves sleep and mood outcomes in inactive people with insomnia: a randomized controlled trial. J Sleep Res. 2015;24(5):526–34. [DOI] [PubMed] [Google Scholar]
- 77.Matthews RA, Pineault L, Hong Y. Normalizing the use of single-item measures: validation of the single-item compendium for organizational psychology. J Bus Psychol. 2022;37(4):639–73. [Google Scholar]
- 78.Xiao T, Pan M, Xiao X, Liu Y. The relationship between physical activity and sleep disorders in adolescents: a chain-mediated model of anxiety and mobile phone dependence. BMC Psychol. 2024;12(1):751. [DOI] [PMC free article] [PubMed]
- 79.Min L, Wang D, You Y, Fu Y, Ma X. Effects of high-intensity interval training on sleep: a systematic review and meta-analysis. Int J Environ Res Public Health. 2021;18(20):10973. [DOI] [PMC free article] [PubMed]
- 80.Han KS, Kim L, Shim I. Stress and sleep disorder. Exp Neurobiol. 2012;21(4):141–50. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 81.Shaughnessy JJ, Zechmeister EB, Zechmeister JS. Research methods in psychology: McGraw-Hill. 2000.
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
The datasets generated and/or analysed during the current study are not publicly available due [our experimental team's policy] but are available from the corresponding author on reasonable request.


