The challenge of corrosion posed as a result of acidic sittings is considered as a major industrial concern, wherein ionic liquids serve as crucial in addressing the corrosive impacts on metals. In this study, five selected cyclic ammonium based ionic liquids were synthesized; IL-1MPyrBr, IL-1MPipBr, IL-2PyBr, IL-3MPyBr and IL-4MPyBr and their chemical structures were characterized using a variety of spectroscopic techniques (FT-IR, IH-NMR, 13C-NMR, Elemental analysis and thermal gravimetric analysis (TGA). Their corrosion inhibition efficiency was studied on carbon steel in 1 M HCl via different concentrations at 298 K using chemical and electrochemical parameters (PDP and EIS). DFT quantum parameters were computed, and the noted results were in complete compatible with the experimental. The synthesized ILs recorded excellent inhibition on the carbon steel corrosion in acidic media with increasing efficiency by increasing the inhibitor concentrations from 20 to 100 ppm. Different cations in the synthesized ILs affect the anti-corrosion effect and IL-3MPyBr showed the highest inhibition (ηR); 96.12% using the lowest concentration. Kinetic and thermodynamic considerations were studied and illustrated.