Perovskite-type rare earth orthoferrite (ReFeO3) nanocrystalline were synthesized by using sol-gel citrate method and followed by calcination from oxalate salt Re2(C2O4)3, which composed of Nd (76.5 %), Pr (14.8 %), Dy (5.5 %) and Tb (3.2 %) recovered from discarded neodymium magnets (NdFeB) in hard-disk-drive waste. The synthesized materials were characterized by X-ray diffraction (XRD), field emission scanning electron microscopes (SEM), Brunauer-Emmett-Teller nitrogen adsorption and desorption (BET), Ultraviolet-visible diffuse reflection spectroscopy (UV-Vis DRS). The perovskite NdFeO3 was synthesized under the same conditions from an analytical grade pure salt to be used as a control material. Photocatalytic characteristics of both perovskite ReFeO3 and NdFeO3 were investigated through evaluation of methylene blue (MB) degradation under visible light. The degradation efficiency of MB by the ReFeO3 catalyst was higher than that by NdFeO3 after 3 h of illumination under visible light. The degradation efficiency could reach 99.2 % and the photocatalytic capacity remained after 5 cycles for ReFeO3 catalyst.