The invention relates to a pickling inhibitor for steels, in particular to a triazole compound pickling inhibitor for steels and its application, which comprises one or more than one combination from 1-(4, 5-dihydro-3-(4-fluorobenzene pyrazol)-1-group)-2-(1 hydro-1, 2, 4-triazole-1-group) ethyl ketone, 1-(4, 5-dihydro-3-(4-chlorophenyl pyrazol)-1-group)-2-(1 hydro-1, 2, 4- triazole-1-group) ethylketone, 1-(4, 5-dihydro-3-(2, 4-dichlorophenyl pyrazol)-1-group)-2-(1 hydro-1, 2, 4-triazole-1-group)ethyl ketone, 1-(4, 5-dihydro-3-phenyl pyrazol-1-group)-2-(1 hydro-1, 2, 4-triazole-1-group). The inhibitor of the invention is able to prevent over etching of substrate metal and over consumption of acid solution during the pickling, which has low consumption, high efficiency and strong continuous action, easy synthesization, no harm and toxicity, and complies with the development tend of inhibitor, therefore, has good application prospect.