Extensively drug-resistant Acinetobacter baumannii (XDRAB) has become a significant pathogen in hospital environments, particularly in intensive care units (ICUs). XDRAB's resistance to conventional antimicrobial treatments and ability to survive on various surfaces pose a substantial threat to patient health, often resulting in severe infections such as ventilator-associated pneumonia (VAP) and bloodstream infections (BSI). We retrospectively analyzed clinical data from 559 patients with XDRAB infections admitted to Jinhua Central Hospital between January 2021 and December 2023. Patients were randomly divided into a training set (391 cases) and a testing set (168 cases). Variables were selected using Lasso regression and logistic regression analysis, and a predictive model was constructed and validated internally and externally. Model performance and clinical utility were evaluated using the Hosmer-Lemeshow test, C-index, ROC curve, decision curve analysis (DCA), and clinical impact curve (CIC). Lasso regression analysis was used to screen 35 variables, selecting features through 10-fold cross-validation. We chose lambda.1se=0.03450 (log(lambda.1se)=-3.367), including 10 non-zero coefficient features. These features were then included in a multivariate logistic regression analysis, identifying 8 independent risk factors for XDRAB infection: ICU stay of 1-7 days (OR=3.970, 95%CI=1.586-9.937), ICU stay >7 days (OR=12.316, 95%CI=5.661-26.793), hypoproteinemia (OR=3.249, 95%CI=1.679-6.291), glucocorticoid use (OR=2.371, 95%CI=1.231-4.564), urinary catheterization (OR=2.148, 95%CI=1.120-4.120), mechanical ventilation (OR=2.737, 95%CI=1.367-5.482), diabetes mellitus (OR=2.435, 95%CI=1.050-5.646), carbapenem use (OR=6.649, 95%CI=2.321-19.048), and β-lactamase inhibitor use (OR=4.146, 95%CI=2.145-8.014). These 8 factors were used to construct a predictive model visualized through a nomogram. The model validation showed a C-index of 0.932 for the training set and 0.929 for the testing set, with a Hosmer-Lemeshow test p-value of 0.47, indicating good calibration. Furthermore, the DCA curve demonstrated good clinical decision-making performance, and the CIC curve confirmed the model's reliable clinical impact. Regression analysis identified ICU stay duration, hypoproteinemia, glucocorticoid use, urinary catheterization, mechanical ventilation, diabetes mellitus, carbapenem use, and β-lactamase inhibitor use as independent risk factors for XDRAB infection. The corresponding predictive model demonstrated high accuracy and stability.