The perovskite-type lanthanum ferrite, LaFeO3, has been prepared by thermal decomposition of in situ obtained lanthanum ferrioxalate compound precursor, LaFe(C2O4)3·3H2O. The oxalate precursor was synthesized through the redox reaction between 1,2-ethanediol and nitrate ion and characterized by chemical analysis, infrared spectroscopy, and thermal analysis. LaFeO3 obtained after the calcination of the precursor for at least 550–800 °C/1 h have been investigated by X-ray diffraction (XRD), field emission scanning electron microscopy (FE-SEM), transmission electron microscopy (TEM), and high-resolution transmission electron microscopy (HRTEM). A boron-doped diamond electrode (BDD) modified with LaFeO3 ceramic powders at 550 °C (LaFeO3/BDD) by simple immersion was characterized by cyclic voltammetry and tested for the voltammetric and amperometric detection of capecitabine (CCB), which is a cytostatic drug considered as an emerging pollutant in water. The modified electrode exhibited a complex electrochemical behaviour by several redox systems in direct relation to the electrode potential range. The results obtained by cyclic voltammetry (CV), differential-pulsed voltammetry (DPV), and multiple-pulsed amperometry proved the electrocatalytic effect to capecitabine oxidation and reduction and allowed its electrochemical detection in alkaline aqueous solution.