Objective To investigate the clinical characteristics and drug sensitivity of patients with Gram-negative bacilli infection, and evaluate the risk factors related to infection, so as to provide a theoretical basis for clinical prevention and treatment of hospital-acquired infection. Methods The complete medical records of 181 patients with Gram-negative bacilli infection in the Department of Respiratory and Critical Care Medicine of Beijing Anzhen Hospital from January 2018 to September 2021 were retrospectively collected. They were divided into a Carbapenem-resistant Gram-negative bacillus (CR-GNB) group and a Carbapenem-sensitive Gram-negative bacillus (CS-GNB) group according to their different sensitivities to carbapenems. Results A total of 238 strains of Gram-negative bacilli were detected, including 108 strains of CR-GNB and 130 strains of CS-GNB. Acinetobacter baumannii was the most common, followed by Pseudomonas aeruginosa, Klebsiella pneumoniae, Enterobacter cloacae, Escherichia coli and Serratia marcescens. Univariate analysis showed that the risk factors of CR-GNB infection were heart disease and cerebrovascular disease, receiving invasive mechanical ventilation, deep venous catheterization and indwelling catheter, hypoproteinemia, renal insufficiency, pre-infection exposure to tigecycline, carbapenems, vancomycin, polymyxin, and combined use of antibiotics. Hypoproteinemia and deep venous catheterization were independent risk factors for CR-GNB infection. The resistance rates of CR-GNB to cefepime, ceftazidime, levofloxacin and ciprofloxacin were 88.0%, 88.0%, 86.1% and 75.0%, respectively. The resistance rate to cefuroxime, amika, ceftriaxone, gentamicin and cotrimoxazole was low, and the resistance rate to ceftazidime avibactam was the lowest (3.7%). Except tetracycline, tigecycline, cefuroxime, polymyxin, cefazolin and ampicillin, the drug resistance rates of CR-GNB group to other antibacterial drugs were higher than those of CS-GNB group, and the differences were statistically significant (P<0.05). The all-cause mortality in CR-GNB group (42.4%) was significantly higher than that in CS-GNB group (6.3%), and the difference was statistically significant (P<0.05). Conclusions The disease burden caused by CR-GNB infection is becoming heavier and heavier, which has a serious impact on the prognosis of hospitalized patients. The increase of antibiotic resistance leads to poor efficacy of antimicrobial therapy. Therefore, early identification of high-risk groups of infection and reasonable and prudent application of antimicrobial therapy can achieve the purpose of reducing the mortality of infection and improving the prognosis of hospitalized patients.