Among different pollutants, organic dyes, phenolic compounds, and antibiotics are three types of hazardous contaminants that have become serious environmental issues. This work deals with the synthesis of new visible-light responsive CsM0.25W1.75O6 (M = Ni, Co, Mn, Cu) compounds with a solid-state reaction induced defect pyrochlore structure followed by crushing in a ball mill. The prepared materials were characterized using scanning electron microscopy, X-ray diffraction with Rietveld refinement, X-ray photo-electron spectroscopy, differential thermal analysis, and nitrogen adsorption-desorption measurements at low-temperature. The optimized CsNi0.25W1.75O6 (CsNiWO-2) compound was tested for its photocatalytic abatement efficient for several contaminants including methylene blue, phenol, as well as levofloxacin and isoniazid antibiotics. The influence of the various key aspects, such as photocatalyst dosage and hydrogen peroxide concentration, on the degradation efficiency of CsNiWO-2 was examined. The degradation efficiency of CsNiWO-2 (0.6 g L−1) towards methylene blue, phenol, levofloxacin, and isoniazid in the presence of H2O2 (0.06 mol L−1) was 81.4, 47.9, 84.6, and 37.4 %, respectively. Thus, the developed material demonstrates promising properties to degrade methylene blue and levofloxacin. Also, the mechanism and comprehensive schemes for the photooxidation of methylene blue and levofloxacin were elucidated over CsNiWO-2. The present research potentially contributes to designing efficient defect pyrochlores for wastewater treatment under visible light irradiation.