Electrochemical oxidation of aniline in aqueous solution was investigated over a novel Ti/TiOxHy/Sb-SnO2 electrode prepared by the electrodeposition method. Scanning electron microscopy, X-ray diffraction, and electrochemical measurements were used to characterize its morphology, crystal structure, and electrochemical properties. Removal of aniline by the Ti/TiOxHy/Sb-SnO2 electrode was investigated by ultraviolet-Visible spectroscopy and chemical oxygen demand (COD) analysis under different conditions, including current densities, initial concentrations of aniline, pH values, concentrations of chloride ions, and types of reactor. It was found that a higher current density, a lower initial concentration of aniline, an acidic solution, the presence of chloride ions (0.2 wt% NaCl), and a three-dimensional (3D) reactor promoted the removal efficiency of aniline. Electrochemical degradation of aniline followed pseudo-first-order kinetics. The aniline (200 mL of 100 mg L−1) and COD removal efficiencies reached 100% and 73.5%, respectively, at a current density of 20 mA cm−2, pH of 7.0, and supporting electrolyte of 0.5 wt% Na2SO4 after 2 h electrolysis in a 3D reactor. These results show that aniline can be significantly removed on the Ti/TiOxHy/Sb-SnO2 electrode, which provides an efficient way for elimination of aniline from aqueous solution.