Corrosion inhibition of Chryseobacterium Indologenes MUT.2 bacterial biopolymer was investigated in different biopolymer concentration (0.2–0.5 gl−1) as well as temperature ranging from 25 to 55 °C in 0.5 M HCl corrosive solution. Electrochemical studies were performed by Electrochemical Impedance Spectroscopy (EIS) and potentiodynamic polarization using Tafel extrapolation technique under different conditions. Results showed that increasing the biopolymer concentration enhanced the inhibition efficiency whereas increasing the temperature decreased the inhibition efficiency. Maximum inhibition efficiency of 58% was obtained in the presence of 0.5 gl−1 biopolymer at room temperature (25 °C). The biopolymer adsorption on metal surface obeyed Langmuir adsorption isotherm. Biopolymer acted as a mix inhibitor and physically adsorbed on metal surface. The biopolymer inhibitor deposition on metal surface has been indicated in Scanning Electron Microscope (SEM) images. Suitable mechanism was proposed for the inhibition process.