Riparian zones can act as an important sink for various contaminants, including heavy metals. The retention and accumulation of heavy metals in riparian soils varies spatially and is related to many local factors, such as soil properties, topography and land use. However, the relative importance of such factors in determining the heavy metal contamination of riparian soils remains unclear. In this study, we investigated the concentrations of 10 heavy metals (i.e., Ba, Cd, Co, Cr, Cu, Mn, Ni, Pb, Sr and Zn) and their relationships to environmental features in 67 soil samples collected from 26 riparian sites along the Han River, China. Our results showed that there were significant and positive correlations among the concentrations of all heavy metals except for Ba, Mn and Sr. Heavy metal concentrations were, in general, positively associated with conductivity, fine substrate, carbon, nitrogen and phosphorus contents in soils but were negatively related to soil pH and density. Among the topographic conditions studied, elevation and distance from the river mouth were positively associated with the concentrations of Ba, Cd, Cr and Ni in riparian soils. Upland land use had a significant effect on the concentrations of Co, Cu and Zn. Generalized linear models revealed that soil properties, topography and land use together accounted for 11-69% of the variance in single metal concentrations, while redundancy analysis showed that such factors could explain 48% of the variance in overall metal levels. Our findings suggest that heavy metal concentrations in riparian soils are regulated not only by soil properties but also by physical characteristics such as topography and land use.