In this study, we fabricated an economical, non-toxic, and convenient magnetic nanocomposite of CuFe2O4 nanoparticles (NPs)/carbon quantum dots (CQDs) of citric acid via the co-precipitation method. Afterward, obtained magnetic nanocomposite was used as a nanocatalyst to reduce the ortho-nitroaniline (o-NA) and para-nitroaniline (p-NA) using a reducer agent of sodium borohydride (NaBH4). To investigate the functional groups, crystallite, structure, morphology, and nanoparticle size of the prepared nanocomposite, FT-IR, XRD, TEM, BET, and SEM were employed. The catalytic performance of the nanocatalyst was experimentally evaluated based on the ultraviolet-visible absorbance to assess the reduction of o-NA and p-NA with a reducing agent of NaBH4. The acquired outcomes illustrated that the prepared heterogeneous catalyst significantly enhanced the reduction of o-NA and p-NA substrates. By analyzing the absorption, the remarkable decrease at λmax = 415 nm for ortho-NA in 27 s with a constant rate (kapp) of 8.39 × 10− 2 s− 1 and a notable decline at λmax = 380 nm for para-NA in 8 s with a constant rate of 5.48 × 10− 1 s− 1 were obtained. The most highlighted result of this work was that the CuFe2O4@CQD nanocomposite fabricated from citric acid performed better than absolute CuFe2O4 NPs, since nanocomposite containing CQDs had a more significant impact than copper ferrite NPs.