The evaluation of tunnel service conditions is a core problem in the maintenance of tunnel structures during their life cycles. To address this problem, machine learning algorithms were applied to the National Tunnel Inventory (NTI) database of the Federal Highway Administration of the United States to predict the service states of the structural, civil, and non-structural sections of a tunnel, respectively. The results indicate that ensemble learning algorithms such as Light Gradient Boosting Machine (LGBM) and Random Forest outperform Support Vector Machine, Multi-Layer Perceptron, Decision Tree, and K-Nearest Neighbor in solving imbalanced classification problems presented in the NTI database. The machine learning models established using the LGBM algorithm exhibited prediction accuracies of 90.9%, 96.4%, and 77.3% for the structural, civil, and non-structural sections, respectively. The importance sorting of features influencing the tunnel’s service state was then performed based on the LGBM model, revealing that the features with a significant impact on the service states of the structural, civil, and non-structural sections are service time, tunnel length and width, geographic position (longitude and latitude), minimum vertical clearance, annual average daily traffic (AADT), and annual average daily truck traffic (AADTT). Data-driven LGBM models identified human factors such as AADT and AADTT as key features influencing the service states of tunnels’ structural sections, and these factors should be taken into consideration in further research to elucidate the potential physical mechanisms.