Accurately and reliably predicting the drift capacity (DC) of concrete columns is crucial for the seismic design and damage evaluation of structures. Despite precast concrete columns (PCCs) being applied to seismic zone, the method for predicting the DC of PCCs is still scarce owing to its high complexity. This study aims to develop a machine learning-based model for predicting the DC of PCCs using eXtreme Gradient Boosting (XGBoost) algorithm. A DC database of PCCs was assembled from existing literature which involves 177 flexural-dominant specimens with 44 features. A model establishment procedure was carried out to develop XGBoost models, including data cleaning, feature selection, and hyperparameter optimization. The models with and without feature selection were then validated by test results, and the former as the proposed model was further compared with existing empirical formulas and explained by global interpretation, individual interpretation, and feature dependency using SHapley Additive exPlanations (SHAP). Results show that XGBoost algorithm can develop adequate models to predict the DC of PCCs with high accuracy and great reliability. The feature selection method is effective to identify 11 dominant features and delete the rest for the proposed model. The empirical formulas are not suitable to directly predict the DC of PCCs. Global interpretation presents the influence of the 11 dominant features on the DC of PCCs. Feature dependency proves that there are high dependencies between these features. This study firstly develops special models for predicting the DC of PCCs using a machine learning approach, as well as systematically identifies and discusses the effects of various features on the DC of PCCs.