The pumpkin leaf was extracted by the decoction method, and it was used as an eco-friendly, nontoxic inhibitor of copper in 0.5 M H 2 SO 4 corrosion media. To evaluate the composition and protective capacity of the pumpkin leaf extract, Fourier infrared spectroscopy, electrochemical testing, XPS, AFM, and SEM were employed. The results showed that the pumpkin leaf extract (PLE) is an effective cathode corrosion inhibitor, exhibiting exceptional protection for copper within a specific temperature range. The corrosion inhibition efficiency of the PLE against copper reached 89.98% when the concentration of the PLE reached 800 mg/L. Furthermore, when the temperature and soaking time increased, the corrosion protection efficiency of 800 mg/L PLE on copper consistently remained above 85%. Analysis of the morphology also indicated that the PLE possesses equally effective protection for copper at different temperatures. Furthermore, XPS analysis reveals that the PLE molecules are indeed adsorbed to form an adsorption film, which is consistent with Langmuir monolayer adsorption. Molecular dynamics simulations and quantum chemical calculations were conducted on the main components of the PLE.