In this paper, the possibility of using ceftriaxone (CEFTR) active substance from expired cefort drug as corrosion inhibitor for nickel in acid solutions has been investigated. 0.5 M sulfuric acid and 1 M hydrochloric acid were used as corrosive media in experimental studies. The electrochemical behavior of ceftriaxone and its stability in test solutions have been examined by cyclic voltammetry. Further, the inhibitory effect has been studied by several methods: weight loss measurements, linear polarization and electrochemical impedance spectroscopy. As well, Tafel plots method was used in order to determine the kinetic parameters. Surface morphology of corroded samples has been characterized by scanning electron microscopy.