Introduction

Background

The coronavirus disease 2019 (COVID-19) pandemic outbreak has profoundly affected global societies since 2019, introducing multifaceted challenges, particularly in healthcare and mental well-being. Beyond its direct effects on respiratory health, the pandemic has unveiled a plethora of secondary ramifications, extending to mental health1,2,3. Mental disorders are among the primary causes of health-related burdens worldwide. According to the Global Burden of Diseases, Injuries, and Risk Factors Study 2019, depressive and anxiety disorders were the two most disabling mental disorders, ranked as the 25th largest cause of global burden in 20194,5. Depression and anxiety, which were pervasive and debilitating conditions even before the pandemic, have surged to the forefront of public health concerns in the wake of COVID-19.

Studies conducted during the pandemic have consistently underscored the profound effect of COVID-19 on psychological well-being6,7,8. Several studies have reported increased rates of depression and anxiety resulting from the COVID-19 pandemic9,10. Risk factors for depression and anxiety associated with the COVID-19 pandemic include female sex, young age, the presence of chronic disease, pre-existing mental illness, and family relationships10,11,12. Heightened levels of stress, social isolation, economic instability, and fear of infection have contributed to a surge in mental health disorders globally. The confluence of these stressors has disproportionately affected vulnerable populations, including individuals grappling with chronic pain conditions such as back pain.

Back pain, a prevalent and often debilitating musculoskeletal ailment, is intricately intertwined with psychological well-being13. Research spanning decades has elucidated the bidirectional relationship between back pain and mental health, demonstrating how one can exacerbate the other in a vicious cycle9,14,15. Individuals with chronic back pain frequently exhibit elevated rates of depression and anxiety, compounding the burden of their condition and impeding their overall well-being16,17.

Rationale

Against the foregoing background, the intersection of COVID-19, back pain, and mental health warrants closer examination. While emerging evidence highlights the detrimental consequences of COVID-19 on mental health outcomes18,19, relatively little is known about how it influences psychological distress in individuals with pre-existing back pain. Understanding the interplay between COVID-19 infection and the development of depression and anxiety in patients with back pain is imperative for optimizing clinical care, enhancing risk stratification, and devising targeted interventions to mitigate the psychosocial toll of the pandemic.

Therefore, this study aimed to elucidate the nexus between COVID-19, back pain, and mental health outcomes, drawing upon a robust dataset derived from the Korean National Health Insurance Service. We sought to determine the incidence of depression and anxiety in patients with COVID-19 with pre-existing back pain using multi-year comprehensive health records. Through rigorous statistical analysis and meticulous patient stratification, we could provide actionable insights that inform clinical practice, public health policy, and future research endeavors.

Methods

Study design and population

The study population was enrolled from the Korean National Health Insurance Service database between 2019 and 2020 using the International Classification of Diseases, Tenth Revision codes (ICD-10 code), comprising 118,438 patients with COVID-19. Exclusions were made for patients aged < 18 years; those with ICD-10 codes related to depression and anxiety from 2010 to 2018; and those with other neurological diseases, trauma, infection, cancer, or missing values. This resulted in 28,593 patients in the depression group and 24,777 in the anxiety group. Patients with back pain were identified as the back pain group. Thus, using propensity score matching (PSM), the no back pain group was established at a 1:3 ratio by matching variables such as basic characteristics, comorbidities, and socioeconomic status. The process of selecting case and control groups is illustrated in Fig. 1 (depression) and Fig. 2 (anxiety). This study was approved by the Institutional Review Board and Ethics Committee, which issued a waiver regarding the need for informed consent (CR323348). All studies were performed according to relevant guidelines and regulations.

Fig. 1
figure 1

Cohort selection process for studying depression in patients with COVID-19 with back pain.

Fig. 2
figure 2

Cohort selection process for studying anxiety in patients with COVID-19 with back pain.

COVID-19 was diagnosed using ICD-10 codes (B342, B972, J1288, U071, U07101, U072, U089, U099, Z29002). Depression was diagnosed using ICD-10 codes (F32.x, F33.x) and recorded more than twice in psychiatric outpatient or hospitalization visits. Anxiety was diagnosed using ICD-10 codes (F40.x, F41.x) and recorded more than twice in psychiatric outpatient or hospitalization visits. Back pain was diagnosed using ICD-10 codes (M54.4, M54.5) and recorded more than twice in outpatient or hospitalization visits in the year before the COVID-19 diagnosis. Additionally, cases with procedure codes (neuroplasty (SZ641, SZ634, S4594), block (LA251, LA253, LA352 ~ 9), radiofrequency ablation (S4825, S4826), epidural block (LA222 ~ 7, LA321, LA322), prolotherapy (MY143)), or drug codes (Tramadol, Acetaminophen + Tramadol, Acetaminophen, Acetaminophen + Hydrocodone, Celecoxib, Ibuprofen, Codeine + Ibuprofen + Paracetamol, Diclofenac, Meloxicam, Ketoprofen, Naproxen, Piroxicam, Ketorolac, Oxycodone, and Codeine related codes) were included. Patients diagnosed with other neurological diseases in ICD-10 codes (I64, I63.9, G46.3, G46.4, G37.3, G61.0, G35) after the COVID-19 code registration were excluded. Patients diagnosed with trauma in ICD-10 codes (S12, S13, S14, S22, S23, S24, S32, S33, S34, S38, T02.1, T03.8, T08.0, T08.1, T09.3) within the 2 weeks after the diagnosis of low back pain were excluded. Patients diagnosed with infection in ICD-10 codes (M46.2, M46.3, M46.4, M46.5, M46.8, M46.9, A18.00, G04.9, G06.1) within the 2 weeks after the diagnosis of low back pain were excluded. Patients diagnosed with cancer in ICD-10 codes (C41.2, C72.0, C72.1, C79.4, C79.5, D43.4, D48.0) within the 2 weeks after the diagnosis of low back pain were excluded. Basic characteristics (e.g., age, sex, alcohol consumption, smoking, physical exercise, body mass index [BMI]), comorbidities (e.g., hypertension, diabetes, and Charlson Comorbidity Index [CCI]), and socioeconomic status (e.g., region and income level) were retrieved. This study was approved by an appropriate institutional review board and ethics committee, which issued a waiver regarding the requirement for informed consent.

Statistical analyses

The Cox proportional-hazards regression model was used to explore the risk of developing depression or anxiety in patients with COVID-19 with back pain, adjusting for basic characteristics, comorbidities, and socioeconomic status. The proportional hazards assumption was confirmed using Schoenfeld residuals. Patients were followed up for 1 year after COVID-19 infection until the development of depression or anxiety. The Kaplan–Meier curve and log-rank test (P < 0.001) were used to compare the survival of two groups (back pain vs. no back pain). PSM was conducted to reduce selection bias owing to the differences between the back pain and no back pain groups and to balance the distribution of confounders. In a data analysis room provided by the NHISS, statistical analyses were performed using the SAS enterprise guide, version 7.1 (SAS Inc., Cary, NC, USA), and R software, version 4.0.3 (The R Foundation for Statistical Computing, Vienna, Austria). All statistical tests were two-tailed, and P-values < 0.05 were considered significant.

Results

Demographic data analysis

The baseline characteristics of both groups were compared for both depression (Table 1) and anxiety (Table 2) before and after PSM to control for confounding variables. Before matching, significant differences were observed in several variables. In both tables, the sex distribution displayed no significant differences before or after matching (P > 0.05). The age distribution initially differed significantly, particularly in the younger age group (≤ 29 years), but these differences were minimized after matching, with slight imbalances remaining in the depression cohort. Drinking habits exhibited significant differences before matching (P = 0.001 for depression, P = 0.002 for anxiety) because of minimal entries in the “none” category for patients with back pain, which balanced out after matching. Smoking status also differed significantly before matching (P = 0.001 for depression, P = 0.003 for anxiety) but was balanced out after matching in both cohorts. Physical activity levels exhibited initial significant differences (P < 0.001 for depression and anxiety), which were largely balanced out after matching. Additionally, BMI showed significant differences before matching (P < 0.001 for depression and anxiety), but these were no longer significant after matching. CCI scores, indicating the comorbidity burden, exhibited significant differences before matching, with slight imbalances remaining for depression but not for anxiety after matching (P = 0.046 for depression, P = 0.612 for anxiety). Regional and income differences were adjusted through matching, resulting in no significant differences after matching.

Table 1 Baseline characteristics of patients with and without back pain related to depression before and after matching.
Table 2 Baseline characteristics of patients with and without back pain related to anxiety before and after matching.

Prevalence of psychiatric disorders according to the presence or absence of back pain

Patients with back pain exhibited a significantly higher cumulative incidence of both depression and anxiety compared with those without back pain. The incidence of depression was notably higher in the back pain group (P = 0.009; Fig. 3). Similarly, the incidence of anxiety was markedly elevated in this group, indicating a notably substantial difference (P < 0.001; Fig. 4).

Fig. 3
figure 3

Cumulative incidence of depression in patients with and without back pain.

Fig. 4
figure 4

Cumulative incidence of anxiety in patients with and without back pain.

The baseline characteristics of both groups were compared for both depression (Table 3) and anxiety (Table 4) using hazard ratios (HRs) to assess risk. For depression, the crude HR for patients with back pain was 1.877 (95% CI: 1.165–3.025, P = 0.01), indicating a significantly higher risk compared with those without back pain. After adjusting for variables such as sex, age, height, weight, BMI, smoking status, drinking habits, physical activity, region, CCI score, and income, the adjusted HR was 1.768 (95% CI: 1.092–2.862, P = 0.02), confirming the increased risk. For anxiety, the crude HR for patients with back pain was 3.256 (95% CI: 1.809–5.859, P < 0.001), indicating a markedly higher risk compared with those without back pain. The adjusted HR, accounting for the same variables as in the depression analysis, was even higher, at 3.493 (95% CI: 1.916–6.365, P < 0.001), indicating a significant link between back pain and a heightened likelihood of anxiety during the COVID-19 pandemic.

Table 3 Hazard ratios for depression in patients with and without back pain.
Table 4 Hazard ratios for anxiety in patients with and without back pain.

Discussion

This study holds significant merit as it analyzes the period of rigorous national and societal measures against COVID-19 and ensures high diagnostic accuracy according to ICD-10 codes. The robust diagnostic practices during this era provided reliable data, which is crucial for epidemiological studies. Further, this study meticulously controlled for environmental and past disease factors that could influence mental health outcomes through matching, allowing for a clear temporal analysis of the prevalence of psychiatric disorders. The distinction between anxiety and depression is paramount, particularly in understanding their interaction with chronic back pain and COVID-19 infection.

Anxiety, characterized by a heightened state of alertness and unease regarding future events, often manifests as an acute response to stress20,21. In the context of COVID-19, the fear of infection, isolation, and uncertainty likely exacerbated anxiety in individuals with chronic back pain. The immediate stress response can increase muscle tension and pain perception, creating a vicious cycle that amplifies both physical pain and psychological distress. Contrarily, depression is a prolonged state of low mood and disinterest, often stemming from past events or chronic conditions22. It is also typically a long-term response to ongoing stressors and can significantly impair daily functioning. For individuals with chronic back pain, the enduring nature of both physical pain and depression can lead to a profound decrease in the quality of life23,24,25,26,27,28. The COVID-19 pandemic, with its extended period of social isolation and disruption of normal routines, likely contributed to an increase in depressive symptoms in this population29,30. The chronic stress and lack of access to regular medical care during the lockdowns have likely further compounded these issues31.

The findings highlight the temporal progression of these conditions, with anxiety potentially being an initial acute response to the pandemic, subsequently leading to longer-term depressive states. The data indicate that the incidence of both anxiety and depression increased over time in those experiencing chronic back pain, underscoring the importance of temporal factors in the management of these conditions. The significant HRs for both anxiety and depression in the back pain cohort compared with those without back pain demonstrate the compounded burden of these conditions. The adjusted HR for anxiety (HR 3.493; 95% CI: 1.916–6.365) was notably higher than that for depression (HR 1.768; 95% CI: 1.092–2.862), suggesting that anxiety might be a more immediate response exacerbated by the pandemic’s acute stressors. This aligns with the literature indicating that acute stress and anxiety can significantly worsen chronic pain conditions32,33. Moreover, our approach of using a national database and rigorous matching procedures ensures that confounding factors are minimized, providing a clearer picture of the true relationship between COVID-19, back pain, and mental health outcomes. Sociodemographic and socioeconomic factors significantly influence mental health outcomes34,35. Specifically, a lower socioeconomic status often correlates with limited access to healthcare, increased job insecurity, and a higher likelihood of experiencing significant psychological distress. Our PSM balanced these variables; yet, a higher incidence of mental health issues in the back pain group persisted, underscoring the profound impact of chronic pain on mental health during the pandemic36,37.

The implications for healthcare policy and practice are substantial. Integrating mental health support with chronic pain management is imperative, particularly during public health crises. Telehealth options can mitigate the barriers to care, while routine mental health screenings can help identify and address issues early38. Developing comprehensive care models that combine physical rehabilitation with psychological support is essential for improving patient outcomes. To comprehend the long-term effect of the COVID-19 pandemic on mental health in individuals with chronic pain, future research should concentrate on longitudinal studies. Randomized controlled trials investigating integrated care models can provide valuable insights into optimal strategies for managing both physical and psychological distress. The persistence of mental health issues beyond the acute phase of the pandemic highlights the need for sustained support for this vulnerable population.

The COVID-19 pandemic has undoubtedly left an indelible mark on global health, emphasizing the critical interplay between physical and mental health. While the acute phase of the pandemic may have passed, this study provides valuable insights that remain relevant for future public health crises. Chronic back pain, a prevalent and often debilitating condition, has been demonstrated to markedly elevate the risk of depression and anxiety, particularly during health emergencies such as the COVID-19 pandemic. A major takeaway from this study is the heightened vulnerability of patients with chronic back pain to psychiatric disorders in the context of a pandemic. The findings highlight that during the COVID-19 pandemic, patients with chronic back pain experienced considerably elevated rates of depression and anxiety in contrast to those without back pain. This suggests that the compounded stress of managing chronic pain and navigating the uncertainties of a pandemic can severely affect mental health. Therefore, although the immediate threat of COVID-19 has subsided, the insights gained from this study underscore the need for preparedness in addressing mental health during future pandemics. Future infectious disease outbreaks are likely; thus, understanding the specific needs of patients with chronic conditions during such times is crucial. Additionally, public health policies should emphasize the importance of mental healthcare for individuals with chronic conditions during pandemics. This could involve regular mental health screenings for patients with chronic pain, increasing awareness about the potential psychological impacts of chronic pain during stressful times, and ensuring that mental health resources are readily available and accessible. By addressing these mental health challenges proactively, healthcare systems can better support patients with chronic pain in case of future pandemics, ultimately improving their overall well-being and resilience.

Limitations

This study has several limitations that must be acknowledged. First, back pain was defined based on diagnoses made at least twice a year in outpatient or inpatient settings. This broad definition did not subclassify back pain into specific diagnoses, such as herniated disc, spinal stenosis, or vertebral fracture; this could have provided more detailed insights into the different types of back pain and their specific associations with psychiatric conditions. Second, this study did not specify the degree of back pain or track detailed treatment histories. This lack of granularity means that variations in the intensity of back pain and the types of treatments received (e.g., pharmacological vs. non-pharmacological interventions) were not accounted for, which could have influenced the psychological outcomes. Third, having relied on ICD-10 codes for identifying cases of depression and anxiety might not have captured all instances of these conditions, especially if patients did not seek medical help or were not formally diagnosed. Moreover, the study period overlapped with the peak of the COVID-19 pandemic, which introduced various external stressors that could independently affect mental health, making it challenging to isolate the impact of back pain. Fourth, the exclusion of certain patients, such as those with other neurological diseases, trauma, infections, or cancer, and those with missing data, could have introduced selection bias. This affects the “extent to which the findings can be applied to the wider population” of those with back pain. Fifth, the current retrospective design relies on existing medical records, which can be subject to inaccuracies or incomplete data. Prospective studies with more detailed data collection and longitudinal follow-up would be beneficial to validate and expand upon these findings.

Conclusion

Our study highlights the increased risk for depression and anxiety in patients with back pain during the COVID-19 pandemic. These findings emphasize the critical need for integrated healthcare frameworks that address both physical and mental health, particularly during public health crises. Ongoing research and targeted interventions are essential for improving the well-being of and reducing the healthcare burden on individuals with chronic pain. The lessons learned from this pandemic should inform future healthcare strategies to better support the mental and physical health of patients with chronic conditions.