The pyrophosphates materials present an important performance in the corrosion inhibition field. In the present work, the corrosive behavior of mild steel in a HCl 1 M solution was evaluated in the presence of two pyrophosphates materials CoSrP2O7 and ZnSrP2O7. These inhibitors have been synthesized by solid state method. X-ray diffraction (XRD), Fourier transform infrared analysis (FTIR), Raman spectroscopy, and the scanning electron microscope (SEM) coupled with energy dispersive X-ray (EDX) were provided to characterize the prepared pyrophosphates. The vibrational spectra of the materials were studied in regard to the literature data and upon theoretical group analysis. The inhibiting effect of the two pyrophosphates has been performed using different electrochemical methods, potensiodynamic polarization (PDP) and electrochemical impedance spectroscopy (EIS). As a results, the inhibitors show a mixed-type behavior, in addition to a high corrosion protection with an inhibition efficiency, reach 95.3 % and 89.2 % of CoSrP2O7 and ZnSrP2O7 respectively at 10-3 M. Moreover, the charge transfer resistance (Rct) manifested a notable increase from an initial 34.7 Ω.cm−1 to 598.8 Ω.cm−1 and 224 Ω.cm−1 when CoSrP2O7 and ZnSrP2O7 were introduced respectively. indicating the creation of a protective layer on the surface metal. which was analyzed by SEM-EDX. As for, the thermodynamic parameters such as the entropy, enthalpy and energy of activation have been determined and discussed in the results.