The three-dimensional quantitative stucture-activity relationship (3D-QSAR) of benzimidazole derivatives as corrosion inhibitors in hydrochloric acid was studied via comparative molecular field analysis (CoMFA) and comparative molecular similarity indices analysis (CoMSIA) methods, and the stability and predictive ability of the 3D-QSAR model were examined by "leave-one-out" (LOD) cross-validation method. The results indicate that steric, electrostatic and hydrogen-bond donorelectron donor) fields are main factors to inhibition performance. CoMFA (q(2) = 0.541, R-2 = 0.996) and CoMSIA (q(2) = 0.581, R-2 = 0.987) models have better statistical stability and predictive ability. New benzimidazole molecules with excellent corrosion inhibition properties were designed by 3D-QSAR contour maps. These results suggest that it is available to introduce 3D-QSAR methods into the field of corrosion inhibitor, and the method provides a new train of thought for the research and development of corrosion inhibitor in the oil and gas field.