The treatment of PPCPs wastewater was studied in a self-made new dynamic diaphragm system electrochemical reactor. The single-factor experiment was optimized using response surface methodology, and the optimum reaction conditions were as follows: electrolysis voltage 16.2V, electrode plate spacing 4.76 cm, NaCl concentration 0.08 mg/L. The experimental results show that the dynamic diaphragm system cathode and anode co-electrochemical method can effectively treat PPCPs wastewater. Under optimal conditions, the pollutant removal rate reaches 96.27%. The order of influence on the removal rate of PPCPs is DC voltage>electrolyte concentration>electrode plate spacing. The results provide an experimental basis for the electrochemical removal of PPCPs wastewater by the diaphragm system.