IntroductionFemoral fractures in elderly individuals present significant health challenges, often leading to increased morbidity and mortality. Acute kidney injury (AKI) during hospitalization further complicates outcomes, yet the interaction between AKI severity and comorbidities, as quantified by the Charlson Comorbidity Index (CCI), remains poorly understood in this population. This study aimed to assess the associations between AKI severity and the CCI and between AKI severity and one-year mortality postfemoral fracture in elderly patients.MethodologyThis study utilized data from the Multiparameter Intelligent Monitoring in Intensive Care (MIMIC-IV) database and focused on elderly patients (> 65 years) admitted with hip fractures. Patients were categorized based on AKI stage according to the KDIGO criteria and CCI scores. The primary outcome assessed was all-cause mortality one year after hospital discharge. The statistical analyses included logistic regression, Cox proportional hazards regression and moderation analysis with the Johnson–Neyman technique to evaluate associations between AKI and long-term mortality and between the CCI and long-term mortality.ResultsThe analysis included 1,955 patients and revealed that severe AKI (stages 2 and 3) was independently associated with increased one-year mortality. Notably, the CCI moderated these associations significantly. A lower CCI score was significantly correlated with greater mortality in patients with severe AKI. The impact of severe AKI was greater for those with a CCI as low as 3, more than doubling the observed one-year mortality rate. In contrast, higher CCI scores (≥8) did not significantly impact mortality. Sensitivity analyses supported these findings, underscoring the robustness of the observed associations.ConclusionThis study elucidates the complex interplay between AKI severity and comorbidities and long-term mortality in elderly hip fracture patients. These findings underscore the importance of considering both AKI severity and comorbidity burden in prognostic assessments and intervention strategies for this vulnerable population. Targeted interventions tailored to individual risk profiles may help mitigate the impact of AKI on mortality outcomes, ultimately improving patient care and outcomes. Further research is warranted to explore the underlying mechanisms involved and refine risk stratification approaches in this population.