A facile sol-gel synthesis method was employed to synthesize dysprosium chromite (DyCrO3) nanoparticles (NPs), which were subsequently calcined at 750 ∘C to investigate their structural, optical, and photocatalytic properties. Rietveld refinement of powder X-ray diffraction patterns revealed a single-phase orthorhombic structure for the DyCrO3 NPs, exhibiting good crystallinity and belonging to the Pbnm space group. Furthermore, Field Emission Scanning Electron Microscopy and Transmission Electron Microscopy imaging revealed a promising morphology with an average particle size of 30 ± 7 nm. Optical assessments indicated an energy band gap of 2.72 eV, suggesting potential for solar light harvesting as a photocatalyst. Mott-Schottky plots confirmed the n-type semiconductor behavior of the DyCrO3 NPs, and valence band X-ray photoelectron spectroscopy analysis supported these findings. Electronic band structure calculations showed a substantial conduction band minimum and a positive valence band maximum, essential for promoting oxygen reduction and oxidation reactions, respectively, which are crucial for photocatalytic activity. Moreover, the synthesized DyCrO3 NPs demonstrated significant potential as efficient photocatalysts, effectively decomposing the antibiotic ciprofloxacin (CIP) under solar light. Notably, the DyCrO3 NPs achieved 83 % degradation of CIP within 240 min of solar irradiation. Similarly, under identical conditions, the DyCrO3 NPs photocatalyst showed promise in degrading 70 % of the colored organic pollutant methylene blue (MB). Interestingly, during the first 120 min, the degradation of CIP was approximately 25 % greater than that of MB. The ability of DyCrO3 NPs to efficiently degrade both colored and colorless pollutants highlights the catalyst’s inherent photocatalytic nature, rather than merely relying on dye-sensitization effects. Furthermore, the presence of DyCrO3 NPs reduced the activation energy for CIP degradation from 31.657 kJ mol−1 K−1 to 20.846 kJ mol−1 K−1, providing additional evidence of their true catalytic efficacy. Apparent quantum yield values of 40 % for CIP and 35 % for MB degradation further illustrate their superior solar energy harvesting ability. A comprehensive mechanism was developed to explain the impressive photocatalytic performance of the synthesized NPs, highlighting their potential in degrading pharmaceutical antibiotics.