The aim of the study was to investigate influence of an industrialized environment on the accumulation of heavy metals in agricultural soils. Seventy soil samples collected from surface layers (0-20 cm) and horizons of five selected pedons in the vicinity area of petrochemical complex in Guangzhou, China were analyzed for Zn, Cu, Pb, Cd, Hg and As concentrations, the horizontal and vertical variation of these metals were studied and geographic information system (GIS)-based mapping techniques were applied to generate spatial distribution maps. The mean concentrations of these heavy metals in the topsoils did not exceed the maximum allowable concentrations in agricultural soil of China with the exception of Hg. Significant differences between land-use types showed that Cu, Pb, Cd, Hg and As concentrations in topsoils were strongly influenced by agricultural practices and soil management. Within a radius of 1,300 m there were no marked decreasing trends for these element concentrations (except for Zn) with the increase of distance from the complex boundary, which reflected little influence of petroleum air emission on soil heavy metal accumulation. Concentrations of Zn, Cu, Pb, Cd, Hg and As in the five pedons, particularly in cultivated vegetable field and orchard, decreased with soil depth, indicating these elements mainly originated from anthropogenic sources. GIS mapping was a useful tool for evaluating spatial variability of heavy metals in the affected soil. The spatial distribution maps allowed the identification of hot-spot areas with high metal concentration. Effective measures should be taken to avoid or minimize heavy metal further contamination of soils and to remediate the contaminated areas in order to prevent pollutants affecting human health through agricultural products.