ObjectiveThis paper aimed to identify the factors related to Carbapenem-resistant Klebsiella pneumoniae (CRKP) infection in neurosurgical patients, and to compare the therapeutic effects of tigecycline versus polymyxin B against CRKP infection, so as to provide a reliable reference for neurosurgery in future prevention and treatment of CRKP infection.MethodsOne hundred and fifty cases of KPN treated in the neurosurgery department of our hospital from January 1, 2019 to December 31, 2021 were selected, 50 of which were found to be infected with CRKP and the other 100 were detected with carbapenem-sensitive Klebsiella pneumoniae (CSKP) by culture, analysis of factors associated with infection with CRKP. Subsequently, CRKP-infected patients were randomized into a group treated with Ti (group Ti) and a group treated with PB (group PB). The clinical efficacy, bacterial clearance, adverse reactions, and pre- and post-treatment hepatorenal function were comparatively analyzed.ResultsBased on the Logistic regression analysis, tracheal intubation (or mechanical ventilation), combination of multiple underlying diseases, presence of impaired consciousness, and use of carbapenem antibiotics are independent risk factors for CRKP infection (P < .05). Ti and PB groups had no evident differences in clinical efficacy and bacterial clearance (P > .05); however, Ti group presented a worse hepatorenal function and a higher incidence of adverse reactions than PB group (P < .05).ConclusionsTracheal intubation (or mechanical ventilation), multiple underlying diseases, consciousness disturbance, and use of carbapenem antibiotics are related factors affecting CRKP infection in neurosurgical patients. Both Ti and PB have excellent therapeutic efficacy, but the former has more obvious toxicity and side effects.