A novel ferrocene-based amide has been synthesized by condensation reaction and characterized by (1)H NMR and UV-vis spectroscopies. The electrochemical properties and anion recognition properties of the ferrocene-based amide were investigated by the CV and UV-vis techniques. An interesting phenomenon was revealed by CV: a second oxidative peak, and the first oxidative peak decreased. Therefore, an effective dihydrogen phosphate recognition sensor is expected from this compound in the future.