In this research, the performance of the electrocoagulation process in the removal of organic pollutants from the sewage of the Euphrates River has been investigated in a laboratory using common plate electrodes made of scrap metal chips in wastewater treatment. The process chamber in this research was a batch reactor in which four electrodes were installed as cathode and anode. The volume of raw wastewater treated in the tests was 750 ml. The method of conducting this research was that at first, by checking the fixed parameters using the control tests, the AL/AL electrode with a multi-pole arrangement with better performance in COD removal was selected and it was investigated in the subsequent tests. Independent parameters in this research were electrolysis time, mixing speed and current intensity. whose range was determined based on past studies. Using response surface method RSM and Minitab-18, it was used to design experiments according to specific operational parameters and obtain different mathematical correlations between variables. In the average values of the operating variables, the reaction in the electrocoagulation reactor was an endothermic reaction, spontaneous in nature and random disorder in the liquid-solid interaction, COD removal efficiency, actual electrode consumption, final pH value, final electrical conductivity value and final temperature value, final TDS value and energy consumption of this system are determined by its high efficiency depending on the coagulation process. The optimal values of operating variables, for removing 97% of COD, were (43.33 minutes) electrolysis time, (1.09 amps) electric current intensity and 50 (rpm) mixing speed. The actual values of electrode and energy consumption in these optimal values were (0.0335 grams) and 0.0719 (kWh/m3), respectively.