Portable X-ray fluorescence(pXRF)spectrometry and magnetic susceptibility(MS)via magnetometer have been increasingly used with terrain variables for digital soil mapping.However,this methodology is still emerging in many countries with tropical soils.The objective of this study was to use proximal soil sensor data associated with terrain variables at varying spatial resolutions to predict soil classes using the Random Forest(RF)algorithm.The study was conducted on a 316-ha area featuring highly variable soil classes and complex soil-landscape relationships in Minas Gerais State,Brazil.The overall accuracy and Kappa index were evaluated using soils that were classified at 118 sites,with 90 being used for modeling and 28 for validation.Digital elevation models(DEMs)were created at 5-,10-,20-,and 30-m resolutions using contour lines from two sources.The resulting DEMs were processed to generate 12 terrain variables.Total Fe,Ti,and SiO2 contents were obtained using pXRF,with MS determined via a magnetometer.Soil class prediction was performed using the RF algorithm.The quality of the soil maps improved when using only the five most important covariates and combining proximal sensor data with terrain variables at different spatial resolutions.The finest spatial resolution did not always provide the most accurate maps.The high soil complexity in the area prevented highly accurate predictions.The most important variables influencing the soil mapping were MS,Fe,and Ti.Proximal sensor data associated with terrain information were successfully used to map Brazilian soils at variable spatial resolutions.