Rapid, accurate and non-destructive acquisition of soil total nitrogen (TN) content in the black soil zone is significant for achieving precise fertilization. In this study, the soil types of corn and soybean fields in Jilin Agricultural University, China, were selected as the study area. A total of 162 soil samples were collected using a five-point mixed sampling method. Then, spectral data were obtained and the noisy edge were initially eliminated. Subsequently, the denoised spectral data underwent smoothing by using the Savitzky–Golay (SG) method. After performing the first-order difference (FD) and second-order difference (SD) transformations on the data, it was input to the model. In this study, a hybrid deep learning model, CBiResNet-BiLSTM, was designed for precise prediction of soil TN content. This model was optimized based on ResNet34, and its capabilities were enhanced by incorporating CBAM in the residual module to facilitate additional eigenvalue extraction. Also, Bidirectional Long Short-Term Memory (BiLSTM) was integrated to enhance model accuracy. Besides, partial least squares regression (PLSR), random forest regression (RFR), support vector machine regression (SVR), and back propagation neural network (BP), as well as ResNet(18, 34, 50, 101, 152) models were taken for comparative experiments. The results indicated that the traditional machine learning model PLSR achieved good performance, with R2 of 0.883, and the hybrid deep learning model CBiResNet-BiLSTM had the best inversion capability with R2 of 0.937, with the R2 being improved by 5.4%, compared with the PLSR model. On this basis, we present the LUCAS dataset to demonstrate the generalisability of the model. Therefore, the CBiResNet-BiLSTM model is a fast and feasible hyperspectral estimation method for soil TN content.Graphical abstract