Soil salinization threatens agricultural productivity, leading to desertification and land degradation. Given the challenges of conducting labor-intensive and expensive field studies and laboratory analyses on a large scale, recent efforts have focused on leveraging remote sensing techniques to study soil salinity. This study assesses the importance of soil salinity indices’ derived from remotely sensed imagery. Indices derived from Landsat 8 (L8) and Sentinel 2 (S2) imagery are used in Random Forest (RF), eXtreme Gradient Boosting (XGBoost), Decision Tree (DT), and Support Vector Machine (SVR) are associated with the electrical (EC) conductivity of 280 soil samples across 24,000 hectares in Northeast Iran. The results indicated that the DT is the best-performing method (RMSE = 12.25, MAE = 2.15, R2 = 0.85 using L8 data and RMSE = 10.9, MAE = 2.12, and R2 = 0.86 using S2 data). Also, the results showed that Multi-resolution Valley Bottom Flatness (MrVBF), moisture index, Topographic Wetness Index (TWI), and Topographic Position Indicator (TPI) are the most important salinity indices. Subsequently, a time series analysis indicated a reduction in salinity and sodium levels in regions with installed drainage networks, underscoring the effectiveness of the drainage system. These findings can assist decision-making about land use and conservation efforts, particularly in regions with high soil salinity.