Pharmaceutical wastewater was treated by micro-electrolysis and Fenton process.The aim of this research was to optimize operating parameters in micro-electrolysis and Fenton process. Effectiveness of important process parameters such as mass ratio of iron to carbon, the initial pH, reaction time and H2O2 dosage on the performance of micro-electrolysis and Fenton process were investigated. The results show that the removal efficiency of pharmaceutical wastewater chemical oxygen demand (COD) could reach 37.3% at the optimal pH of 4 with the iron to carbon ratio of 1:1 after 80 min treatment. The operating conditions of Fenton process are 0.5% of H2O2 dosage, the pH value of 4 and the reaction time of 180 min. The pharmaceutical wastewater COD removal could reach 79.4%.