Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Public Health, 30 October 2025

Sec. Aging and Public Health

Volume 13 - 2025 | https://doi.org/10.3389/fpubh.2025.1629695

This article is part of the Research TopicUnveiling the Mental Health Impact of Physical Decline in Older Adults: A Holistic ApproachView all 18 articles

Analysis of the correlation between physical activity level, sleep quality, and anxiety levels in middle-aged and older adults: a cross-sectional study

Bin TangBin TangYing HuYing HuChuanjie XuChuanjie XuNana WangNana WangYu LiYu LiJianping Li
Jianping Li*
  • Department of Neurological Intensive Care Unit, The First People’s Hospital of Zunyi (Third Affiliated Hospital of Zunyi Medical University), Zunyi, China

Objective: This study aimed to investigate the associations between physical activity levels, sleep quality, and anxiety status in a cross-sectional sample of middle-aged and older adults.

Materials and methods: Anxiety was assessed using the Generalized Anxiety Disorder 7 (GAD-7) scale, and sleep quality was evaluated using the Pittsburgh Sleep Quality Index (PSQI). Physical activity levels were evaluated using the International Physical Activity Questionnaire (IPAQ). Multivariable logistic regression models were used to analyze the associations, adjusting for potential confounders such as age, gender, body mass index (BMI), smoking, and alcohol use.

Results: A total of 488 participants were included. Both good sleep quality and adherence to recommended physical activity levels were independently associated with a significantly reduced risk of anxiety (p < 0.001). Sleep quality, rather than sleep duration, emerged as a key factor of anxiety. Stratified analyses showed that these associations were more pronounced in females, non-smokers, and urban residents.

Conclusion: This study underscores the importance of sleep quality and physical activity in reducing anxiety risk. These findings suggest that integrated strategies promoting better sleep and increased physical activity may be effective for anxiety prevention and intervention among middle-aged and older adults.

1 Introduction

Anxiety is a common mental health disorder characterized by persistent and excessive worry, often accompanied by autonomic symptoms such as palpitations, rapid breathing, and sweating (1). Its high global prevalence and substantial impact on daily functioning, productivity, and social relationships have drawn increasing attention in recent years (2). Empirical evidence suggests that rapid socioeconomic changes, increased job demands, and longer working hours are associated with higher anxiety prevalence, reflecting the influence of modern societal pressures on mental health (3). These trends underscore the need for effective prevention and intervention strategies. Middle-aged and older adults are particularly relevant to this discussion, as aging-related physiological changes and the higher prevalence of chronic illnesses in these populations may heighten vulnerability to both anxiety and sleep disturbances (4).

Sleep quality is closely linked to anxiety risk, and interventions improving sleep often yield mental health benefits. Both short (<7 h) and long (≥9 h) sleep durations have been associated with elevated anxiety risk (5), while chronic sleep deprivation may impair emotional regulation and exacerbate symptoms (6). Age appears to moderate this relationship: younger adults may be more sensitive to sleep loss than older adults (7).

Physical activity supports cardiovascular, metabolic, and mental health (8). WHO recommends at least 600 MET-min/week of moderate-to-vigorous activity, associated with about 30% lower anxiety risk (9). Mechanisms may include reduced inflammation and regulation of mood-related neurotransmitters (10). However, effects vary by type and intensity; high-intensity exercise may increase anxiety in some cases (11), and individual habits and baseline symptoms may influence outcomes.

Despite numerous studies examining the relationships between sleep, physical activity, and anxiety, most research has focused on these factors individually. This study aimed to explore the independent effects of sleep quality and physical activity on anxiety, aligning with the scope of the analysis. For example, exercise can improve sleep quality, which in turn may indirectly alleviate anxiety symptoms (12). However, this mechanism has not been thoroughly investigated. Furthermore, factors such as age, gender, BMI, and lifestyle habits (e.g., smoking, alcohol consumption) may moderate these relationships, adding complexity to the research (13). Therefore, a systematic analytical approach is necessary to comprehensively assess the interactions among physical activity, sleep quality, and anxiety, while exploring potential moderating factors.

Based on these considerations, the present study adopted a cross-sectional design to investigate the relationships among physical activity levels, sleep quality, and anxiety symptoms. Sleep quality, anxiety, and physical activity were assessed using the Pittsburgh Sleep Quality Index (PSQI), the Generalized Anxiety Disorder-7 (GAD-7) scale, and the International Physical Activity Questionnaire (IPAQ), respectively. Demographic and lifestyle variables were also collected to provide a broader context for these associations. The null hypothesis proposed that poor sleep quality and low physical activity levels are associated with more severe anxiety symptoms. The findings aim to contribute empirical evidence to support anxiety prevention and intervention efforts and inform the development of targeted health promotion strategies.

2 Methods

2.1 Research sample

This study was approved by the Ethics Committee of Zunyi Medical University (Ethical Approval No.: 2025-1-111) and strictly adhered to the ethical principles outlined in the Declaration of Helsinki (14). The study employed a cross-sectional design, and all participants were fully informed about the study’s objectives, procedures, and potential risks before the study commenced, and provided written informed consent.

Inclusion criteria: (1) Adults aged 45 years and older; capable of understanding and agreeing to participate in the study and signing the informed consent form. (2) Residing in a relatively stable living environment for at least 1 month (to avoid the impact of short-term environmental changes on sleep and physical activity). (3) Capable of independently completing assessment tools such as the PSQI, GAD-7, and IPAQ; no severe physical illnesses or motor function disabilities, and able to perform daily physical activities. (4) No systemic psychological treatment or use of psychotropic medications affecting anxiety or sleep in the past 3 months. Exclusion criteria: (1) Diagnosed with severe mental disorders (e.g., schizophrenia, bipolar disorder). (2) Severe sleep disorders such as insomnia or sleep apnea syndrome (diagnosed). (3) Serious chronic diseases affecting physical activity (e.g., cardiovascular diseases, severe joint diseases). (4) Recent major life events (e.g., bereavement, significant financial crisis) that may impact anxiety levels, pregnant or breastfeeding women. (5) Recent (within the past 3 months) history of drug or alcohol abuse. (6) Unwilling or unable to cooperate with completing relevant questionnaires during the study.

2.2 Sleep assessment: PSQI

The Pittsburgh PSQI was used to assess the sleep quality of participants in this study. The PSQI, developed by Buysse et al. (15), consists of 19 self-reported items and covers seven dimensions: subjective sleep quality, sleep latency, sleep duration, habitual sleep efficiency, sleep disturbances, use of sleep medication, and daytime dysfunction (16). The score for each dimension ranges from 0 to 3, and the total score ranges from 0 to 21, with higher scores indicating poor sleep quality.

In addition, to further analyze sleep patterns, participants were asked to respond to a self-assessment question about sleep duration: “How many hours do you typically sleep on workdays or weeknights?” Based on national sleep duration recommendations, participants were categorized into three groups based on their sleep duration: short sleep (<7 h), normal sleep (7–9 h), and long sleep (≥9 h) (17). This classification method helps to further explore the relationship between different sleep durations, anxiety levels, and physical activity levels.

2.3 Physical activity assessment

The short form of the IPAQ was used to assess participants’ physical activity levels. Participants were asked to recall and report the frequency and duration of high-intensity physical activity (HPA), moderate-intensity physical activity (MPA), walking (W), and sedentary behavior during the past 7 days. The physical activity levels were calculated in terms of Metabolic Equivalent of Task (MET), which estimates the energy expenditure for various activities. The specific MET values are as follows: walking = 3.3, moderate-intensity physical activity = 4.0, and high-intensity physical activity = 8.0. The total physical activity index was calculated by summing the METs expended on walking, moderate-intensity physical activity, and high-intensity physical activity (18). According to the WHO physical activity recommendations, individuals whose total MET-minutes per week (MET-min/week) are considered to meet the physical activity standards. Based on the IPAQ classification, participants were divided into two categories: “meeting the standard” (≥600 MET-min/week) and “not meeting the standard” (<600 MET-min/week).

2.4 Anxiety assessment: GAD-7

Anxiety levels were assessed using the Generalized Anxiety Disorder 7 (GAD-7) scale. The scale consists of 7 items, each rated on a 4-point Likert scale (0–3 points), with a total score range from 0 to 21 (19). Based on the total score, anxiety levels were categorized as follows: no anxiety (0–4 points), mild anxiety (5–9 points), moderate anxiety (10–14 points), and severe anxiety (15–21 points). The GAD-7 has demonstrated good reliability and validity, and its Chinese version has been validated in Chinese populations (20).

2.5 Control of confounding factors

Demographic information of the participants, including age, gender, body mass index (BMI), smoking status (yes/no), alcohol consumption status (yes/no), history of hypertension (yes/no), and history of diabetes (yes/no), was collected via questionnaires. BMI was calculated using the standard formula: BMI = weight (kg) / height2 (m2). During the data analysis, these variables were included in the statistical models to control for potential confounding factors, thus reducing the impact of these factors on the relationship between anxiety levels, sleep quality, and physical activity index, thereby enhancing the reliability of the study’s conclusions.

2.6 Statistical analysis

All data were initially recorded by the research team members using paper questionnaires, which were then transcribed into an electronic database. Questionnaire data were exported from the online survey platform, and scores for each indicator were calculated, followed by data organization and cleaning. Data entry and management were performed using Microsoft Excel, and statistical analyses were conducted using SPSS 27.0 (IBM) and GraphPad Prism 8.0.2 (GraphPad Software).

Descriptive statistics were used to summarize the basic characteristics of the study population, with categorical variables presented as frequencies and percentages, and continuous variables expressed as mean ± standard deviation (Mean ± SD) or median (interquartile range, IQR). Before conducting parametric tests, the distribution of continuous variables was assessed for normality using the Shapiro–Wilk test, and homogeneity of variances was examined using Levene’s test. Chi-square tests were used to compare differences between categorical variables, exploring the relationships between different levels of physical activity, sleep quality, and anxiety status. For comparisons of continuous variables between groups, independent t-tests (for normally distributed data) or Mann–Whitney U tests (for non-normally distributed data) were used. Multivariable logistic regression models were employed to assess the associations between physical activity levels, sleep quality, and anxiety status, adjusting for potential confounders. In the regression models, anxiety level was the dependent variable, and physical activity level and sleep quality were the main independent variables, while age, gender, BMI, smoking, and alcohol consumption were included as covariates. The results of the models were presented as odds ratios (OR) with 95% confidence intervals (95% CI), with p < 0.05 considered statistically significant.

3 Results

3.1 Baseline information for participants

A total of 526 volunteers were recruited for this study. After screening, 12 participants with invalid IPAQ questionnaires, 16 participants with incomplete PSQI data, and 10 participants who did not provide anxiety assessments were excluded, resulting in 488 participants included in the final analysis (Figure 1). Based on the GAD-7 scoring criteria, 122 (25.0%) were classified into the anxiety group and 366 (75.0%) into the non-anxiety group.

Figure 1
Flowchart showing data filtering process starting with 526 volunteers. Twelve are removed due to incomplete IPAQ data, leaving 514. Sixteen with incomplete PSQI data are removed, resulting in 498. Finally, ten lacking anxiety assessments are excluded, leaving 488 for final analysis.

Figure 1. Flowchart of participant recruitment, exclusion criteria, and final sample included in the analysis.

Table 1 presents the demographic characteristics of the study sample. In the overall sample (n = 488), there were slightly more females than males (52.0% vs. 48.0%), with an average age of 57.82 ± 10.22 years. Most participants resided in urban areas (74.0%), were married (85.0%), and had an education level below high school (83.6%). Regarding lifestyle habits, 65.6% of participants were non-smokers, and 68.0% did not drink alcohol. Regarding health status, 44.5% of participants reported a history of hypertension, 10.9% reported a history of diabetes, and 24.2% were overweight or obese (BMI ≥ 24 kg/m2).

Table 1
www.frontiersin.org

Table 1. Sociodemographic characteristics of participants by anxiety status (n = 488).

When comparing the demographic characteristics between the anxiety group and the non-anxiety group, no statistically significant differences were found between the two groups in terms of gender (p = 0.917), age (p = 0.217), residential area (p = 0.858), marital status (p = 0.164), education level (p = 0.778), smoking status (p = 0.379), drinking status (p = 0.262), history of hypertension (p = 0.494), history of diabetes (p = 0.208), and BMI (p = 0.272). These results suggest that the demographic distribution of the anxiety and non-anxiety groups in this study was well-balanced, providing a good foundation for subsequent analyses.

3.2 Independent associations between physical activity, sleep, and anxiety

Figures 2, 3 show the distributions of sleep quality and physical activity levels between the anxiety and non-anxiety groups. In the anxiety group, the majority of participants (n = 85) exhibited poor sleep quality, while only a few (n = 37) had good sleep quality. In contrast, in the non-anxiety group, most participants (n = 314) had good sleep quality, with a smaller proportion (n = 52) experiencing poor sleep quality. This suggests a close association between anxiety status and sleep quality, with individuals in the anxiety group being more likely to experience sleep problems (Figure 2).

Figure 2
Bar graph showing participant distribution between anxiety and non-anxiety groups. Non-anxiety with good outcomes is highest, nearly 400 participants. Anxiety group has fewer participants, with more poor outcomes noted.

Figure 2. Distribution of sleep quality levels in the anxiety group and non-anxiety group.

Figure 3
Bar chart showing participation numbers for eligible and substandard groups among anxiety and non-anxiety categories. Non-anxiety has more participants in both groups, with 200 eligible and 225 substandard, compared to anxiety with about 20 eligible and 100 substandard.

Figure 3. Distribution of physical activity levels in the anxiety group and non-anxiety group.

Regarding physical activity levels, only a few participants in the anxiety group (n = 17) met the WHO recommended physical activity standards (≥600 MET-min/week), while most participants (n = 105) did not meet the standard. In the non-anxiety group, although the majority of participants (n = 204) did not meet the recommended physical activity levels, the proportion of those meeting the standard (n = 162) was significantly higher than in the anxiety group. This finding suggests that physical activity levels are also associated with anxiety status, supporting the hypothesis that physical activity may have a protective effect against anxiety (Figure 3).

Univariate logistic regression analysis confirmed significant associations between physical activity levels and anxiety status (p < 0.001) (Table 2). Among all participants (n = 488), 63.3% (309 participants) did not meet the recommended physical activity levels (<600 MET-min/week), while 36.7% (179 participants) met the standard. The proportion of participants in the anxiety group who did not meet the physical activity standard (86.1%) was significantly higher than in the non-anxiety group (55.7%).

Table 2
www.frontiersin.org

Table 2. A univariate logistic regression analysis of physical activity levels and sleep quality on anxiety.

For sleep quality, 71.9% (351 participants) had good sleep quality, while 28.1% (137 participants) had poor sleep quality. The proportion of poor sleep quality was markedly higher in the anxiety group (69.7%) than in the non-anxiety group (14.2%) (p < 0.001). Sleep duration did not differ significantly between groups: 6.72 ± 2.21 h in the anxiety group and 6.45 ± 2.16 h in the non-anxiety group (p = 0.172). Poor sleep quality and insufficient physical activity were each strongly associated with higher anxiety risk, whereas sleep duration showed no significant relationship.

3.3 Associations between physical activity, sleep, and anxiety

To more comprehensively assess the associations between physical activity levels, sleep quality, and anxiety status while controlling for potential confounders, multivariable logistic regression analysis was performed. The analysis included both unadjusted and adjusted models (adjusting for confounders such as age, gender, BMI, smoking, alcohol consumption, hypertension, and diabetes) (Table 3).

Table 3
www.frontiersin.org

Table 3. Multifactorial logistic regression analysis of physical activity levels and sleep quality on anxiety.

In the unadjusted model, compared with poor sleep quality, good sleep quality was associated with a markedly reduced risk of anxiety (OR = 0.069, 95% CI: 0.041–0.115, p < 0.001). After adjusting for potential confounders, the association remained significant and similar in magnitude (OR = 0.065, 95% CI: 0.038–0.111, p < 0.001).

For physical activity, in the unadjusted model, not meeting the WHO recommended standard was associated with substantially higher anxiety risk compared with meeting the standard (OR = 5.345, 95% CI: 2.849–10.027, p < 0.001). This relationship persisted after adjustment (OR = 5.408, 95% CI: 2.827–10.344, p < 0.001).

Both good sleep quality and meeting WHO physical activity standards were independently associated with lower anxiety risk, and these relationships remained robust after controlling demographic and lifestyle factors.

3.4 Stratified analysis

To explore whether the effects of physical activity levels and sleep quality on anxiety differ across various demographic characteristics and health conditions, stratified analyses were conducted.

In the stratified analysis of sleep quality, it was found that the effect of sleep quality on anxiety was significant in all subgroups of demographic characteristics and health conditions (p < 0.05), with no statistically significant interactions (all P-interaction > 0.05). In the female subgroup, the protective effect of good sleep quality on anxiety (OR = 21.248, 95% CI: 10.382–43.487, p < 0.001) appeared numerically stronger than in the male subgroup (OR = 9.219, 95% CI: 4.725–17.986, p < 0.001). However, the interaction was not statistically significant (P-interaction = 0.095), and therefore, this observation should be interpreted with caution as it was not confirmed statistically. For residential area, the ORs were 14.472 (95% CI: 8.220–25.479, p < 0.001) in urban residents and 12.300 (95% CI: 4.793–31.567, p < 0.001) in rural residents; While the point estimate was slightly higher in urban participants, no statistically significant interaction was detected (P-interaction = 0.772), and the observed difference should not be overinterpreted. In the marital status subgroup, married individuals (OR = 16.099, 95% CI: 9.355–27.705, p < 0.001) showed a higher point estimate compared with those of other marital statuses (OR = 7.086, 95% CI: 2.346–21.402, p < 0.001), but the difference was not statistically significant (P-interaction = 0.192). No significant differences were found in the education level subgroup (P-interaction = 0.690), with non-smokers (OR = 17.539, 95% CI: 9.525–32.293, p < 0.001) and non-drinkers (OR = 18.070, 95% CI: 9.911–32.945, p < 0.001) showing stronger protective effects of sleep quality on anxiety compared to smokers (OR = 8.898, 95% CI: 3.967–19.959, p < 0.001) and drinkers (OR = 7.744, 95% CI: 3.343–17.942, p < 0.001), although the interaction was not statistically significant (Figure 4).

Figure 4
Forest plot displaying odds ratios (OR) with 95% confidence intervals (CI) for various characteristics in a stratified analysis. Categories include gender, region, marital status, education, smoking, drinking, high blood pressure, diabetes, and BMI level, each with associated OR, CI, p-values, and p-interaction. Arrows and lines represent the range of CI, with green dots indicating OR values on a scale from 0.1 to 28.

Figure 4. Stratified analysis of the impact of sleep quality on anxiety.

In the stratified analysis of physical activity levels, the effect of physical activity on anxiety was significant in all subgroups (p < 0.05), with no statistically significant interactions (all P-interaction > 0.05). Unlike sleep quality, the effect of physical activity on anxiety did not differ significantly between males (OR = 0.191, 95% CI: 0.085–0.425) and females (OR = 0.217, 95% CI: 0.101–0.464) (P-interaction = 0.819). In the residential area subgroup, the protective effect of physical activity on anxiety was stronger in urban residents (OR = 0.157, 95% CI: 0.078–0.315, p < 0.001) compared to rural residents (OR = 0.359, 95% CI: 0.141–0.914, p = 0.032), but the interaction was not statistically significant (P-interaction = 0.163). In terms of marital status, the protective effect of physical activity on anxiety was stronger in married individuals (OR = 0.222, 95% CI: 0.124–0.395, p < 0.001) compared to those in other marital statuses (OR = 0.106, 95% CI: 0.013–0.86, p = 0.036), with no significant interaction (P-interaction = 0.506). No significant differences were observed in the education level, smoking status, drinking status, hypertension history, diabetes history, or BMI subgroups (all P-interaction > 0.05). Among non-drinkers, meeting physical activity standards had a stronger protective effect on anxiety (OR = 0.25, 95% CI: 0.131–0.474, p < 0.001) compared to drinkers (OR = 0.129, 95% CI: 0.043–0.388, p < 0.001). The protective effect of physical activity on anxiety was stronger in those with normal weight (OR = 0.163, 95% CI: 0.081–0.329, p < 0.001) compared to overweight or obese individuals (OR = 0.314, 95% CI: 0.123–0.8, p = 0.015), although these differences did not reach statistical significance (Figure 5).

Figure 5
Forest plot depicting odds ratios with 95% confidence intervals for various characteristics including gender, region, marital status, education, smoking, drinking, blood pressure, diabetes, and BMI level. Most confidence intervals are tight; relative significance levels (P-values) are displayed, indicating statistical significance for most factors.

Figure 5. Stratified analysis of the impact of physical activity levels on anxiety.

The protective effects of good sleep quality and sufficient physical activity were consistent across demographic and health subgroups, and no statistically significant interactions were observed.

4 Discussion

This cross-sectional study examined the relationships between physical activity levels, sleep quality, and anxiety. The findings show that both poor sleep quality and insufficient physical activity are independently linked to an increased risk of anxiety, even after adjusting for potential confounders. Additionally, sleep quality, as measured by the PSQI, is a stronger predictor of anxiety than sleep duration.

Stratified analysis revealed varying patterns in the associations across demographic and health subgroups. While the interaction terms were not statistically significant, trends showed that good sleep quality had a stronger protective effect on anxiety in females and non-smokers. Similarly, meeting physical activity standards was more protective in urban residents, married individuals, and non-drinkers. These findings highlight potential subgroup differences that could guide tailored interventions. For instance, the stronger effect of sleep quality in females and non-smokers suggests that sleep improvement programs could benefit these groups. Additionally, the lower anxiety risk associated with meeting physical activity standards in urban residents suggests that environmental factors may play a role. These insights can inform more personalized public health strategies.

The relationship between sleep quality and anxiety in this study is consistent with previous research, while also providing new insights. Existing studies generally show a strong link between sleep disorders and anxiety (21). For instance, Zhou et al. found that both short sleep (<7 h) and long sleep (≥9 h) increased the risk of anxiety, supporting the idea that deviations from normal sleep duration can disrupt emotional regulation (5). However, this study refines this understanding by highlighting that sleep quality, as measured by the PSQI total score, is a more significant factor in anxiety than sleep duration alone. Poor sleep quality may affect neural circuits involved in emotional regulation, as research shows it reduces prefrontal cortex activity and increases amygdala activity, impacting emotional responses (22). Furthermore, disruptions in sleep stages may influence anxiety-related neural activity more than sleep duration (23). Individual differences, such as age or genetic factors, might explain why sleep duration alone did not significantly correlate with anxiety in this study.

This study confirmed the protective effect of meeting the WHO-recommended physical activity standards against anxiety, showing a strong link between adhering to these guidelines and reduced anxiety risk. However, the literature presents conflicting findings regarding the relationship between physical activity intensity and anxiety. Some studies suggest that high-intensity exercise improves mood, cardiovascular health, and energy levels, thus reducing anxiety (11, 24). In contrast, other research indicates that excessive high-intensity exercise can worsen anxiety, particularly due to elevated cortisol levels, fatigue, or overtraining (11). Individual differences, such as baseline anxiety, fitness level, and psychosocial stressors, may explain these conflicting findings. Additionally, the type of exercise (aerobic vs. resistance) plays a significant role, with aerobic exercises typically offering more consistent anxiety relief. This study did not differentiate between the effects of various physical activity intensities, an area warranting further exploration. Future studies should identify which intensities and exercise modalities are most effective for anxiety reduction, considering individual factors such as exercise preferences, baseline anxiety levels, and psychological views on exercise, which were not fully addressed in this study.

This study also found that the effects of sleep and physical activity on anxiety vary across demographic subgroups, suggesting that sociocultural factors may moderate this relationship. For instance, the protective effect of physical activity on anxiety was stronger in urban residents, likely due to the greater availability of structured exercise opportunities in urban areas. In contrast, the protective effect of sleep quality on anxiety was stronger in females, possibly linked to gender differences in neuroendocrine regulation (25). These findings expand on previous research and highlight the importance of considering demographic characteristics and social factors when designing strategies for anxiety prevention and intervention.

Physical activity can reduce anxiety through several biological mechanisms. It regulates neurotransmitter levels in the central nervous system, increasing the release of serotonin, dopamine, and endorphins, which are important for emotional regulation (26). Additionally, physical activity reduces systemic inflammation by lowering pro-inflammatory cytokines (IL-6, TNF-α, CRP), which are linked to the onset and progression of anxiety disorders (27). Regular exercise also boosts neurotrophic factors, such as brain-derived neurotrophic factors (BDNF), promotes hippocampal neurogenesis, and improves cognitive and emotional regulation (28). Poor sleep quality, on the other hand, may worsen anxiety through different pathways. Sleep disorders can overstimulate the hypothalamic–pituitary–adrenal (HPA) axis, leading to prolonged cortisol elevation, which is associated with heightened anxiety symptoms (11).

In addition to biological mechanisms, behavioral and psychosocial factors may also influence the relationship between sleep, physical activity, and anxiety. Good sleep and regular exercise can improve self-efficacy and coping skills, helping individuals better manage daily stress. Participation in physical activity, particularly group exercise, can also strengthen social connections and support, which are protective factors against anxiety. The urban–rural differences observed in this study may reflect the impact of environmental resources, such as access to exercise facilities and safe spaces. Urban areas typically offer more structured exercise opportunities (e.g., gyms, parks, community programs), while rural residents may engage more in labor-based physical activities, which can differ in both nature and psychological effects.

The findings have important implications for community-based mental health programs targeting middle-aged and older adults. Interventions such as sleep hygiene education, structured exercise, and access to safe exercise spaces should be incorporated into primary care and public health initiatives. The consistent associations across demographic subgroups suggest these interventions have broad applicability, while stratified patterns provide guidance for more tailored approaches for specific groups (e.g., females, non-smokers, urban residents). Additionally, including sleep and physical activity indicators in routine health screenings can help identify individuals at risk of anxiety, allowing for timely preventive interventions.

This study has several key limitations that should be considered when interpreting the results. First, the cross-sectional design prevents the establishment of causal relationships and cannot rule out reverse causality—anxiety may cause sleep disturbances or reduce physical activity, rather than the reverse. Future research should use prospective cohort designs or randomized controlled trials to clarify the direction of these relationships. Additionally, this study relied on self-reported questionnaires to assess sleep quality, physical activity, and anxiety levels, which may introduce bias, including social desirability bias. Future studies should incorporate objective measurement methods, such as accelerometer-based physical activity monitoring and polysomnography for sleep assessment, to improve the reliability of the findings.

5 Conclusion

This study provides valuable insights into the independent protective roles of good sleep quality and sufficient physical activity against anxiety in middle-aged and older adults. The findings suggest that both factors are strongly associated with a reduced risk of anxiety, independent of demographic variables and lifestyle factors. However, as a cross-sectional study, it is important to note that causality cannot be established, and these results should be interpreted as associations rather than causal relationships.

Despite the valuable insights, potential biases from self-reported measures must be acknowledged. The reliance on self-reported questionnaires for assessing anxiety, sleep quality, and physical activity may introduce reporting bias, as individuals may overestimate or underestimate their behaviors and symptoms. Additionally, the generalizability of these findings may be limited, as the sample was drawn from a specific geographic region and may not fully represent other populations, particularly younger adults or those from different cultural or socioeconomic backgrounds.

Future research should focus on longitudinal studies to better understand the temporal relationships between sleep quality, physical activity, and anxiety. Moreover, intervention studies are needed to test the practical applications of these findings, particularly to explore how improving sleep quality and increasing physical activity can reduce anxiety symptoms in real-world settings. These intervention trials will provide essential evidence to guide public health recommendations and mental health interventions.

Data availability statement

The original contributions presented in the study are included in the article/supplementary material, further inquiries can be directed to the corresponding author.

Ethics statement

The studies involving humans were approved by Ethics Committee of Zunyi First People’s Hospital (Third Affiliated Hospital of Zunyi Medical University). The studies were conducted in accordance with the local legislation and institutional requirements. Written informed consent for participation was not required from the participants or the participants’ legal guardians/next of kin in accordance with the national legislation and institutional requirements.

Author contributions

BT: Data curation, Investigation, Writing – original draft. YH: Data curation, Writing – original draft, Investigation. CX: Writing – original draft, Software, Investigation. NW: Validation, Writing – original draft. YL: Writing – original draft, Software. JL: Writing – review & editing, Supervision, Project administration.

Funding

The author(s) declare that no financial support was received for the research and/or publication of this article.

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Generative AI statement

The authors declare that Gen AI was used in the creation of this manuscript. During the preparation of this work, the authors used ChatGPT to polish the language and translate a portion of the content. After using this tool, the authors reviewed and edited the content as needed and took full responsibility for the content of the publication.

Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

1. McTeague, LM, and Lang, PJ. The anxiety spectrum and the reflex physiology of defense: from circumscribed fear to broad distress. Depress Anxiety. (2012) 29:264–81. doi: 10.1002/da.21891

PubMed Abstract | Crossref Full Text | Google Scholar

2. Karami, N, Kazeminia, M, Karami, A, Salimi, Y, Ziapour, A, and Janjani, P. Global prevalence of depression, anxiety, and stress in cardiac patients: a systematic review and meta-analysis. J Affect Disord. (2023) 324:175–89. doi: 10.1016/j.jad.2022.12.055

PubMed Abstract | Crossref Full Text | Google Scholar

3. Alharbe, NR. Soft computing analysis of the factors associated with stress, anxiety, and depression. BMC Public Health. (2025) 25:1415. Published 2025 Apr 15. doi: 10.1186/s12889-025-22635-1

PubMed Abstract | Crossref Full Text | Google Scholar

4. Luik, AI, Zuurbier, LA, Direk, N, Hofman, A, Van Someren, EJ, and Tiemeier, H. 24-hour activity rhythm and sleep disturbances in depression and anxiety: a population-based study of middle-aged and older persons. Depress Anxiety. (2015) 32:684–92. doi: 10.1002/da.22355

PubMed Abstract | Crossref Full Text | Google Scholar

5. Zhou, F, Li, S, and Xu, H. Insomnia, sleep duration, and risk of anxiety: a two-sample Mendelian randomization study. J Psychiatr Res. (2022) 155:219–25. doi: 10.1016/j.jpsychires.2022.08.012

PubMed Abstract | Crossref Full Text | Google Scholar

6. Palmer, CA, Bower, JL, Cho, KW, Clementi, MA, Lau, S, Oosterhoff, B, et al. Sleep loss and emotion: a systematic review and meta-analysis of over 50 years of experimental research. Psychol Bull. (2024) 150:440–63. doi: 10.1037/bul0000410

PubMed Abstract | Crossref Full Text | Google Scholar

7. Braley, MS, Thornton, AE, and Loken Thornton, W. Anxiety symptoms and theory of mind in older and younger adults: curvilinearity moderated by age group. Aging Ment Health. (2023) 27:829–37. doi: 10.1080/13607863.2022.2060183

PubMed Abstract | Crossref Full Text | Google Scholar

8. Chen, C, Beaunoyer, E, Guitton, MJ, and Wang, J. Physical activity as a clinical tool against depression: opportunities and challenges. J Integr Neurosci. (2022) 21:132. doi: 10.31083/j.jin2105132

PubMed Abstract | Crossref Full Text | Google Scholar

9. Fan, M, Lyu, J, and He, P. Chinese guidelines for data processing and analysis concerning the international physical activity questionnaire. Zhonghua Liu Xing Bing Xue Za Zhi. (2014) 35:961–4.

Google Scholar

10. Moylan, S, Eyre, HA, Maes, M, Baune, BT, Jacka, FN, and Berk, M. Exercising the worry away: how inflammation, oxidative and nitrogen stress mediates the beneficial effect of physical activity on anxiety disorder symptoms and behaviours. Neurosci Biobehav Rev. (2013) 37:573–84. doi: 10.1016/j.neubiorev.2013.02.003

PubMed Abstract | Crossref Full Text | Google Scholar

11. Paolucci, EM, Loukov, D, Bowdish, DME, and Heisz, JJ. Exercise reduces depression and inflammation but intensity matters. Biol Psychol. (2018) 133:79–84. doi: 10.1016/j.biopsycho.2018.01.015

PubMed Abstract | Crossref Full Text | Google Scholar

12. Difrancesco, S, Lamers, F, Riese, H, Merikangas, KR, Beekman, ATF, van Hemert, AM, et al. Sleep, circadian rhythm, and physical activity patterns in depressive and anxiety disorders: a 2-week ambulatory assessment study. Depress Anxiety. (2019) 36:975–86. doi: 10.1002/da.22949

Crossref Full Text | Google Scholar

13. Fried, EI, von Stockert, S, Haslbeck, JMB, Lamers, F, Schoevers, RA, and Penninx, B. Using network analysis to examine links between individual depressive symptoms, inflammatory markers, and covariates. Psychol Med. (2020) 50:2682–90. doi: 10.1017/S0033291719002770

Crossref Full Text | Google Scholar

14. Lu, H, He, L, Jin, D, Zhu, Y, and Meng, H. Effect of adjunctive systemic antibiotics on microbial populations compared with scaling and root planing alone for the treatment of periodontitis: a pilot randomized clinical trial. J Periodontol. (2022) 93:570–83. doi: 10.1002/JPER.20-0764

PubMed Abstract | Crossref Full Text | Google Scholar

15. Buysse, DJ, Reynolds, CF, Monk, TH, Berman, SR, and Kupfer, DJ. The Pittsburgh sleep quality index: a new instrument for psychiatric practice and research. Psychiatry Res. (1989) 28:193–213.

Google Scholar

16. Manzar, MD, BaHammam, AS, Hameed, UA, Spence, DW, Pandi-Perumal, SR, Moscovitch, A, et al. Dimensionality of the Pittsburgh sleep quality index: a systematic review. Health Qual Life Outcomes. (2018) 16:89. doi: 10.1186/s12955-018-0915-x

PubMed Abstract | Crossref Full Text | Google Scholar

17. Hirshkowitz, M, Whiton, K, Albert, SM, Alessi, C, Bruni, O, DonCarlos, L, et al. National Sleep Foundation's sleep time duration recommendations: methodology and results summary. Sleep Health. (2015) 1:40–3. doi: 10.1016/j.sleh.2014.12.010

PubMed Abstract | Crossref Full Text | Google Scholar

18. Ghrouz, AK, Noohu, MM, Dilshad Manzar, M, Warren Spence, D, BaHammam, AS, and Pandi-Perumal, SR. Physical activity and sleep quality in relation to mental health among college students. Sleep Breath. (2019) 23:627–34. doi: 10.1007/s11325-019-01780-z

PubMed Abstract | Crossref Full Text | Google Scholar

19. Spitzer, RL, Kroenke, K, Williams, JB, and Löwe, B. A brief measure for assessing generalized anxiety disorder: the GAD-7. Arch Intern Med. (2006) 166:1092–7. doi: 10.1001/archinte.166.10.1092

PubMed Abstract | Crossref Full Text | Google Scholar

20. Zhang, C, Wang, T, Zeng, P, Zhao, M, Zhang, G, Zhai, S, et al. Reliability, validity, and measurement invariance of the general anxiety disorder scale among Chinese medical university students. Front Psych. (2021) 12:648755. doi: 10.3389/fpsyt.2021.648755

PubMed Abstract | Crossref Full Text | Google Scholar

21. Chellappa, SL, and Aeschbach, D. Sleep and anxiety: from mechanisms to interventions. Sleep Med Rev. (2022) 61:101583. doi: 10.1016/j.smrv.2021.101583

PubMed Abstract | Crossref Full Text | Google Scholar

22. Meneo, D, Samea, F, Tahmasian, M, and Baglioni, C. The emotional component of insomnia disorder: a focus on emotion regulation and affect dynamics in relation to sleep quality and insomnia. J Sleep Res. (2023) 32:e13983. doi: 10.1111/jsr.13983

PubMed Abstract | Crossref Full Text | Google Scholar

23. Greenlund, IM, and Carter, JR. Sympathetic neural responses to sleep disorders and insufficiencies. Am J Physiol Heart Circ Physiol. (2022) 322:H337–49. doi: 10.1152/ajpheart.00590.2021

PubMed Abstract | Crossref Full Text | Google Scholar

24. Qiu, P, Dong, B, Cao, R, Hu, J, Yang, J, Yu, R, et al. The relationship between physical activity levels and periodontal health status among college students: a cross-sectional study. Risk Manag Healthc Policy. (2025) 18:131–41. doi: 10.2147/RMHP.S498108

PubMed Abstract | Crossref Full Text | Google Scholar

25. Oyola, MG, and Handa, RJ. Hypothalamic-pituitary-adrenal and hypothalamic-pituitary-gonadal axes: sex differences in regulation of stress responsivity. Stress. (2017) 20:476–94. doi: 10.1080/10253890.2017.1369523

PubMed Abstract | Crossref Full Text | Google Scholar

26. Tsuboi, D, Nagai, T, Yoshimoto, J, and Kaibuchi, K. Neuromodulator regulation and emotions: insights from the crosstalk of cell signaling. Front Mol Neurosci. (2024) 17:1376762. doi: 10.3389/fnmol.2024.1376762

PubMed Abstract | Crossref Full Text | Google Scholar

27. Scheffer, DDL, and Latini, A. Exercise-induced immune system response: anti-inflammatory status on peripheral and central organs. Biochim Biophys Acta Mol basis Dis. (2020) 1866:165823. doi: 10.1016/j.bbadis.2020.165823

PubMed Abstract | Crossref Full Text | Google Scholar

28. Martín-Rodríguez, A, Gostian-Ropotin, LA, Beltrán-Velasco, AI, Belando-Pedreño, N, Simón, JA, López-Mora, C, et al. Sporting mind: the interplay of physical activity and psychological health. Sports (Basel). (2024) 12:37. doi: 10.3390/sports12010037

PubMed Abstract | Crossref Full Text | Google Scholar

Keywords: physical activity, sleep quality, anxiety, association, cross sectional study

Citation: Tang B, Hu Y, Xu C, Wang N, Li Y and Li J (2025) Analysis of the correlation between physical activity level, sleep quality, and anxiety levels in middle-aged and older adults: a cross-sectional study. Front. Public Health. 13:1629695. doi: 10.3389/fpubh.2025.1629695

Received: 22 May 2025; Accepted: 20 October 2025;
Published: 30 October 2025.

Edited by:

Ilaria Chirico, University of Bologna, Italy

Reviewed by:

Giuseppe d'Orsi, IRCCS Casa Sollievo della Sofferenza Hospital, Italy
Ömer Faruk Uygur, Atatürk University, Türkiye

Copyright © 2025 Tang, Hu, Xu, Wang, Li and Li. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Jianping Li, amlhbnBpbmdsaTIwMjVAMTYzLmNvbQ==

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.