Sol-gel auto-combustion route was used for the fabrication of lithium and dysprosium co-doped nickel ferrite (LNDFO). The composite of LNDFO with gCN (LNDFO@gCN) was prepared via ultra-sonication method. The synthesized samples were tested by photodegrading organic pollutants. Different characterization techniques were employed to examine the structure, morphology, elemental composition, and bandgap of prepared photocatalysts. The optical bandgap energy of LNFO, LNDFO, and LNDFO@gCN was 2.92 eV, 2.73 eV, and 2.64 eV, respectively. LNDFO@gCN had the lowest recombination rate of charged species and greater surface area, which makes it an efficient photocatalyst. The degradation shown by LNDFO@gCN for panadol, MB, and phenol was 90.04 %, 93 %, and 89.5 % respectively. EIS and Mott-Schottky analysis revealed that the charge transfer resistance of fabricated composite was less than bare and doped samples, and they were n-type semiconductor materials. As compared to all fabricated photocatalysts, LNDFO@gCN was most efficient photocatalyst due to its high degradation ability, easy formation, and higher charge separation rate.