Heavy metal contamination of soils has been a long-standing environmental problem in many parts of the world, and poses enormous threats to ecosystem and human health. Speciation of heavy metals in soils is crucial to assessing environmental risks from contaminated soils. In this study, total concentrations and speciation of As, Cd, Cr, Cu, Mn, Ni, Pb, and Zn were measured for agricultural soils near mines along the Diaojiang River in Guangxi Zhuang Autonomy Region, China. The sources of heavy metals in soils also were identified to assess their effect on speciation distribution of soil heavy metals. Furthermore, the speciation distribution of Cd and Zn, main soil heavy metal pollutants, in dry land and paddy soils were compared. Results showed that there were two severely polluted regions near mine area reaching alarming pollution level. As, Cd, Pb, and Zn were more affected by mining activities, showing very strong pollution level in soils. The mean percentage of exchangeable and carbonate fraction was highest and up to 46.8 % for Cd, indicating a high environmental risk. Greater bioavailable fractions of As, Cd, Cu, Mn, Pb, and Zn were found in soils heavily polluted by mining activities, whereas Cr and Ni as geogenic elements in the stable residual fraction. In addition, in the dry land soils, reducible fraction proportion of Cd was higher than that in the paddy soils, whereas exchangeable and carbonate fraction of Cd was lower than that in the paddy soils. Oxidizable fraction of Zn was higher in the paddy soils than that in the dry land soils. The results indicate that the sources of soil heavy metals and land types affect heavy metal speciation in the soil and are significant for environmental risk assessment of soil heavy metal pollutions.