To study the complex migration and transformation of trace metal(loid)s in a soil–wheat system, 225 pairs of surface soil and wheat samples were collected from the Taihang Mountains front plain, Hebei Province, northern China. The concentrations and pools (F1, water-soluble; F2, exchangeable; F3, carbonate-bound; F4, humic acid-bound; F5, Fe–Mn oxide-bound; F6, organic matter-bound; and F7, residual) of Cu, Pb, Zn, Cr, Ni, Cd, and Hg, and the soil properties of the samples were analyzed. The sum of the F1, F2, F3, and F4 proportions of Cd was higher than that of the other trace metal(loid)s, implying that Cd has greater mobility. We found a significant correlation (p < 0.01) between pools of trace metal(loid)s and the corresponding elements in wheat and a significant correlation (p < 0.01) between pools of trace metal(loid)s and pH, cation exchange capacity, clay, and total organic carbon. The results of principle component analysis (PCA)indicated that Cr, Ni and As mainly come from natural sources and Cu, Pb, Zn, and Cd from mixed groups related to farming and industry, Hg come from the coal burning. In addition, the total target hazard quotients showed the presence of harmful levels of trace metal(loid)s in wheat.