In this work, we study the efficiency of N1, N3-dibenzyl-N1, N1, N3, N3-tetramethylpropane-1,3-diaminium chloride, as anticorrosion. This compound exhibits potential as a prospective remedy to stop the deterioration of carbon steel caused by corrosion in 1.0 M HCl. The synthesis of this compound is described in a comprehensive manner, and its composition is supported by a range of precise analytical approaches such as elemental analysis, and mass spectroscopy. Based on the findings of the investigation, the synthesized Gemini ionic liquid demonstrates a robust capacity to slow down the rate at which the metal corrodes. The Prepared compound was evaluation by electrochemical and morphology study. Our results revealed that elevating the inhibitor concentration led to an augmentation in inhibition effectiveness, reaching up to 94.8% at 200 ppm of the synthesized compound at 298 K. It is crucial to emphasize that the recently prepared Gemini ionic liquid is consistent with the Langmuir adsorption model and function as a mixed inhibitor, participating in the physio-chemisorption process of adsorption.