With the increasing demand for precision agriculture and sustainable land management, it is crucial to quickly and accurately predict soil properties. However, there are still challenges in predicting large-scale soil properties. This study proposes a new convolutional neural network architecture (MCA-CNN) combined with visible and near-infrared spectroscopy for predicting soil properties. The architecture introduces a multi-scale channel attention mechanism, aiming to more effectively capture complex features in the spectrum. The performance of the MCA-CNN model was tested on a large-scale dataset and compared with partial least squares (PLS), extreme gradient boosting tree (XGBoost), and conventional convolutional neural network (CNN) models. The predictive performance of different models in organic carbon (OC), nitrogen (N), pH, Clay, Salt, and Sand was analyzed. The results showed that the MCA-CNN model had the best predictive performance on all soil properties, achieving the lowest root mean square error (RMSE) and the highest coefficient of determination (R2), the R2 of OC, N, pH, Clay, Silt, and Sand are 0.95, 0.93, 0.95, 0.80, 0.58, 0.64, respectively. The RMSE of OC, N, pH, Clay, Silt, and Sand are 16.60 g kg−1, 0.96 g kg−1, 0.31, 4.89 %, 8.27 %, and 11.61 %, respectively. Further research has found that soil types (mineral soil and organic soil) affect the predictive performance of OC. It is necessary to distinguish between mineral soil and organic soil when predicting soil OC content. In addition, the effectiveness of the model transfer strategy was explored for situations with small soil sample sizes. By fine-tuning the pre-trained model, the performance of the model can be significantly improved, which provides a feasible solution for predicting soil properties in situations of data scarcity. In summary, this study not only confirms the potential application of deep learning in the field of soil science, but also provides new technological avenues for future soil management and agricultural practices.