Schiff bases (SBs) have the fundamental characteristics of substances that are mostly eligible for testing as inhibitors of corrosion for various metal/electrolyte systems. Through their electron-rich centres, such as the > C = N– (imine) moiety, SBs adsorb and create a surface coating that mitigates corrosion. Because of its π-acceptor characteristics, the > C = N– (imine) moiety provides a strong bonding with the metallic ions. It's vital to note that SBs with polar substituents at the right locations can form chelates with the central metal ions; as a result, these SBs are anticipated to function better as corrosion inhibitors than SBs without substituents. Two distinct Schiff bases, NL1 and NL2, with naphthalene rings have been synthesised, and their structures have been confirmed by the use of 1H and 13C NMR spectrum methods. The anticorrosion potential of the NL1 and NL2 was further confirmed by quantum chemical calculations such as DFT studies and ESP diagrams. The corrosion inhibition potential of the NL1 and NL2 was investigated using the electrochemical method, demonstrating maximum corrosion inhibition efficiency up to 89.2% and 89.5%, respectively on mild steel in 1 M HCl media. The results are further supported by Scanning Electron microscopic (SEM) images and EDAX studies.