- 1The First Affiliated Hospital of Anhui Medical University, Hefei, China
- 2The First Affiliated Hospital of University of Science and Technology of China, Hefei, China
- 3The First People’s Hospital of Hefei, Hefei, China
Background: Pneumocystis jirovecii pneumonia (PJP) remains a life-threatening opportunistic infection with high mortality, particularly among non-HIV immunocompromised patients. Identifying accessible and reliable prognostic biomarkers is of major clinical importance.
Objectives: To investigate the prognostic value of dynamic changes in the neutrophil-to-lymphocyte ratio (NLR), monocyte-to-lymphocyte ratio (MLR), and platelet-to-lymphocyte ratio (PLR) among patients with PJP.
Methods: A retrospective study of 165 PJP patients was conducted at two tertiary hospitals. Post-diagnostic trajectories of NLR, MLR, and PLR were analyzed using group-based trajectory modeling (GBTM). Associations between these trajectories and 28-day survival were assessed by Cox proportional hazards regression and Kaplan–Meier survival analysis.
Results: Three distinct NLR trajectories were identified: continuously decreasing (15%), stable (68%), and continuously increasing (17%). Patients with continuously decreasing NLR had significantly lower 28-day survival (P < 0.05). The log-transformed NLR (logNLR) trajectory was an independent prognostic factor, whereas logMLR and logPLR were not significantly associated with outcomes.
Conclusion: The temporal trajectory of logNLR is strongly associated with 28-day survival in PJP. A persistently declining logNLR predicts poor prognosis, suggesting its utility in early risk stratification.
Introduction
Pneumocystis jirovecii pneumonia (PJP) is a major opportunistic and life-threatening infection that primarily affects immunocompromised individuals or those undergoing long-term immunosuppressive or corticosteroid therapy (1–3). Although prophylactic treatment has reduced AIDS-related PJP, the incidence among non-HIV immunocompromised hosts continues to rise, accompanied by high mortality rates (4–6).
Inflammatory responses and immune function play crucial roles in PJP pathogenesis (7, 8). However, no specific biomarkers have been consistently associated with prognosis. Simple hematological ratios—such as neutrophil-to-lymphocyte ratio (NLR), monocyte-to-lymphocyte ratio (MLR), and platelet-to-lymphocyte ratio (PLR)—offer easily accessible, cost-effective, and repeatable markers reflecting the balance between innate and adaptive immunity. Nevertheless, few studies have examined their temporal evolution in PJP (9, 10).
To address this gap, we applied group-based trajectory modeling (GBTM) to analyze longitudinal logNLR, logMLR, and logPLR data from PJP patients, identifying trajectory groups and their association with 28-day survival (11, 12).
Materials and methods
Study design and population
A retrospective cohort of 165 patients diagnosed with Pneumocystis jirovecii pneumonia (PJP) between October 2020 and August 2025 was included. Diagnostic criteria: clinical symptoms (fever, cough, dyspnea), radiologic findings of pulmonary infiltrates, and positive P. jirovecii detection in bronchoalveolar lavage fluid via metagenomic next-generation sequencing (mNGS) (13). Exclusion: patients <18 years, HIV-positive status, and pregnancy or lactation.
Ethical approval was granted by both hospital committees. Written informed consent was obtained from all participants.
Data collection
Clinical variables included demographics, comorbidities, hospital and ICU stays, cute physiology and chronic health evaluation II (APACHE II) scores and sequential Organ Failure Assessment (SOFA) scores, treatments, and laboratory indices (WBC, NEUT, LYM, MONO, PLT, CRP, PT, FIB, LDH, etc.). Dynamic values of neutrophil-to-lymphocyte ratio (NLR), monocyte-to-lymphocyte ratio (MLR), and platelet-to-lymphocyte ratio (PLR) were recorded up to 28 days post-diagnosis.
Outcome measures
The primary endpoint was 28-day survival after PJP diagnosis.
Statistical analysis
Continuous variables were assessed for normality using the Shapiro–Wilk test. Between-group comparisons used t-test or Mann–Whitney U-test. Categorical variables were compared by chi-square or Fisher’s exact test.
Group-based trajectory modeling was used to model trajectories for logNLR, logMLR, and logPLR in R (v4.3.2). The best-fitting model was selected based on AIC/BIC. Associations with mortality were analyzed via Cox regression and Kaplan–Meier analysis. Statistical significance was defined as two-sided P < 0.05.
Results
Baseline characteristics
Among 165 Pneumocystis jirovecii pneumonia (PJP) patients (101 male, 64 female), 128 survived and 37 died within 28 days. Non-survivors had longer Intensive Care Unit (ICU) stays, higher cute physiology and chronic health evaluation II (APACHE II) scores and sequential Organ Failure Assessment (SOFA) scores, and were more likely to receive vasoactive therapy. Laboratory markers including PT, D-dimer, CRP, LDH, and PCT were elevated in non-survivors, whereas lymphocyte and monocyte counts were lower (Table 1).
Table 1. Baseline characteristics of survivors and non-survivors with Pneumocystis jirovecii pneumonia (PJP).
LogNLR trajectories
Three logNLR trajectories were identified: continuously decreasing (15%), stable (68%), and increasing (17%). Kaplan–Meier survival analysis revealed significantly lower survival in the decreasing group (P = 0.014) (Figures 1, 2).
LogMLR and logPLR trajectories
Distinct logMLR and logPLR patterns were observed but showed no significant association with survival (logMLR P = 0.84; logPLR P = 0.29) (Figures 3–6).
Clinical correlates
Patients in the decreasing logNLR group had higher SOFA scores and different corticosteroid usage patterns (P < 0.05) (Table 2).
Discussion
Pneumocystis jirovecii pneumonia (PJP) remains a potentially fatal opportunistic infection, particularly among patients with non-acquired immunodeficiency syndrome (NADIS) (14–16). Compared with AIDS-related PJP, NADIS-associated PJP is characterized by a more acute onset, rapid clinical deterioration, and substantially higher mortality rates, which are often attributed to delayed diagnosis and insufficient targeted antimicrobial therapy (6, 17–19). Previous studies have demonstrated that PJP in non-HIV populations is frequently accompanied by excessive inflammatory responses within the alveolar microenvironment, leading to impaired gas exchange and subsequent multi-organ dysfunction (20–23). In this context, identifying reliable and easily accessible biomarkers for dynamic assessment of inflammatory and immune status is of critical importance. Although molecular diagnostic technologies have significantly improved the detection of P. jirovecii (24, 25), robust indicators for treatment monitoring and prognostic stratification are still lacking (19, 26–28).
Recently, complete blood count (CBC)-derived inflammatory indices, including neutrophil-to-lymphocyte ratio (NLR), monocyte-to-lymphocyte ratio (MLR), and platelet-to-lymphocyte ratio (PLR), have attracted increasing attention due to their cost-effectiveness and clinical feasibility (29–34). These indices reflect the balance between innate and adaptive immunity and have shown prognostic value in various inflammatory and infectious diseases. However, their role in PJP, especially from a longitudinal perspective, remains insufficiently explored (35).
Our study demonstrated that baseline NLR was significantly higher in non-survivors than in survivors, indicating that an excessive inflammatory burden at admission is associated with poor short-term outcomes. More importantly, through group-based trajectory modeling (GBTM) of log-transformed NLR values, we identified three distinct dynamic patterns: sustained decline, stable trajectory, and sustained increase. Unexpectedly, patients in the sustained decline trajectory group exhibited the worst survival outcomes, whereas those with sustained increase trajectories showed the most favorable prognosis. This paradoxical phenomenon highlights that not only the absolute value of NLR, but also its temporal evolution, is crucial for outcome prediction.
The biological explanation for this finding may be multifactorial. Neutrophils play a central role in the early innate immune response against pathogens, while lymphocytes, particularly CD4+ T cells, are indispensable for effective clearance of P. jirovecii. An elevated NLR at disease onset likely reflects a hyperinflammatory state combined with impaired adaptive immunity (36, 37). However, a rapid decline in NLR during disease progression may represent immune exhaustion, bone marrow suppression, extensive lymphocyte apoptosis, or immune reconstitution inflammatory syndrome (IRIS) (28). These processes may result in functional immune collapse, impaired pathogen clearance, and an increased risk of fatal outcomes.
In addition, patients in the sustained decline group exhibited significantly higher sequential Organ Failure Assessment (SOFA) scores, suggesting more severe organ dysfunction and systemic involvement. Differences in glucocorticoid use among trajectory groups further reflect the complex immunomodulatory effects of corticosteroids in PJP, which may exert both beneficial and detrimental effects on immune homeostasis, depending on timing, dose, and patient-specific immune status.
Of note, MLR and PLR, either at baseline or during dynamic follow-up, were not significantly associated with 28-day mortality in our cohort. This finding suggests that NLR, integrating signals from both neutrophils and lymphocytes, may serve as a more sensitive and disease-specific marker for immunoinflammatory imbalance in PJP.
To the best of our knowledge, this is the first study to systematically evaluate the prognostic value of dynamic NLR trajectories in patients with PJP. Our findings provide a novel framework for early risk stratification and individualized clinical management. Dynamic monitoring of NLR trajectories may help clinicians to identify high-risk patients at an earlier stage, optimize immunomodulatory strategies, and allocate critical care resources more precisely.
Several limitations should be acknowledged. First, this was a retrospective with a relatively limited sample size, which may introduce selection bias. Second, follow-up was restricted to 28 days, and long-term outcomes were not assessed. Third, laboratory testing intervals were not completely standardized, although this limitation was partially mitigated by trajectory modeling techniques. Finally, external validation in large-scale, prospective, multicenter cohorts is required before these findings can be translated into routine clinical practice.
Conclusion
In patients with Pneumocystis jirovecii pneumonia, the dynamic trajectory of logNLR is strongly associated with short-term survival. A persistently decreasing logNLR indicates poor prognosis and warrants closer clinical monitoring and supportive interventions.
Data availability statement
The original contributions presented in this study are included in this article/supplementary material, further inquiries can be directed to the corresponding authors.
Ethics statement
The studies involving humans were approved by The First Affiliated Hospital of University of Science and Technology of China, Hefei, China. 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
FY: Investigation, Formal analysis, Writing – review & editing, Methodology, Writing – original draft, Data curation, Resources, Project administration. YY: Writing – review & editing, Supervision, Project administration, Methodology, Validation, Data curation, Investigation, Formal analysis, Software. MS: Resources, Software, Data curation, Project administration, Writing – review & editing, Formal analysis, Validation, Methodology, Supervision.
Funding
The author(s) declared that financial support was not received for this work and/or its publication.
Conflict of interest
The author(s) declared that this work 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 author(s) declared that generative AI was not used in the creation of this manuscript.
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. Rhoads S, Maloney J, Mantha A, Van Hook R, Henao-Martínez AF. Pneumocystis jirovecii pneumonia in HIV-negative, non-transplant patients: epidemiology, clinical manifestations, diagnosis, treatment, and prevention. Curr Fungal Infect Rep. (2024). 18:125–35. doi: 10.1007/s12281-024-00482-8
2. Xue T, Kong X, Ma L. Trends in the epidemiology of pneumocystis pneumonia in immunocompromised patients without HIV infection. J Fungi (Basel). (2023) 9:812. doi: 10.3390/jof9080812
3. Vargas Barahona L, Molina KC, Pedraza-Arévalo LC, Sillau S, Tagawa A, Scherger S, et al. Previous corticosteroid exposure associates with an increased Pneumocystis jirovecii pneumonia mortality among HIV-negative patients: a global research network with a follow-up multicenter case-control study. Ther Adv Infect Dis. (2023) 10:20499361231159481. doi: 10.1177/20499361231159481
4. Ibrahim A, Chattaraj A, Iqbal Q, Anjum A, Ur Rehman ME, Aijaz Z, et al. Pneumocystis jiroveci pneumonia: a review of management in human immunodeficiency virus (HIV) and non-HIV immunocompromised patients. Avicenna J Med. (2023) 13:23–34. doi: 10.1055/s-0043-1764375
5. Taniguchi J, Aso S, Jo T, Matsui H, Fushimi K, Yasunaga H. Prognostic factors of in-hospital mortality in patients without human immunodeficiency virus infection with pneumocystis pneumonia: a retrospective cohort study. Intern Med. (2025) 64:651–7. doi: 10.2169/internalmedicine.4090-24
6. Lee J, Eom JS, Shi HJ, Hong SH, Park Y. Comparison of clinical characteristics of pneumocystis pneumonia with or without human immunodeficiency virus: a prognosis contrary to initial clinical features. Yonsei Med J. (2025) 66:722–30. doi: 10.3349/ymj.2025.0058
7. Peng Y, Wu Q, Zhou Q, Yang Z, Yin F, Wang L, et al. Identification of immune-related genes concurrently involved in critical illnesses across different etiologies: a data-driven analysis. Front Immunol (2022) 13:858864. doi: 10.3389/fimmu.2022.858864
8. Yeşildağ M, Özkan Bakdık B, Balasar B, Eroğlu E. Evaluation of the relationship between biomarkers and disease severity in patients with community-acquired pneumonia. Eur J Therap. (2024) 30:354–61. doi: 10.58600/eurjther1976
9. Wang D, Guan L, Li X, Tong Z. A combined immune and inflammatory indicator predict the prognosis of severe Pneumocystis jirovecii pneumonia patients: a 12-year, retrospective, observational cohort. BMC Pulm Med. (2024) 24:285. doi: 10.1186/s12890-024-03093-8
10. Aljama C, Núñez A, Esquinas C, Tanash H, Bartošovská E, Torres-Duran M, et al. Routine blood biomarkers and lung disease in patients with Alpha-1 antitrypsin deficiency from the EARCO registry. Respiration. (2025). doi: 10.1159/000548597 [Epub ahead of print].
11. Nagin DS, Odgers CL. Group-based trajectory modeling in clinical research. Annu Rev Clin Psychol. (2010) 6:109–38. doi: 10.1146/annurev.clinpsy.121208.131413
12. Twisk J, Hoekstra T. Classifying developmental trajectories over time should be done with great caution: a comparison between methods. J Clin Epidemiol. (2012) 65:1078–87. doi: 10.1016/j.jclinepi.2012.04.010
13. Maschmeyer G, Helweg-Larsen J, Pagano L, Robin C, Cordonnier C, Schellongowski P. ECIL guidelines for treatment of Pneumocystis jirovecii pneumonia in non-HIV-infected haematology patients. J Antimicrob Chemother. (2016) 71:2405–13. doi: 10.1093/jac/dkw158
14. Mendoza MA, Friedman DZP, Johnson BK, Kremers WK, Razonable RR, Vergidis P. Risk factors and outcomes of Pneumocystis jirovecii pneumonia in kidney transplant recipients: a case-control study of the United States renal data system. Am J Transplant. (2025). doi: 10.1016/j.ajt.2025.12.012 [Epub ahead of print].
15. Wang Y, Lou L, Cong Y, Huang C, Zhou Y, Xu S, et al. The development of a prediction model for in-hospital mortality of Pneumocystis jirovecii pneumonia among kidney transplant recipients based on the trajectory of absolute lymphocyte count. Mycopathologia. (2025) 190:106. doi: 10.1007/s11046-025-01017-6
16. Wang Y, Liu K, Huang C, Lou L, Zhou Y, Li S. Development of a prognostic model for in-hospital mortality in idiopathic membranous nephropathy patients with Pneumocystis jirovecii pneumonia based on persistent lymphopenia. BMC Infect Dis. (2025) 25:1435. doi: 10.1186/s12879-025-11932-0
17. Pates K, Periselneris J, Russell MD, Mehra V, Schelenz S, Galloway JB. Rising incidence of pneumocystis pneumonia: a population-level descriptive ecological study in England. J Infect. (2023) 86:385–90. doi: 10.1016/j.jinf.2023.02.014
18. Franceschini E, Dolci G, Santoro A, Meschiari M, Riccò A, Menozzi M, et al. Pneumocystis jirovecii pneumonia in patients with decompensated cirrhosis: a case series. Int J Infect Dis. (2023) 128:254–6. doi: 10.1016/j.ijid.2022.12.027
19. Peghin M, Fishman JA, Grossi PA. Pneumocystis jiroveci: still troublesome to diagnose and treat. Curr Opin Infect Dis (2025) 38:522–9. doi: 10.1097/QCO.0000000000001155
20. Shi Y, Chen R, Sun H, Xu K, Li Z, Wang M, et al. Prognostic analysis of concurrent Pneumocystis jirovecii pneumonia in patients with systemic lupus erythematosus: a retrospective study. BMC Infect Dis. (2024) 24:874. doi: 10.1186/s12879-024-09757-4
21. Zhang CR, Wang M, Wang L, Liu L, Shen Y-D, Chen R-F, et al. Differential composition of the pulmonary microbiome in HIV-positive versus HIV-negative patients with Pneumocystis jirovecii. PLoS One. (2025) 20:e0334220. doi: 10.1371/journal.pone.0334220
22. Tekin A, Truong HH, Rovati L, Lal A, Gerberi DJ, Gajic O, et al. The diagnostic accuracy of metagenomic next-generation sequencing in diagnosing pneumocystis pneumonia: a systemic review and meta-analysis. Open Forum Infect Dis. (2023) 10:ofad442. doi: 10.1093/ofid/ofad442
23. Shi Y, Chen R, Xu K, Shao C, Liu Y, Huang H. Clinical characteristics and prognostic analysis of concurrent Pneumocystis jirovecii pneumonia in patients with malignancies: a retrospective study. BMC Infect Dis. (2025) 25:1408. doi: 10.1186/s12879-025-11858-7
24. Xin L, Jiao X, Gong X, Yu J, Zhao J, Lv J, et al. Diagnostic value of metagenomic next generation sequencing of bronchoalveolar lavage fluid in immunocompromised patients with pneumonia. Front Cell Infect Microbiol. (2025) 15:1602636. doi: 10.3389/fcimb.2025.1602636
25. Koehler P, Prattes J, Simon M, Haensel L, Hellmich M, Cornely OA. Which trial do we need? Combination treatment of Pneumocystis jirovecii pneumonia in non-HIV infected patients. Clin Microbiol Infect. (2023) 29:1225–8. doi: 10.1016/j.cmi.2023.05.004
26. Li S, Han X, Ma J, Huang GH, Yang ST, Wang CM. Study on mNGS technique in diagnosing Pneumocystis jirovecii pneumonia in non-HIV-infected patients. Infect Drug Resist. (2024) 17:1397–405. doi: 10.2147/IDR.S450878
27. Giacobbe DR, Dettori S, Di Pilato V, Asperges E, Ball L, Berti E, et al. Pneumocystis jirovecii pneumonia in intensive care units: a multicenter study by ESGCIP and EFISG. Crit Care. (2023) 27:323. doi: 10.1186/s13054-023-04608-1
28. Zeng H, Zheng L, Wu D, Yu X, Zhang G, Du J. Exploring immunological determinants and constructing a predictive model for diagnosis of gout: insights into immune biomarkers. J Inflamm Res. (2025) 18:14629–47. doi: 10.2147/JIR.S549357
29. Yende S, Kellum JA, Talisa VB, Peck Palmer OM, Chang CCH, Filbin MR, et al. Long-term host immune response trajectories among hospitalized patients with sepsis. JAMA Netw Open. (2019) 2:e198686. doi: 10.1001/jamanetworkopen.2019.8686
30. Xu H, Wang Y, Sa Q, Zhou Y, Ma F, Zhang P, et al. Associations between dynamic hematological indicators and outcomes in HR-positive, HER2-negative metastatic breast cancer treated with bireociclib or placebo plus fulvestrant: findings from the BRIGHT-2 trial. Breast. (2025) 84:104598. doi: 10.1016/j.breast.2025.104598
31. Lu R, Gao Y, Sun C, Wang M, Huang T, Yang G, et al. The correlation between systemic inflammatory index and rebleeding after bronchial artery embolization: a retrospective cohort study. Int J Emerg Med. (2025) 18:225. doi: 10.1186/s12245-025-00981-6
32. Sun M, Kang H, Luo Y, Zhou Y, Wang Y, Tang F, et al. Enhancing prognostic precision: exploring the role of lung immune prognostic index in immunotherapy-treated soft tissue sarcoma patients-a retrospective study. J Orthop Surg Res. (2025) 20:941. doi: 10.1186/s13018-025-06344-4
33. Tong Y, Li H, Cheng Y, Wang H, Mao M. Novel inflammatory-related indices for screening sarcopenia: insights from a population-based study. Nutrition. (2025) 142:112976. doi: 10.1016/j.nut.2025.112976
34. Zeng H, Gou Y, Qi C, Tan S, Agrafiotis AC, Hong G, et al. Association of peripheral-blood neutrophil-to-lymphocyte ratio with Pneumocystis jirovecii pneumonia in patients with solid tumors: a case-control study. J Thorac Dis. (2025) 17:6099–111. doi: 10.21037/jtd-2025-1295
35. Pan X, Zheng J, Xu J, Pan L, Wang C, Huang X, et al. Clinical characteristics and mortality risk factors in patients with tuberculosis and coincident Pneumocystis jirovecii pneumonia: a retrospective single-center study. Infect Drug Resist. (2025) 18:3535–42. doi: 10.2147/IDR.S530186
36. Srikumar A, Kaltchenko M, Niknejad K, Bao A, McCaffrey T, Kang J. Active rash, interstitial lung disease, and neutrophil to lymphocyte ratio and mortality in dermatomyositis. JAMA Dermatol. (2025) 161:1252–7. doi: 10.1001/jamadermatol.2025.4161
Keywords: neutrophil-to-lymphocyte ratio, platelet-to-lymphocyte ratio, Pneumocystis jirovecii pneumonia, prognosis, trajectory analysis
Citation: Yu F, Ye Y and Shao M (2026) Neutrophil-to-lymphocyte ratio, platelet-to-lymphocyte ratio, and monocyte-to-lymphocyte ratio as prognostic indicators in Pneumocystis jirovecii pneumonia. Front. Med. 13:1763688. doi: 10.3389/fmed.2026.1763688
Received: 09 December 2025; Revised: 04 January 2026; Accepted: 16 January 2026;
Published: 09 February 2026.
Edited by:
Guoxing Wang, Immunology & Inflammation Research Therapeutic Area, United StatesReviewed by:
Mihrican Yeşildağ, Konya Meram State Hospital, TürkiyeWei Zhang, Fable Therapeutics, United States
Copyright © 2026 Yu, Ye and Shao. 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: Min Shao, c2hhb21pbl9haEAxNjMuY29t; Yousheng Ye, eWUueXNAcXEuY29t
Yousheng Ye3*