Bio-/environment-friendly cationic gemini surfactant, ethane-1,2-diyl bis(N,N-dimethyl-N-hexadecylammoniumacetoxy)dichloride, referred to as 16-E2-16, was synthesized and characterized. Corrosion inhibition effects of 16-E2-16 on mild steel (MS) surface in 1 M HCl solution at 30, 40, 50 and 60°C were evaluated using gravimetric analysis, potentiodynamic polarisation and electrochemical impedance spectroscopy measurements. The nature of the protective inhibitor film formed on the MS surface was analysed by SEM, EDAX and FT-IR, while TGA was used to assure the thermal behaviour and stability of the film at high temperature. The formation of [inhibitor-Fe 2? ] on the surface of MS was confirmed by UV-visible spectroscopy. The inhibition efficiency of the studied inhibitor increased with increasing concentration and solution temperature. The compound behaved as a mixed type inhibitor and acted by blocking the electrode surface by means of adsorption obeying the Langmuir adsorption isotherm. Surface active properties and corrosion inhibition effects of 16-E2-16 in the presence of inorganic (NaI) and organic (NaSal) salts were also investigated and are discussed. Density functional theory calculations have been carried out to correlate the efficiency of the compound with its intrinsic molecular parameters.