This paper studies the use of zinc oxide nanoparticles (ZnO-NPs) synthesized using an extract of Convolvulus arvensis leaf and expired ZnCl2, as efficient inhibitors of carbon steel corrosion in a 1 M HCl solution. The synthesized ZnO-NPs were characterized by Fourier-transform infrared (FTIR) and UV-Vis spectroscopy analysis. The corrosion inhibition of carbon steel in 1 M HCl was also investigated through potentiodynamic polarization, electrochemical impedance spectroscopy (EIS), and the determination of weight loss. The results show that the efficiency of the prevention increased when the concentration of ZnO-NPs was increased to 91%, and that the inhibition efficiency was still high (more than 89%) despite decreasing at high temperatures, acting as a mixed-type inhibitor. A sample of carbon steel with a protective layer of inhibitor on top was observed during immersion in 1 M HCl for 20 h; an increase in the charge transfer resistance (Rct) and stability of the inhibitor could be observed after 6 h. Adsorption isotherm models demonstrated that the inhibitor adsorption mechanism on the carbon steel surface followed Langmuir rather than Freundlich and Temkin behaviors. The thermodynamic parameters showed that the adsorption process is one of mixed, spontaneous, and exothermic adsorption. The results illustrate that the ZnO-NPs were a strong inhibitor of carbon steel corrosion in acid medium. The results of scanning electron microscopy (SEM) images showed that the ZnO-NPs formed a good protective film on the carbon steel surface.