The current study describes synthesis of CdO Ag-doped CdO nanoparticles via a simple co-precipitation route and characterization of nanoparticles by SEM, XRD, EDX and FTIR techniques. The photocatalytic performance of CdO and Ag-doped CdO nanoparticles were evaluated by degradation of difenoconazole pesticide in the presence of sunlight considering the effect of pH, catalyst dosage, contact time, initial difenoconazole concentration and temperature. The degradation efficiencies of CdO and Ag-doped CdO were proficient at pH 4 and 6. The photodegradation abilities of CdO and Ag-doped CdO enhanced with catalytic dosage up to 0.06 g and 0.05 g with 42% and 54% removal of difenoconazole. The degradation capabilities of CdO and Ag-doped CdO increased with contact time by 43% and 65% removal of difenoconazole. The degradation of difenoconazole by CdO and Ag-doped CdO enhanced with initial pesticide concentration up to certain level but declined after the threshold value. The rate of degradation of difenoconazole by CdO decreased with temperature but enhanced by Ag-doped CdO with increase in temperature up to 50 °C and then declined with further temperature. This research emphasizes that doping of Ag in microstructure is an innovative strategy to enhance the photocatalytic efficiency of CdO nanoparticles.