The relative importance of deterministic and neutral processes on community assembly is currently a topic of much debate among ecologists. Analyzing species-environment associations is an effective way to assess the importance of deterministic process such as niche differentiation, but both habitat association and dispersal limitation can produce similar patterns of spatial aggregation in species. Therefore, it is crucial to control for the impact of dispersal limitation on species distributions when analyzing species-environment associations. We sampled soil with high resolutions in a 24 ha stem-mapped subtropical forest and tested plantsoil associations. We controlled for the influence of dispersal limitation by employing the homogeneous Thomas process to simulate the effect of dispersal limitation on the aggregation of tree species. After controlling for the effect of dispersal limitation, we found that the spatial heterogeneity of soil properties was associated with distributions of 88.2% (90 of 102 species) of tree species in this subtropical forest. Furthermore, not only did soil properties influence the distribution of tree species, but also tree species tended to affect properties of the soil around them. The soil factors most strongly influencing species distributions were TC, TN, TP, K, Mg, Si, soil moisture, and bulk density. We found the spatial heterogeneity of soil properties to be strongly associated with tree species distributions. Niche partitioning of soil gradients contributed substantially to species coexistence in this subtropical forest.